View source: R/efficiency-criteria.R
calculate_s_error | R Documentation |
Calculates a "lower bound" sample size to obtain theoretically significant parameter estimates under the assumption that the priors are correct.
calculate_s_error(design_vcov, p, return_all, significance)
design_vcov |
A variance-covariance matrix returned by
|
p |
Prior values |
return_all |
If 'TRUE' return a K or K-1 vector with parameter specific error measures. Default is 'FALSE'. |
significance |
A t-value corresponding to the desired level of significance. The default is significance at the 5 t-value of 1.96. |
A vector giving the "minimum" sample size for each parameter or a single number with the smallest sample size needed for all parameters to be theoretically significant.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.