pi_i_replace | R Documentation |
Calculate the inclusion probabilities of units in a simple random sample with replacement.
pi_i_replace(N, n1, m_vec)
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 |
vector of inclusion probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.