vietnam {SDAResources} | R Documentation |
vietnam data
Description
Vietnam-service data from Stockford and Page (1984).
Usage
data(vietnam)
Format
This data frame contains the following columns:
- apc:
APC stratum. character variable with options "Yes," "No," "NotAvail"
- p2sample:
indicator variable for phase II sample
= 1 if in phase II sample
= 0 otherwise
- vietnam:
= 1 if service in Vietnam
= 0 if service not in Vietnam
= NA if not in phase II sample
- phase1wt:
weight for phase I sample
- phase2wt:
conditional weight for phase II sample
= (phase I sample size in stratum) / (phase II sample size in stratum)
= NA for observations not in phase 2 sample
- finalwt:
final weight for phase II sample
= phase1wt*phase2wt
= NA for observations not in phase II sample
- p1apcsize:
number of observations in the observation's APC stratum that are in the phase I sample (
n_h
)- p2apcsize:
number of observations in the observation's APC stratum that are in the phase II sample (
m_h
)
References
Stockford, D. D. and W. F. Page (1984). Double sampling and the misclassification of Vietnam service. In Proceedings of the Social Statistics Section, pp. 261–264. Alexandria, VA: American Statistical Association.
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.