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)
A variance-covariance matrix returned by
derive_vcov
or returned by an estimation routine. The matrix
should be symmetrical and K-by-K
Prior values
A character string giving the name of the prior in the denominator. Must be specified when optimizing for 'c-error'
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