pmf: Estimate the Probability Mass Function

Description Usage Arguments Value See Also Examples

View source: R/estimator.R

Description

Estimate the Probability Mass Function

Usage

1
pmf(metadata)

Arguments

metadata

An object of class "Ordinal" generated by a call to ordinalrct().

Value

A list of class pmf containing the computed estimates including the efficient influence function, standard errors, and confidence intervals.

See Also

ordinalrct for creating metadata.

Other ordinalrct functions: cdf(), log_or(), mannwhitney()

Examples

1
2
rct <- ordinalrct(state_ordinal ~ A + age, A ~ 1, data = c19.ordinal)
pmf(rct)

nt-williams/survrct documentation built on July 29, 2021, 7:46 a.m.