- compare two subgroups: (clustid 01 & partition 012356) versus the rest (`subgroup_other`)
- see [[231215_104508 user partitions and narrative clusters v2|results for user partitions and narrative clusters v2]]
```r
# n_users: 17491
# note: 154114 users retweeted at least 1 bad tweet
# note: 399126 users were in Ed's partitions
# note: included only users who retweeted during the campaign
subgroup_other n
1: 0 4359 # subgroup of interest: clust 01 & partition 012356
2: 1 13132 # other subgroups: clust 00,02,03,04 & partition 47
```
```r
# linear probability model
> feols(t1bin ~ conditionC * (t0binSC + subgroup_other), d2, cluster = c("block"))
OLS estimation, Dep. Var.: t1bin
Observations: 122,437
Standard-errors: Clustered (block)
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.204796 0.001790 114.379784 < 2.2e-16 ***
conditionC -0.008598 0.003398 -2.530004 0.011425 * # effect for ed's subgroup
t0binSC 0.134625 0.002442 55.120769 < 2.2e-16 ***
subgroup_other 0.080119 0.002422 33.080315 < 2.2e-16 ***
conditionC:t0binSC -0.002485 0.004256 -0.583844 0.559342
conditionC:subgroup_other 0.008439 0.004359 1.935917 0.052913 . # treatment effect is less effective for other subgroups
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
RMSE: 0.43373 Adj. R2: 0.034008
```
Fit models separately to each subgroup.
```r
# subgroup of interest
> feols(t1bin ~ conditionC * t0binSC | block + day, d2[subgroup_other == 0], cluster = "block")
OLS estimation, Dep. Var.: t1bin
Observations: 30,513
Fixed-effects: block: 3,234, day: 7
Standard-errors: Clustered (block)
Estimate Std. Error t value Pr(>|t|)
conditionC -0.013985 0.006181 -2.26273 2.3718e-02 *
t0binSC 0.046434 0.006194 7.49672 8.4019e-14 ***
conditionC:t0binSC -0.015362 0.010092 -1.52223 1.2805e-01
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
RMSE: 0.359223 Adj. R2: -0.031219
Within R2: 0.001014
# the remaining groups combined
> feols(t1bin ~ conditionC * t0binSC | block + day, d2[subgroup_other == 1], cluster = "block")
OLS estimation, Dep. Var.: t1bin
Observations: 91,924
Fixed-effects: block: 7,022, day: 7
Standard-errors: Clustered (block)
Estimate Std. Error t value Pr(>|t|)
conditionC 0.000106 0.004984 0.021231 0.98306
t0binSC 0.153595 0.005463 28.113968 < 2.2e-16 ***
conditionC:t0binSC -0.003149 0.010210 -0.308426 0.75777
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
RMSE: 0.418275 Adj. R2: 0.092704
Within R2: 0.009846
```