Description Usage Arguments Value See Also Examples
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
1 | mannwhitney(metadata)
|
metadata |
An object of class "Ordinal" generated by a call to |
A list of class mannwhit
containing the computed estimates
including the efficient influence function, standard errors,
and confidence intervals.
ordinalrct
for creating metadata
.
Other ordinalrct functions:
cdf()
,
log_or()
,
pmf()
1 2 | rct <- ordinalrct(state_ordinal ~ A + age, A ~ 1, data = c19.ordinal)
mannwhitney(rct)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.