surdes_var: Calculate the variance/covariance matrix for a survey...

View source: R/sur_uncertainty.R

surdes_varR Documentation

Calculate the variance/covariance matrix for a survey statistic (normal survey)

Description

Calculate the variance/covariance matrix for a survey statistic (normal survey)

Usage

surdes_var(x, type = "mean", ids, sv)

Arguments

x

matrix of data

type

character. One of 'mean' or 'total' depending on the scale of statistic

ids

numeric. vector of indices to operate on

sv

data.table. Survey vars data.table


dcaseykc/dtsurvey documentation built on March 9, 2024, 1:09 p.m.