Orfs: ORFS method

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/Orfs.R

Description

Select temporal samples with fixed size at each wave using the cube method. It provides optimal time rotation of the selected samples using the systematic sampling method.

Usage

1
Orfs(pik, EPS = 1e-08, comment = TRUE)

Arguments

pik

a matrix of temporal inclusion probabilities. Columns of pik correspond to the waves, and rows correspond to the units. Inclusion probabilities can be totally unequal.

EPS

a tolerance parameter. Default value is 1e-8.

comment

a comment is written during the execution if comment is TRUE (default value).

Value

a matrix that contains temporal samples. This is the update of pik and contains only 0s and 1s that indicates if a unit is selected or not at each wave.

Author(s)

Esther Eustache esther.eustache@unine.ch, Raphael Jauslin raphael.jauslin@unine.ch

References

Quenouille, M. H. (1949). Approximate Tests of Correlation in time-Series. Royal Statistical Society, Series B Vol. 11, No. 1 (1949), pp. 68-84.

See Also

SystematicDesign, ReducedSamplecube

Examples

1
2
3
4
5
6
7
## Temporal inclusion probabilities with 3 waves and 4 units ##
pik <- matrix(c(0.6,0.3,0.3,
                0.2,0.4,0.9,
                0.3,0.2,0.5,
                0.9,0.1,0.3), ncol = 3, byrow = TRUE)
## ORFS method ##
Orfs(pik)

SpotSampling documentation built on Oct. 26, 2020, 5:08 p.m.