Learn R Programming

ashr (version 1.0.12)

comppostprob_mixlik: comppostprob_mixlik

Description

compute the posterior prob that each observation came from each component of the mixture m,output a k by n vector of probabilities computed by weighting the component densities by pi and then normalizing,when likelihood is an l-components normal mixture or student t mixture with mixture proportion pilik

Usage

comppostprob_mixlik(m, x, s, v, pilik)

Arguments

m
mixture distribution
x
an n vector
s
normal mixture of sd(s), n-by-l matrix
v
degree of freedom of error distribution
pilik
mixture proportion , n-by-l matrix