calculate_c_error {spdesign} | R Documentation |
C-error
Description
Seeks to minimize the variance of the ratio of two parameters, for example, willingness-to-pay.
Usage
calculate_c_error(design_vcov, p, dudx, return_all)
Arguments
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'. |
Value
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
[Package spdesign version 0.0.4 Index]