Learn R Programming

multinomialLogitMix (version 1.1)

mala_proposal: Proposal mechanism of the MALA step.

Description

Only the mala_proposal_cpp function is used in the package - which is written as an RCPP function.

Usage

mala_proposal(y, X, b, z, tau, A = FALSE, pr, nu2)

Value

theta

theta values

b

coeeficients

acceptance

log-likelihood.

gradient

log-likelihood.

Arguments

y

count data

X

design matrix

b

coefficients (array

z

allocation vector

tau

prior variance

A

A

pr

mixing proportions

nu2

parameter nu2

Author

Panagiotis Papastamoulis