5.3 Estimation of ratios of population means
Suppose we know the population mean of an auxiliary variable , and it is associated with the variable of interest, . To estimate the population means of the target variable , intuitively, we could first estimate the ratio of their population means, $R_{y,x} $ and multiply it to , such that , where the subscript “” denotes “Ratios”, see (Wu and Thompson 2020). In this chapter, we demonstrate how to estimate the ratio between the population means of two variables. We created a variable , which is the square of the self-reported height (in meters). The estimate of the ratio between the population mean of and that of is computed as
where is the survey weight and is the set of sampled units.
R
svyratio(numerator = ~HWT_WGHT_KG_TRM, denominator = ~HWT_DHT_M_TRM_sq,
design = CLSA.design )
SAS
PROC SURVEYMEANS data = CLSAData ratio;
VAR HWT_WGHT_KG_TRM HWT_DHT_M_TRM_sq;
RATIO HWT_WGHT_KG_TRM / HWT_DHT_M_TRM_sq ;
STRATA GEOSTRAT_TRM;
WEIGHT WGHTS_INFLATION_TRM;
RUN;
SPSS
Click “Analyze” “Complex Samples” “Ratios…” Browse and select the survey design file, “” Click “” and enter variables “” and “” to the the “Numerators” and “Denominator” panels, respectively Click “Statistics…” Select “Standard error” Click “Continue” Click “OK”.
Stata
svy linearized : ratio (HWT_WGHT_KG_TRM / HWT_DHT_M_TRM_sq)
Estimate | R | SAS | SPSS | Stata |
---|---|---|---|---|
Estimate | 27.6076 | 27.6076 | 27.6076 | 27.6076 |
SE | 0.3177 | 0.3177 | 0.3177 | 0.3177 |