Rdocumentation
powered by
Learn R Programming
sampling (version 2.10)
Survey Sampling
Description
Functions to draw random samples using different sampling schemes are available. Functions are also provided to obtain (generalized) calibration weights, different estimators, as well some variance estimators.
Copy Link
Link to current version
Version
Version
2.10
2.9
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.1
2.0
0.45
0.41
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
Install
install.packages('sampling')
Monthly Downloads
10,469
Version
2.10
License
GPL (>= 2)
Maintainer
Alina Matei
Last Published
October 29th, 2023
Functions in sampling (2.10)
Search all functions
UPopips
Order pips sampling
UPsystematicpi2
Joint inclusion probabilities for systematic sampling
checkcalibration
Check calibration
balancedcluster
Balanced cluster
UPtillepi2
Joint inclusion probabilties for Tille sampling
UPtille
Tille sampling
balancedstratification
Balanced stratification
cleanstrata
Clean strata
gencalib
g-weights of the generalized calibration estimator
cluster
Cluster sampling
fastflightcube
Fast flight phase for the cube method
inclusionprobabilities
Inclusion probabilities
calib
g-weights of the calibration estimator
belgianmunicipalities
The Belgian municipalities population
postest
Poststratified estimator
balancedtwostage
Balanced two-stage sampling
landingcube
Landing phase for the cube method
disjunctive
Disjunctive combination
inclusionprobastrata
Inclusion probabilities for a stratified design
calibev
Calibration estimator and its variance estimation
mstage
Multistage sampling
rhg
Response homogeneity groups
vartaylor_ratio
Taylor-series linearization variance estimation of a ratio
regest_strata
Regression estimator for a stratified design
ratioest_strata
Ratio estimator for a stratified design
regest
Regression estimator
getdata
Get data
rhg_strata
Response homogeneity groups for a stratified sampling
rec99
The 1999 census data
strata
Stratified sampling
sampling-internal
Internal sampling Functions
swissmunicipalities
The Swiss municipalities population
samplecube
Sample cube method
srswr
Simple random sampling with replacement
srswor1
Selection-rejection method
rmodel
Response probability using logistic regression
writesample
All possible samples of fixed size
poststrata
Postratification
ratioest
Ratio estimator
varest
Variance estimation using the Deville's method
varHT
Variance estimators of the Horvitz-Thompson estimator
srswor
Simple random sampling without replacement
MU284
The MU284 population
HTestimator
The Horvitz-Thompson estimator
UPpivotal
Pivotal sampling
UPmultinomial
Multinomial sampling
HTstrata
The Horvitz-Thompson estimator for a stratified design
UPmidzuno
Midzuno sampling
UPmaxentropy
Maximum entropy sampling
Hajekstrata
The Hajek estimator for a stratified design
UPminimalsupport
Minimal support sampling
UPpoisson
Poisson sampling
UPsystematic
Systematic sampling
UPrandompivotal
Random pivotal sampling
UPbrewer
Brewer sampling
UPmidzunopi2
Joint inclusion probabilities for Midzuno sampling
UPrandomsystematic
Random systematic sampling
UPsampfordpi2
Joint inclusion probabilities for Sampford sampling
Hajekestimator
The Hajek estimator
UPsampford
Sampford sampling