| make_rho | R Documentation |
Returns a T x K matrix rho where rho[t, k] = P(Y_k = 1 | X = t).
make_rho(pi_)
pi_ |
Numeric scalar in (0.5, 1). Probability of the "likely" response.
Use |
The three-class structure is:
Class 1: pi_ on all 6 items (high responders).
Class 2: pi_ on items 1-3, 1 - pi_ on items 4-6 (mixed).
Class 3: 1 - pi_ on all 6 items (low responders).
A 3 x 6 numeric matrix.
# High separation: P(Y=1|class) = 0.9 for the "high" class
make_rho(0.9)
# Low separation
make_rho(0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.