Skip to contents

You've all seen these before. These are the "eight schools" that everyone gets when being introduced to Bayesian programming. Here are the full data for your consideration, which you can use instead of awkwardly searching where the data are and copy-pasting them as a list. Every damn time, Steve.

Usage

eight_schools

Format

A data frame with 8 observations on the following 6 variables.

school

a letter denoting the school

num_treat

the number of students in the school receiving the treatment

num_control

the number of students in the school in the control group

est

the estimated treatment effect

se

the standard error of the effect estimate

rvar

the residual variance

Details

Data copy-pasted from Table 1 in Rubin (1981).

References

Rubin, Donald B. 1981. "Estimation in Parallel Randomized Experiments." Journal of Educational Statistics 6(4): 377-401.