Description Usage Arguments Value Examples
Simulate Ordinal Response Choices from Log Odds
1 | eta2resp(eta, thresh)
|
eta |
Predicted response tendency or tendencies on log odds scale. |
thresh |
Cut-points (thresholds). |
A vector of the same length as eta
with simulated
integer response values, one for each eta
value.
1 2 3 4 5 6 7 8 9 10 11 | # N=10 with eta = 0 and 6 point scale from N&E
eta2resp(rep(0, 10), clmm_maximal$alpha)
# N=10 with eta = 0 and 7 point scale
eta2resp(rep(0, 10), alpha_6_to_7(clmm_maximal$alpha))
# N=10 with eta = 4 and 6 point scale from N&E
eta2resp(rep(4, 10), clmm_maximal$alpha)
# N=10 with eta = 4 and 7 point scale
eta2resp(rep(4, 10), alpha_6_to_7(clmm_maximal$alpha))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.