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

differential.activity.estimates

Differential Activity between groups


Description

Differential Activity between groups

Usage

differential.activity.estimates(
  rds.data,
  outcome.variable,
  weight.type = "Gile's SS",
  N = NULL,
  subset = NULL,
  ...
)

Arguments

rds.data

An rds.data.frame object

outcome.variable

A character string of column names representing categorical variables.

weight.type

A string giving the type of estimator to use. The options are "Gile's SS", "RDS-I", "RDS-II", "RDS-I/DS", and "Arithemic Mean". It defaults to "Gile's SS".

N

The population size.

subset

An expression defining a subset of rds.data.

...

Additional parameters passed to compute.weights.

Details

This function estimates the ratio of the average degree of one population group divided by the average degree of those in another population group.

Examples

data(faux)
differential.activity.estimates(faux,"X",weight.type="RDS-II")

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.