EC_DHSwts: Generate Vector of Weighted Number of Household Members

Description Usage Arguments Details Value Note Author(s) References See Also

Description

In order to use a nationally-representative population for cluster analysis, 'EconomicClusters' uses weighted k-medoids clustering from the package 'WeightedCluster'. If employed for analysis of Demographic and Health Surveys (DHS) data, we recommend using the weights used by the DHS to calculate the wealth index[1]. 'EC_DHSwts' generates a vector of weighted number of household members using methods described in the DHS protocol[1].

Usage

1
EC_DHSwts(X, dejure, defacto, HHwt)

Arguments

X

a data frame of all asset variables to be considered for variable selection coded as factors with column names specified

dejure

the variable specified by the DHS to describe number of dejure household members (see the DHS recode manual for your country for details)

defacto

the variable specified by the DHS to describe number of defacto household members (see the DHS recode manual for your country for details)

HHwt

DHS household weight variable (see the DHS recode manual for your country for details)

Details

As per DHS protocols for generation of the wealth index[1], 'EC_DHSwts' multiplies the household sampling weight by the number of dejure household members (or the number of defacto household members if number of dejure members = 0) and divides the result by 1,000,000.

Value

A data frame with Column 1 containing weighted number of household members and Columns 2 through n containing all asset variables to be considered for variable selection

Note

'EconomicClusters' can be used with other nationally representative household-level surveys that ask about assets. Weights appropriate to the given survey should be applied.

Author(s)

Lauren Eyler economic.clusters@gmail.com

References

1. Rutstein SO. Steps to Constructing the New DHS Wealth Index. ICF International: Rockville, Maryland, http://dhsprogram.com/programming/wealth%20index/Steps_to_constructing_the_new_DHS_Wealth_Index.pdf

See Also

EC_vars, EC_time, EconomicClusters, HH_survey, assets


Lauren-Eyler/ECforshiny documentation built on May 8, 2019, 8:52 p.m.