scps_getrand: Spatially correlated Poisson sampling

View source: R/RcppExports.R

scps_getrandR Documentation

Spatially correlated Poisson sampling

Description

Retrieves a vector of random numbers resulting in the provided scps sample

Usage

scps_getrand(prob,x,s)	

Arguments

prob

vector of length N with inclusion probabilities

x

matrix of (standardized) auxiliary variables of N rows and q columns

s

vector of length N with inclusion indicators

Value

Retrieves a vector of length N with random numbers resulting in the provided scps sample

References

Grafström, A. (2012). Spatially correlated Poisson sampling. Journal of Statistical Planning and Inference, 142(1), 139-147.


BalancedSampling documentation built on June 29, 2022, 5:06 p.m.