Description Usage Arguments Details Value Examples
evaluate_prop
evaluates the quality ratio estimations
using the methodology created by INE Chile, which considers sample size, degrees of freedom, standard error and
the coefficient of variation.
1 | evaluate_prop(tabulado, condicion = NULL, publicar = FALSE)
|
tabulado |
|
condicion |
|
publicar |
|
It is evaluated according to the standard error or the coefficient of variation, based on the value of the estimation that its receives as inputs. For estimations < 1 evaluates by standar error & for estimations > 1 evaluates by coefficient of variation. Evaluates each estimation per row independently
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
1 2 3 4 5 6 7 | library(survey)
library(dplyr)
epf <- mutate(epf_personas, gasto_zona1 = dplyr::if_else(zona == 1, gastot_hd, 0)) %>%
group_by(folio) %>%
slice(1)
dc <- svydesign(ids = ~varunit, strata = ~varstrat, data = epf, weights = ~fe)
evaluate_prop(create_prop(var = gasto_zona1, denominador = gastot_hd, dominios = zona+sexo, disenio = dc))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.