Learn R Programming

rpf (version 0.3)

rpf.logLik: Log likelihood of item parameters with respect to Bayesian prior

Description

This function calculates the log likelihood of the item parameters with respect to the item model's Bayesian prior. This function is typically used by model fitting algorithms.

Arguments

m
an item model
param
item parameters

Value

  • a log likelihood (not -2 * log likelihood)

Examples

Run this code
i1 <- rpf.drm()
i1.p <- rpf.rparam(i1)
rpf.logLik(i1, c(i1.p))

Run the code above in your browser using DataLab