mannwhitney: Estimate the Mann-Whitney Statistic

Description Usage Arguments Value See Also Examples

View source: R/estimator.R

Description

Computes the Mann-Whitney estimand; the probability that a randomly drawn patient from the treated arm has a better outcome than a randomly drawn patient from the control arm, with ties broken at random

Usage

1
mannwhitney(metadata)

Arguments

metadata

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

Value

A list of class mannwhit 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(), pmf()

Examples

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

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