logLik.metaSDTreg: Log-likelihood of metaSDTreg

View source: R/metaSDTreg.r

logLik.metaSDTregR Documentation

Log-likelihood of metaSDTreg

Description

Extract the log-likelihood from a metaSDTreg object.

Usage

## S3 method for class 'metaSDTreg'
logLik(object, ...)

Arguments

object

Object of class 'metaSDTreg'.

...

For further methods.

Value

Numeric, the likelihood at the maximum found by the optimisation procedure.

Examples

## Declare simulated data as metaSDTdata
metadata <- metaSDTdata(simMetaData, type1='resp', type2='conf', signal='S')

## Fit model to subset of data
fit <- metaSDTreg(A ~ signal,
            data=metadata,
            subset = m <= 20)
logLik(fit)


metaSDTreg documentation built on March 31, 2023, 10:09 p.m.