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

View source: R/pairwise_functions.R

logLik.persR Documentation

S3 logLik for Object of class "pers"

Description

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

Usage

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

Arguments

object

object of class pairwise::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 pairwise::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.

Value

an object of class 'logik', containing the likelihood an degrees of freedom


exhaustiveRasch documentation built on April 3, 2025, 6:18 p.m.