Learn R Programming

batchmix (version 2.2.1)

checkProposalWindows: Check proposal windows

Description

Checks the proposal windows are acceptable.

Usage

checkProposalWindows(
  mu_proposal_window,
  cov_proposal_window,
  m_proposal_window,
  S_proposal_window,
  t_df_proposal_window,
  verbose = TRUE
)

Value

No return value, called for side effects

Arguments

mu_proposal_window

The proposal window for the cluster mean proposal kernel. The proposal density is a Gaussian distribution, the window is the variance.

cov_proposal_window

The proposal window for the cluster covariance proposal kernel. The proposal density is a Wishart distribution, this argument is the reciprocal of the degree of freedom.

m_proposal_window

The proposal window for the batch mean proposal kernel. The proposal density is a Gaussian distribution, the window is the variance.

S_proposal_window

The proposal window for the batch standard deviation proposal kernel. The proposal density is a Gamma distribution, this argument is the reciprocal of the rate.

t_df_proposal_window

The proposal window for the degrees of freedom for the multivariate t distribution (not used if type is not 'MVT'). The proposal density is a Gamma distribution, this argument is the reciprocal of the rate.

verbose

Logical indicating if a warning should be printed if proposal windows are outside their expected scale.

Examples

Run this code
checkProposalWindows(0.1, 0.2, 0.3, 0.1, 0.4, 0.3)

Run the code above in your browser using DataLab