Learn R Programming

callback (version 0.1.1)

stat_glob: Unmatched callback rates

Description

Number and proportion of callbacks for all the candidates.

Usage

stat_glob(x, level = 0.95)

Value

A stat_glob object with 5 components : level, props, cp, wilson and student.

level: the level of the confidence intervals

props: a data frame containing the following variables.

  • tests: number of tests.

  • callback: number of callbacks.

  • p_callback: callback rate.

cp, wilson and student are data frames containing the following variables:

  • inf_p_callback: callback rate lower bound.

  • sup_p_callback: callback rate upper bound.

Arguments

x

A callback object.

level

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

Author

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

Run this code
data(labour2)
x <- callback(data=labour2,cluster="offer",candid="hist",callback="callback")
str(stat_glob(x))

Run the code above in your browser using DataLab