遇见数据集

roaches_zinb

收藏
Figshare2025-11-29 更新2026-04-08 收录
官方服务:

资源简介:

The roaches data example comes from Chapter 8.3 of [Gelman and Hill (2007)](https://sites.stat.columbia.edu/gelman/arm/).<br><br>&gt; 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.

提供机构:
Martin, Osvaldo
创建时间:
2025-11-29
二维码
社区交流群
二维码
科研交流群
商业服务