Learn R Programming

grouped (version 0.6-0)

rounding: 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.

Value

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

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)].

See Also

grouped

Examples

Run this code
rounding(Seeds$r, Seeds$n)

Run the code above in your browser using DataLab