check_efficient {pmwg} | R 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.
[Package pmwg version 0.2.7 Index]