logLikNull: Calculate the null model likelihood

View source: R/logLik.ergm.R

logLikNullR Documentation

Calculate the null model likelihood


Calculate the null model likelihood


logLikNull(object, ...)

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



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).


A list of control parameters for algorithm tuning, typically constructed with control.logLik.ergm(). Its documentation gives the the list of recognized control parameters and their meaning. The more generic utility snctrl() (StatNet ConTRoL) also provides argument completion for the available control functions and limited argument name checking.


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

Methods (by class)

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

ergm documentation built on May 31, 2023, 8:04 p.m.