Last data update: 2014.03.03

R: Rounding Coarsening Mechanism
roundingR Documentation

Rounding Coarsening Mechanism

Description

Creates the lower and upper limits of the interval in which the true response lies for grouped data in [0, 1].

Usage

rounding(y, m)

Arguments

y

the score obtained or number of successes.

m

the maximum score or number of trials.

Details

Under the rounding coarsening mechanism, we assume that the true response lies in the interval [y/m - 0.5/(m + 1), y/m + 0.5/(m + 1)].

Value

a 2-dimensional matrix containing the lower and upper limits of the intervals.

Author(s)

Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl

See Also

grouped

Examples


rounding(Seeds$r, Seeds$n)

Results