Constructor for the variance estimator assuming simple random sampling.

VarSRS(fpc = FALSE, diagnostic = FALSE)

Arguments

fpc

If TRUE, finite population correction factor will be applied.

diagnostic

If TRUE, diagnostic information, i.e. a VarOut, object will be returned.

Value

Returns a function with the specified arguments that can be called on a SysFrame.

Examples

v_srs <- VarSRS(fpc=TRUE) v_srs(hex_frame)
#> Error in var_srs(sys_frame, fpc = fpc, diagnostic = diagnostic): object 'hex_frame' not found