nodk_cell_probs: Cell probabilities for the model without Don't Know

View source: R/internal-helpers.R

nodk_cell_probsR Documentation

Cell probabilities for the model without Don't Know

Description

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.

Usage

nodk_cell_probs(gg, gk, kk, g1)

Arguments

gg

proportion guess -> guess

gk

proportion guess -> know

kk

proportion know -> know

g1

probability a guess is correct (gamma)

Value

numeric vector of length 4, ordered x00, x01, x10, x11


guess documentation built on Aug. 3, 2026, 9:07 a.m.