| fpcdat {ReGenesees} | R Documentation |
A small dataset mimicking sample data selected with a 2-stage, stratified, cluster sampling without replacement. Allows to run R code contained in the ‘Examples’ section of the ReGenesees package help pages.
data(fpcdat)
A data frame with 28 observations on the following 12 variables.
psuIdentifier of the primary sampling units, numeric
ssuIdentifier of the second stage sampling units, numeric
stratumStratification Variable, a factor with 5 levels: S.1, S.2, S.3, S.4, S.5
srStrata type, integer with values 0 (NSR strata) and 1 (SR strata)
fpc1First stage finite population corrections, given as population sizes (in terms of psu clusters) inside strata, numeric
fpc2Second stage finite population corrections, given as population sizes (in terms of ssu clusters) inside the corresponding sampled psu, numeric
xA numeric variable
yA numeric variable
dom1A variable defining unplanned estimation domains, factor with 3 levels: A, B, C
dom2A variable defining unplanned estimation domains, factor with 6 levels: a, b, c, d, e, f
wDirect weights, numeric
zA numeric variable
pl.domainA variable defining planned estimation domains, factor with 3 levels: pd.1, pd.2, pd.3
Though very small, the fpcdat dataset concentrates a lot of interesting features. The sampling design is a complex one, with both self-representing (SR) and not-self-representing (NSR) strata. Sampling fractions are deliberately not negligible, in order to stress the effects of finite population corrections on variance estimation. Moreover, being the observations so few, performing computations on the fpcdat dataset allows to check and understand easily all the effects of setting/changing the global variance estimation options of the ReGenesees package (see e.g. ReGenesees.options).
ReGenesees.options for setting/changing variance estimation options.
data(fpcdat) head(fpcdat) str(fpcdat)