R: Calculate the null model likelihood

logLikNull {ergm} | R Documentation

## Calculate the null model likelihood

### Description

Calculate the null model likelihood

### Usage

    logLikNull(object, ...)

    ## S3 method for class 'ergm'
    logLikNull(object, control = control.logLik.ergm(), ...)

### Arguments

`object` | a fitted model.
`...` | further arguments to lower-level functions. `logLikNull` computes, when possible the log-probability of the data under the null model (reference distribution).
`control` | A list of control parameters for algorithm tuning. Constructed using `control.logLik.ergm`.

### Value

`logLikNull` returns an object of type `logLik` if it is able to compute the null model probability, and `NA` otherwise.

### Methods (by class)

- `ergm`: A method for `ergm` fits; currently only implemented for binary ERGMs with dyad-independent sample-space constraints.

[Package ergm version 3.10.4 Index]