comp_postprob: comp_postprob

View source: R/mix.R

comp_postprobR Documentation

comp_postprob

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

Usage

comp_postprob(m, data)

Arguments

m

mixture distribution with k components

data

details depend on the model


stephens999/ashr documentation built on May 16, 2024, 3:10 a.m.