Compute confidence intervals for the ratio (theta1/theta0) of two parameters based on point estimates and confidence intervals for the two parameters, theta1 and theta0.
MOVERR(theta0, ci0, theta1, ci1, alternative ="two.sided")
Arguments
theta0: a single numeric vale, the point estimate for the parameter to appear in the denominator
ci0: vector with two numeric values, the lower and upper confidence limits for the parameter to appear in the denominator
theta1: a single numeric vale, the point estimate for the parameter to appear in the numerator
ci1: vector with two numeric values, the lower and upper confidence limits for the parameter to appear in the numerator
alternative: a character string, "two.sided" for two-sided intervals, "less" for upper limits, "greater" for lower limits only
Details
This function implements Eq. (9) in Donner and Zou (2012), for computing confidence intervals for a ratio of two parameters, when their estimators are uncorrelated.
Returns
a list with elements - conf.int: numeric, the lower and upper confidence limits for the ratio
estimate: the point estimate for the ratio
and the input estimates and confidence limits
References
Donner and Zou (2012): Closed-form confidence intervals for functions of the normal mean and standard deviation. Statistical Methods in Medical Research 21(4):347-359.