Description Usage Arguments Value Author(s) References See Also Examples
The function computes the joint (second-order) inclusion probabilities for Sunter sampling.
1 | sunterpi2(x, n)
|
x |
the vector of values of the auxiliary variable (measure of size) |
n |
the sample size |
Returns a NxN matrix of the following form: the main diagonal contains the first-order inclusion probabilities for each unit k in the population; elements (k,l) are the joint inclusion probabilities of units k and l, with k not equal to l. N is the population size.
Alessandro Barbiero, Giancarlo Manzi
C-E. Sarndal, B. Swensson, J. Wretman: Model Assisted Survey Sampling, Springer, New York, 1992
1 2 3 4 |
[,1] [,2] [,3] [,4] [,5]
[1,] 0.8000000 0.33333333 0.15555556 0.15555556 0.15555556
[2,] 0.3333333 0.50000000 0.05555556 0.05555556 0.05555556
[3,] 0.1555556 0.05555556 0.23333333 0.01111111 0.01111111
[4,] 0.1555556 0.05555556 0.01111111 0.23333333 0.01111111
[5,] 0.1555556 0.05555556 0.01111111 0.01111111 0.23333333
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.