Learn R Programming

bpgmm (version 1.0.5)

evaluatePriorLambda: evaluatePriorLambda

Description

evaluate prior value for parameter Lambda

Usage

evaluatePriorLambda(p, m, alpha2, qVec, psy, lambda, constraint)

Arguments

p

the number of features

m

the number of clusters

alpha2

hyper parameter

qVec

the vector of the number of factors in each clusters

psy

parameter

lambda

parameter

constraint

the pgmm constraint, a vector of length three with binary entry. For example, c(1,1,1) means the fully constraint model

Value

evaluated prior value for parameter Lambda