search for: liklr

Displaying 1 result from an estimated 1 matches for "liklr".

Did you mean: likly
2016 Apr 15
0
Difficulty with LRSM Rasch analysis with eRm package in R.
...This is from these commands: rGrps = c(rep.int(1, nrow(X))) results.LRSM <- LRSM(X, mpoints = 1, groupvec = rGrps, se = TRUE) 2. I don't know how to make a design matrix myself. I tried making one with 1's along the diagonal, but it doesn't seem to work. I get an error: Error in likLR(X, W, mpoints, groupvec, model, st.err = se, sum0, etaStart) : Mismatch between number of rows (beta's) in W and number of items (categories) in X! This is from these commands: rGrps = c(rep.int(1, nrow(X))) W = matrix(data=NA, nrow=ncol(X), ncol=ncol(X)) for(i in 1:(ncol(X) - 8)) { vec...