sur_se: Calculate the standard error

View source: R/sur_uncertainty.R

sur_seR Documentation

Calculate the standard error

Description

Calculate the standard error

Usage

sur_se(v, input_type = "var", svyrep_attributes, sv, ids, st)

Arguments

v

either a vector of data or a vcov matrix

input_type

Character. One of 'var' or 'x'. Flags what v represents (x for vector of data) or var for an already computed vcov matrix (usually from sur_var)

svyrep_attributes

list. Containing arguments passed to sur_var when computing the variance from a replicate weight design

sv

data.table. Survey vars data.table

ids

numeric. vector of indices to operate on

st

character. survey type


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