Description Usage Arguments Details Examples
Fills in "strategic" NA
values in a user-provided parameters matrix by (1) calculating
SDs for proportions using the binomial distribution; (2) calculating variances based on SDs; and (3)
setting within-cluster variances to 1/3 of the across-cluster variances (if not already specified).
1 | complete_parameters(parameters, n)
|
parameters |
Initial parameters matrix that may contain |
n |
The number of clusters |
For binary variables, uses binomial distribution to compute across-cluster standard deviation of proportion. Where there
are missing values, fills in variances given standard deviations and vice-versa. Where there are missing values in
within.var
, fills these in by defaulting to 1/3 of the corresponding across-cluster variance.
1 | complete_parameters(params, n=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.