Tiempos de estudio. Tomado de Hoff (2009, A First Course in Bayesian Statistical Methods).

The files school1.dat through school8.dat give weekly hours spent on homework for students sampled from eight different schools. Obtain posterior distributions for the true means for the eight different schools using a hierarchical normal model (with specific means and common variance) using the following prior parameters: \[ \mu_0 = 7, \gamma^2_0 = 5, \tau^2_0 = 10, \eta_0 = 2, \sigma_0^2 = 15, \nu_0 = 2. \]