metaSDTreg (version 0.2.1)

logLik.metaSDTreg: Log-likelihood of metaSDTreg

Description

Extract the log-likelihood from a metaSDTreg object.

Usage

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

Value

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

Arguments

object

Object of class 'metaSDTreg'.

...

For further methods.

Examples

Run this code
## 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)

Run the code above in your browser using DataLab