Learn R Programming

reweight (version 1.2.1)

pumswgt: Household Distribution of Tenure and Household Size From PUMS

Description

This data gives the joint and marginal distributions of Tenure (2 levels) and Household Size (5 levels) in Florida from US Census data.

Usage

data(pumswgt)

Arguments

Format

A list with 4 components:
ori
A data frame with 10 observations on the following 2 variables.
tenure
Factor Tenure with two levels: 1=Owner, 2=Renter
hhsize
Factor Household Size with five levels: 1=1 Person, 2=2 Person,3=3 Person,4=4 Person,5=5+ Person
mar
A vector of marginal counts with the following 7 values.
ten1
Counts of owned households (Tenure)
ten2
Counts of rented households (Tenure)
np1
Counts of 1 person households (Household Size)
np2
Counts of 2 person households (Household Size)
np3
Counts of 3 person households (Household Size)
np4
Counts of 4 person households (Household Size)
np5
Counts of 5 person households (Household Size)
raw
Raw counts of households in each factor level combination.
wgt
Original weights of households in each factor level combination

Source

The data is downloaded from two data sources in Census website http://dataferrett.census.gov:
  • ACS (American Community Survey) PUMS (Public Use Micro Sample) 2004.
  • SF1 (Summary File 1) 2000.

Details

The ori, raw, and wgt components are from US Census ACS (American Community Survey) PUMS (Public Use Micro Sample) 2004 data set containing two demographic factors: Tenure (ten) and Household Size (np), along with a weight variable wgtp, for the state Florida. They are further collapsed using the R function aggregate so that each factor combination in ori is unique.

The mar component gives the marginal distribution of Tenure (2 levels) and Household Size (5 levels) from US Census SF1 (Summary File 1) 2000 data containing table H4 (Tenure) and H13 (Household Size) for the state Florida.

References

Feiming Chen (2006) A Heuristic Method for Weighting Survey Respondents. JSM 2006 Proceedings.

See Also

reweight

Examples

Run this code
data(pumswgt)

Run the code above in your browser using DataLab