mean_pistarjj_compute {COMBO}R Documentation

Compute the Mean Conditional Probability of Correct Classification, by True Outcome Across all Subjects

Description

Compute the Mean Conditional Probability of Correct Classification, by True Outcome Across all Subjects

Usage

mean_pistarjj_compute(pistar_matrix, j, sample_size)

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 values 1 and 2.

sample_size

An integer value specifying the number of observations in the sample.

Value

mean_pistarjj_compute returns a numeric value equal to the average conditional probability P(Y^* = j | Y = j, Z) across all subjects.


[Package COMBO version 1.0.0 Index]