
Compute the Mean Conditional Probability of Correct Classification, by True Outcome Across all Subjects
mean_pistarjj_compute.Rd
Compute the Mean Conditional Probability of Correct Classification, by True Outcome Across all Subjects
Arguments
- pistar_matrix
A numeric matrix of conditional probabilities obtained from the internal function
pistar_compute_for_chains
. Rows of the matrix correspond to each subject and to each observed outcome category. Columns of the matrix correspond to each true, latent outcome category.- j
An integer value representing the true outcome category to compute the average conditional probability of correct classification for.
j
can take on values1
and2
.- sample_size
An integer value specifying the number of observations in the sample.