assess {calidad} | R Documentation |
assess
assess the quality of mean estimation using the
methodology created by INE Chile, which considers sample size, degrees of freedom and
coeficient of variation.
assess(table, publish = FALSE, scheme = c("chile", "eclac"), ...)
table |
|
publish |
|
scheme |
string variable, default scheme is "chile" which refers to the evaluation protocol proposed by INE Chile. the alternative is "eclac" to use the eclac protocol |
... |
the list of cepal parameters. The complete list of parameters is 1. General Parameters
2. INE parameters
3. CEPAL parameters
|
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
dc <- survey::svydesign(ids = ~varunit, strata = ~varstrat, data = epf_personas, weights = ~fe)
assess(create_mean("gastot_hd", domains = "zona+sexo", design = dc))