probabilities: Inclusion probabilities

Description Usage Arguments Examples

Description

Computes the first-order inclusion probabilities from a vector of positive numbers (for a probability proportional-to-size sampling design). This function is borrowed from the package "sampling" by Alina Matei and Yves Till<c3><a9>. Licence (GPL >=2).

Usage

1

Arguments

a

vector of positive numbers

n

sample size

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
############
## Example 
############
# a vector of positive numbers
a=1:20
# computation of the inclusion probabilities for a sample size n=12
pik=probabilities(a,12)
pik

## End(Not run)

jlisic/BalancedSampling documentation built on May 19, 2019, 12:46 p.m.