pi_i_replace: Calculate the inclusion probabilities of units in a simple...

View source: R/pi_i.R

pi_i_replaceR Documentation

Calculate the inclusion probabilities of units in a simple random sample with replacement.

Description

Calculate the inclusion probabilities of units in a simple random sample with replacement.

Usage

pi_i_replace(N, n1, m_vec)

Arguments

N

Population size.

n1

An integer giving the initial sample size (e.g., a simple random sample).

m_vec

Vector of values m for the set of units in a sample, of length n1. Each m value within the vector m_vec denotes the number of units satisfying the ACS criterion for the network i to which the unit belongs.

Value

vector of inclusion probabilities


ksauby/ACS documentation built on Aug. 18, 2022, 3:33 a.m.