get_estimation_total: This function allows you to estimate total variable at...

get_estimation_totalR Documentation

This function allows you to estimate total variable at universe level.

Description

This function allows you to estimate total variable at universe level.

Usage

get_estimation_total(
  data = ech::toy_ech_2018,
  variable = NULL,
  by.x = NULL,
  by.y = NULL,
  domain = NULL,
  level = NULL,
  ids = NULL,
  numero = "numero",
  estrato = NULL,
  pesoano = "pesoano",
  name = "estimacion"
)

Arguments

data

data frame with ECH microdata

variable

data frame column to estimate

by.x

data frame column

by.y

data frame column

domain

subpopulation reference setted as character expresion of logical evaluation

level

is household ("h") or individual ("i").

ids

ids

numero

household id

estrato

strata

pesoano

weights

name

name for the estimation new column

Details

Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.

Value

table

See Also

Other estimation: get_estimation_gini(), get_estimation_gpg(), get_estimation_mean(), get_estimation_median(), get_estimation_qsr(), get_estimation_ratio(), set_design()

Examples


get_estimation_total(variable = "pobre06", by.x = "dpto", level = "h")


calcita/ech documentation built on March 2, 2024, 7:54 a.m.