R/pder2.grm.R

Defines functions pder2.grm

# p'' = a*[1 - exp(a*(thet - b.ku))]*q.ku*pder1.ku - a*[1 - exp(a*(thet - b.kl))]*q.kl*pder1.kl

pder2.grm <-
function(theta, params){
  
# Call the appropriate c-function:
  pder2 <- .Call("pder2grm", theta, params)
  
# Matrix of (n_ppl * n_cat) x n_it:
  return(pder2)
     
} # END pder2.grm FUNCTION

Try the catIrt package in your browser

Any scripts or data that you put into this service are public.

catIrt documentation built on May 28, 2022, 1:09 a.m.