Learn R Programming

pairwise (version 0.6.1-0)

logLik.pers: S3 logLik for Object of class "pers"

Description

S3 logLik method to extract the log-likelihood for object of class"pers"

Usage

# S3 method for pers
logLik(object, sat = FALSE, p = FALSE, ...)

Arguments

object

object of class"pers"

sat

a "logical" with default set to sat=FALSE to return the Log-Likelihood of the data for the unrestricted modell based on parameters estimated with function pers. If set to sat=TRUE the Log-Likelihood of the saturated model is returned instead.

p

a "logical" with default set to p=FALSE to return the category propabilities for the empirical data.

...

not used jet.