Learn R Programming

⚠️There's a newer version (2.11) of this package.Take me there.

sampling (version 2.7)

Survey Sampling

Description

Functions for drawing and calibrating samples.

Copy Link

Version

Install

install.packages('sampling')

Monthly Downloads

9,540

Version

2.7

License

GPL (>= 2)

Maintainer

Alina Matei

Last Published

June 30th, 2015

Functions in sampling (2.7)

UPpivotal

Pivotal sampling
postest

The poststratified estimator
inclusionprobastrata

Inclusion probabilities for a stratified design
mstage

Multistage sampling
Hajekestimator

The Hajek estimator
strata

Stratified sampling
UPsampfordpi2

Joint inclusion probabilities for Sampford sampling
MU284

The MU284 population
UPrandompivotal

Random pivotal sampling
Hajekstrata

The Hajek estimator for a stratified design
ratioest_strata

The ratio estimator for a stratified design
balancedcluster

Balanced cluster
UPrandomsystematic

Random systematic sampling
HTstrata

The Horvitz-Thompson estimator for a stratified design
UPtillepi2

Joint inclusion probabilties for Tille sampling
gencalib

g-weights of the generalized calibration estimator
UPopips

Order pips sampling
checkcalibration

Check calibration
varest

Variance estimation using the Deville's method
disjunctive

Disjunctive combination
calibev

Calibration estimator and its variance estimation
srswor1

Selection-rejection method
samplecube

Sample cube method
HTestimator

The Horvitz-Thompson estimator
rhg

Response homogeneity groups
getdata

Get data
UPmultinomial

Multinomial sampling
UPminimalsupport

Minimal support sampling
varHT

Variance estimators of the Horvitz-Thompson estimator
cluster

Cluster sampling
landingcube

Landing phase for the cube method
UPsystematicpi2

Joint inclusion probabilities for systematic sampling
UPmidzunopi2

Joint inclusion probabilities for Midzuno sampling
balancedtwostage

Balanced two-stage sampling
UPbrewer

Brewer sampling
UPtille

Tille sampling
ratioest

The ratio estimator
srswor

Simple random sampling without replacement
balancedstratification

Balanced stratification
regest

The regression estimator
rhg_strata

Response homogeneity groups for a stratified sampling
UPmaxentropy

Maximum entropy sampling with fixed sample size and unequal probabilities
belgianmunicipalities

The Belgian municipalities population
cleanstrata

Clean strata
vartaylor_ratio

Taylor-series linearization variance estimation of a ratio
inclusionprobabilities

Inclusion probabilities
swissmunicipalities

The Swiss municipalities population
poststrata

Postratification
calib

g-weights of the calibration estimator
UPsampford

Sampford sampling
UPpoisson

Poisson sampling
srswr

Simple random sampling with replacement
regest_strata

The regression estimator for a stratified design
UPsystematic

Systematic sampling
fastflightcube

Fast flight phase for the cube method
rmodel

Response probability using logistic regression
writesample

All possible samples of fixed size
UPmidzuno

Midzuno sampling