sugsnewclustMarg: Computes the marginal probability of an observation belonging...

Description Usage Arguments Value

Description

Computes the marginal probability of an observation belonging to a currently unoccupied cluster.

Usage

1
sugsnewclustMarg(x, i, D, phi, betaHat, mu_0, lambda_0, nu_0, S_0, intfeatures)

Arguments

x

The observation currently underconsideration.

i

The current iteration state of the algorithm.

D

The number of variable in the data matrix.

phi

The probability weights of beteHat.

betaHat

The grid of concentration parameters.

mu_0

The prior mean.

lambda_0

The prior mean variance.

nu_0

The prior degrees of freedom.

S_0

The prior scale vector.

intfeatures

A binary vector indicating whether features are irrelevant (0) or relevant (1).

Value

The unnormalised probability of belong to any of the currently unoccupied clusters.


ococrook/sugsvarsel documentation built on May 27, 2019, 12:12 p.m.