Comparing the usual and model based estimates of variance for the ratio estimator


Consider a population where the ratio estimator makes sense. Assuming simple random sampling without replacement we have the usual estimate of its variance. In class I also described the model based approach to the ratio estimate and gave an estimate of variance based on the model.

For R samples the function compratiolp calculates the ratio estimate, its absolute error and the two estimates of variance. For each sample it also calculates the sample mean of the x values. The output is a R by five matrix where each row contains the ratio estimate, its absolute error, the usual estimate of variance, the model based estimate of variance and the sample mean of the x values. The matrix has been ordered so that the sample with the smallest sample mean of the x values is in the first row. The second row contains the results for the second smallest sample mean of the x values and so on.

External Data Entry

Enter a Dataset URL :