seridits: Compute standard errors of mean ridits of multiple groups

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/seridits.R

Description

Takes the same data as meanridits(), bui returns standard errors rather than means.

Usage

1
seridits(x, margin, ref = NULL)

Arguments

x

same as for meanridits(), but must be counts rather than proportions

margin

same as for meanridits()

ref

same as for meanridits()

Details

note that if the results include the reference group, its standard error will not be meaningful; by definition its mean ridit will be exactly 0.5

Value

a vector of standard errors for each group's mean ridits

Author(s)

Eric Bohlman

See Also

meanridits

Examples

1
2
3
4
5
6
7
(meanridits(semiauto, 2, 1) - 0.5) / seridits(semiauto, 2, 1)

## The function is currently defined as
function (x, margin, ref = NULL)
{
    apply(x, margin, se.ridit, riditsrefgroup(x, margin, ref))
  }

ridittools documentation built on May 1, 2019, 6:30 p.m.