Description Usage Arguments Details Value References
Horvitz-Thompson estimation of the population mean using the given sequence of the vertices.
1 | HT_mean(chain, trait.vec, inclusion.probability)
|
chain |
a sequence of node indices that represent the referral process. |
trait.vec |
is a vector of size number of nodes in the network with 0-1 values that for example indicate a specific trait. |
inclusion.probability |
is a vector of size number of nodes in the network with the corresponding stationary probabilities. |
Let x_1, x_2, \cdots, x_n be a sequence of samples from a finite population of size N. Furthermore, let \pi_1, \cdots, \pi_N be the inclusion of probabilities. Then \mu_HT = 1/N*\sum_i=1^n x_i/\pi_x_i.
the Horvitz-Thompson estimation of the population mean.
Horvitz, D. G.; Thompson, D. J. (1952) “A generalization of sampling without replacement from a finite universe”, Journal of the American Statistical Association,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.