tcl_hessian | R Documentation |
Uses function hessian()
from numDeriv package to compute (approximate numerically) Hessian matrix
evaluated at arbitrary values of item easiness parameters.
tcl_hessian(X, eta, W, model = "RM")
X |
data matrix. |
eta |
numeric vector of item easiness parameters. |
W |
design matrix. |
model |
RM, PCM, RSM, LLTM. |
Hessian matrix evaluated at eta
Gilbert, P., Gilbert, M. P., & Varadhan, R. (2016). numDeriv: Accurate Numerical Derivatives. R package version 2016.8-1.1. url: https://CRAN.R-project.org/package=numDeriv
## Not run:
# Rasch model with beta_1 restricted to 0
y <- eRm::raschdat1
res <- eRm::RM(X = y, sum0 = FALSE)
mat <- tcl_hessian(X = y, eta = res$etapar, model = "RM")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.