View source: R/internal-helpers.R
| nodk_cell_probs | R Documentation |
The multinomial cell probabilities implied by the latent class transition parameters. This is the single definition of the model; every likelihood, expected-count and goodness-of-fit routine calls it rather than restating the algebra.
Latent classes are named pre-state then post-state over guess (g) and know (k), so 'gk' is guess at the pretest and know at the posttest. Knowledge is assumed not to be lost over the process, so the know-to-guess class is identically zero and does not appear.
nodk_cell_probs(gg, gk, kk, g1)
gg |
proportion guess -> guess |
gk |
proportion guess -> know |
kk |
proportion know -> know |
g1 |
probability a guess is correct (gamma) |
numeric vector of length 4, ordered x00, x01, x10, x11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.