check_efficient: Check for efficient proposals if necessary

Description Usage Arguments Value

View source: R/efficient.R

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

1
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 Feb. 17, 2021, 9:07 a.m.