logLik.metaSDTreg {metaSDTreg} | R 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)
[Package metaSDTreg version 0.2.2 Index]