Learn R Programming

RDS (version 0.9-9)

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.