R/coP_nrm.R

Defines functions coP_nrm

coP_nrm <-
function(pitemNRM,Km)
{ # internal function to compute the P´s for NRM

  LAM <- matrix(pitemNRM,nrow=2,byrow=T)
  
  Z <- Km %*% LAM
  ez <- exp(Z)
  ezrs <- rowSums(ez)        
  ZQs <- ez / ezrs
  
  ZQs
}

Try the mcIRT package in your browser

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

mcIRT documentation built on May 29, 2017, 9:33 p.m.