desraj: Desraj Ordered Estimator

Description Usage Arguments References Examples

View source: R/desraj.R

Description

Desraj estimator computes the estimated value of a finite population total when values of the study variable for the sampled units and the corresponding selection probabilities are given as per the order of selection. It is meant for use in Probability Proportional to Size Without Replacement Sampling Scheme.

Usage

1
desraj(y, p)

Arguments

y

vector of vaues of sampled units as per the order of selection

p

vector of selection probabilities as per the order of selection

References

Sampath,S.(2005) Sampling Theory and Methods,Alpha Science International, Ltd

Examples

1
2
3
 y<-c(16,13,12,10)
 p<-c(0.21, 0.34, 0.12,0.10)
 desraj(y,p)

Example output

$est
[1] 67.59909

$estvar
[1] 51.11871

$tvals
[1] 76.19048 46.20588 74.00000 74.00000

fpest documentation built on May 1, 2019, 10:09 p.m.

Related to desraj in fpest...