View source: R/efficiency-criteria.R
calculate_c_error | R Documentation |
Seeks to minimize the variance of the ratio of two parameters, for example, willingness-to-pay.
calculate_c_error(design_vcov, p, dudx, return_all)
design_vcov |
A variance-covariance matrix returned by
|
p |
Prior values |
dudx |
A character string giving the name of the prior in the denominator. Must be specified when optimizing for 'c-error' |
return_all |
If 'TRUE' return a K or K-1 vector with parameter specific error measures. Default is 'FALSE'. |
A vector giving the variance of the ratio for each K-1 parameter or a single number with the sum of the variances used for optimization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.