vhat_strata: Estimated variance of a total estimation for a strata

View source: R/vhat.R

vhat_strataR Documentation

Estimated variance of a total estimation for a strata

Description

Estimated variance of a total estimation for a strata

Usage

vhat_strata(data, INDEX, weights)

Arguments

data

a data frame of individual data. In this version, data should be the complete dataset of the sample.

INDEX

a right hand formula whose result is a logical vector that indicates the observations for which the variance has to be estimated (see the examples below)

weights

character string with the name of the column of weights

Examples

str(d)

vhat_strata(d, INDEX = ~ xcat == "cat1", weights = "w")


gibonet/vhatbfs documentation built on Nov. 24, 2024, 3:25 p.m.