Compute MAP estimates of latent traits given LHMM parameters
compute_theta(int_seqs, para_a, para_b, para_alpha, para_beta, para_P1, n_pts)a vector of length n. Estimated latent traits.
a list of n action sequences where actions are coded as integers 0, ..., N-1
K by K-1 matrix. discrimination parameters of state transition probability matrix
K by K-1 matrix. location parameters of state transition probability matrix
K by N-1 matrix. discrimination parameters of state-action (emission) probability matrix
K by N-1 matrix. location parameters of state-action (emission) probability matrix
a vector of length K-1. parameters of initial state probability vector
number of quadrature points