evaluate_tot: Evaluate the quality of total estimations

Description Usage Arguments Value Examples

Description

evaluate_tot evaluates the quality of total estimations using the methodology created by INE Chile, which considers sample size, degrees of freedom and the coefficient of variation.

Usage

1
evaluate_tot(tabulado, condicion = NULL, publicar = FALSE)

Arguments

tabulado

dataframe created by crear_insumos_tot

condicion

character with the complete condition to filter the dataframe

publicar

boolean indicating if the evaluation of the complete table must be added to the output. If it is TRUE, the function adds a new column to the dataframe

Value

dataframe with all the columns included in the input table, plus a new column containing a label indicating the evaluation of each estimation: reliable, bit reliable or unreliable

Examples

1
2
3
library(survey)
dc <- svydesign(ids = ~varunit, strata = ~varstrat, data = epf_personas, weights = ~fe)
evaluate_tot(create_tot(ocupado, dominios = zona+sexo, disenio = dc))

Klauslehmann/calidad documentation built on May 1, 2021, 6:35 a.m.