check_efficient: Check for efficient proposals if necessary

View source: R/efficient.R

check_efficientR Documentation

Check for efficient proposals if necessary

Description

Takes a mix proportion vector (3 x float) and the efficient proposal mu and sigma. If efficient proposals are to be used (mix_proportion[3] > 0) then test the efficient proposal values to see whether they are not null and appropriate.

Usage

check_efficient(mix_proportion, efficient_mu, efficient_sig2)

Arguments

mix_proportion

A vector of floats between 0 and 1 and summing to 1 which give the proportion of particles to generate from the population level parameters, the individual random effects and the conditional parameters respectively

efficient_mu

The mu value for the efficient proposals

efficient_sig2

The sigma value for the efficient proposals

Value

nothing, stops operation on incorrect combination of parameters.


pmwg documentation built on May 29, 2024, 12:09 p.m.