Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get.h.hat

Get Horvitz-Thompson estimator assuming inclusion probability proportional to the inverse of network.var (i.e. degree).


Description

Get Horvitz-Thompson estimator assuming inclusion probability proportional to the inverse of network.var (i.e. degree).

Usage

get.h.hat(
  rds.data,
  group.variable,
  network.var = attr(rds.data, "network.size")
)

Arguments

rds.data

An rds.data.from

group.variable

The grouping variable.

network.var

The network.size variable.


RDS

Respondent-Driven Sampling

v0.9-3
LGPL-2.1
Authors
Mark S. Handcock [aut, cre], Krista J. Gile [aut], Ian E. Fellows [aut], W. Whipple Neely [aut]
Initial release
2021-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.