get.h.hat: Get Horvitz-Thompson estimator assuming inclusion probability...

View source: R/estimate-utils.R

get.h.hatR Documentation

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 documentation built on Sept. 11, 2024, 8:13 p.m.