Learn R Programming

SDAResources (version 0.1.1)

pitcount: pitcount data

Description

Fictional data from a fictional point-in-time (PIT) survey taken to estimate the number of persons experiencing homelessness.

Usage

data(pitcount)

Arguments

Format

This data frame contains the following columns:

strat:

stratum number (from 1 to 8)

division:

geographic division, used to form strata

density:

expected density of persons experiencing homelessness (character variable, with values High or Low)

popsize:

= \(N_h\), the number of areas in the population for stratum h

sampsize:

= \(n_h\), the number of areas in the sample for stratum h

areawt:

= \(N_h/n_h\), the sampling weight for the area

y:

number of persons experiencing unsheltered homelessness found in the area during the PIT count

References

Lohr (2021), Sampling: Design and Analysis, 3rd Edition. Boca Raton, FL: CRC Press.

Lu and Lohr (2021), R Companion for Sampling: Design and Analysis, 3rd Edition, 1st Edition. Boca Raton, FL: CRC Press.