compare_estimators.Rd
This function accepts a SysFrame
that is treated as a population. All possible
systematic samples for a given sampling interval are made and all estimators specified
in estimators
are used to estimate the variance for that sample. The variance estimates
for each sample are returned along with other information, e.g. the population means, variances
etc.
compare_estimators(sys_frame, a_vec, estimators)
sys_frame | A population from which to sample |
---|---|
a_vec | A vector of integers representing the sampling intervals desired for assessment |
estimators | A named list of constructed estimator functions |
A named list containing three dataframes
'est_frame'
- A dataframe of the variance estimates
'pop_frame'
- A dataframe of population parameters
'sys_frame'
- A dataframe of true systematic variances
The outputs of this function can be used to create mean squared errors, biases and other assessments of the estimators.