stat_tcs {callback}R Documentation

Total callback shares

Description

Computes the callback shares and their confidence intervals. The analysis is restricted to the tests with at least one callback. It is the definition used in Riach and Rich (2006).

Usage

stat_tcs(x, method = "student", level = 0.95)

Arguments

x

a callback object.

method

estimation method, "cp" for Clopper-Pearson, "wilson" for Wilson and "student" for Student (the default).

level

the level of the confidence intervals (0.95 by default).

Value

A list with class "callback_stat" containing 4 components: specif, counts, props and stats

specif: A list containing

counts: a data frame with the callback counts.

props: A data frame containing the following proportions and their confidence intervals (when relevant)

stats: a data frame containing the statistics for testing the equality of proportions.

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.

Riach, P. A., & Rich, J. (2006). An experimental investigation of sexual discrimination in hiring in the English labor market. The BE Journal of Economic Analysis & Policy, 6(2),

Student. (1908). The Probable Error of a Mean. Biometrika, 6(1), 1–25. doi:10.2307/2331554.

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_tcs(x))


[Package callback version 0.1.3 Index]