compare_estimators: Compare variance estimators via simulation

Description Usage Arguments Details Value

View source: R/assessment.R

Description

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.

Usage

1
compare_estimators(sys_frame, a_vec, estimators)

Arguments

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

Details

The outputs of this function can be used to create mean squared errors, biases and other assessments of the estimators.

Value

A named list containing three dataframes


brycefrank/spsys documentation built on Aug. 1, 2020, 12:21 a.m.