mismatch: Computes the mismatch of the posterior probabilities...

View source: R/mismatch.R

mismatchR Documentation

Computes the mismatch of the posterior probabilities (mismatch=actual-estimated)

Description

Computes the mismatch of the posterior probabilities (mismatch=actual-estimated)

Usage

mismatch(p, pi)

Arguments

p

is the posterior probabilities of assignment of dimensions, K columns and N rows

pi

is the estimated proportion of class membership of length K

Value

The mismatch of posterior probabilities

Examples

## Not run: mismatch(p, pi)

hlennon/LCTMtools documentation built on Dec. 6, 2022, 3:04 a.m.