roaches_nb
收藏DataCite Commons2025-11-29 更新2026-04-25 收录
下载链接:
https://figshare.com/articles/dataset/roaches_nb/30741614/1
下载链接
链接失效反馈官方服务:
资源简介:
<pre><br>The roaches data example comes from Chapter 8.3 of [Gelman and Hill (2007)](https://sites.stat.columbia.edu/gelman/arm/).<br><br>> The treatment and control were applied to 160 and 104 apartments, respectively, and the outcome measurement $y_i$ in each apartment $i$ was the number of roaches caught in a set of traps. Different apartments had traps for different numbers of days.<br><br>In addition to an intercept, the regression predictors for the model are the pre-treatment number of roaches `roach1`, the treatment indicator `treatment`, and a variable indicating whether the apartment is in a building restricted to elderly residents `senior`. The distribution of `roach1` is very skewed and we take a square root of it. Because the number of days for which the roach traps were used is not the same for all apartments in the sample, we include it as an exposure2 by adding $\log(u_i)$ to the linear predictor $\eta_i$ and it can be specified using the offset argument in Bambi.</pre>
提供机构:
figshare
创建时间:
2025-11-29



