logLikNull: Calculate the null model likelihood

View source: R/logLik.rpm.R

logLikNullR Documentation

Calculate the null model likelihood

Description

Calculate the null model likelihood

Usage

logLikNull(object, ...)

## S3 method for class 'rpm'
logLikNull(object, ...)

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

Value

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

Methods (by class)

  • logLikNull(rpm): A method for ['rpm'] fits to compute the null likelihood (that is, relative to the constant only model).


rpm documentation built on May 29, 2024, 12:07 p.m.