stat_mcr {callback}R Documentation

Matched callback rates

Description

Computes the callback rates and their confidence intervals.

Usage

stat_mcr(x, level = 0.95)

Arguments

x

a callback object.

level

a number, containing the level of the confidence intervals (0.95 by default).

Value

A list with class "stat_mcr" containing 8 components: level, props, cp, wilson, student, t.fisher, t.pearson and t.student.

level: the level of the confidence intervals.

props: a data frame containing the following variables:

cp: A data frame containing the Clopper-Pearson confidence intervals, from binom.test().

wilson: a data frame containing the Wilson confidence intervals, from prop.test().

student: a data frame containing the Student confidence intervals, from t.test().

t.fisher: a data frame containing the statistics of the Fisher test.

t.pearson: a data frame containing the statistics of the Pearson test.

t.student: A data frame containing the statistics of the Student test.

Author(s)

Emmanuel Duguet

References

Clopper, C. J. & Pearson, E. S. (1934). The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika, 26, 404–413. doi:10.2307/2331986.

Wilson, E.B. (1927). Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22, 209–212. doi:10.2307/2276774.

Examples

data(labour1)
x <- callback(data=labour1,cluster="offer",candid="hist",callback="callback")
str(stat_mcr(x,level=0.9))


[Package callback version 0.1.1 Index]