dAllIndicators: Get the probabilities of all possible values of the hidden...

Description Usage Arguments Value

View source: R/Dirichlet_Process.r

Description

This is a generic function that will get the probabilities of all possible values of the hidden indicator variables. i.e. for the model structure:

theta|gamma_1 \sim H1(gamma_1)

z|gamma_2 \sim H2(gamma_2)

x|theta,z \sim F(theta_z)

get p(z|x,gamma_2,gamma_1) for all possible values of z. Where H2 is either CatDP, CatHDP, CatHDP2, DP, HDP, or HDP2.

Usage

1

Arguments

obj

A "CatDP", "CatHDP", "CatHDP2", "DP", "HDP", or a "HDP2" object used to select a method.

...

further arguments passed to or from other methods.

Value

a data.frame of indicator values and their corresponding probabilities.


bbricks documentation built on July 8, 2020, 7:29 p.m.