Closed clausherther closed 3 years ago
Ok, writing up an issue often clarifies things! I managed to figure this out. What I was missing was
tidy(model, effects = c("ran_vals"))
effect component group level term estimate std.error conf.low conf.high
<chr> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
1 ran_vals cond channel Mail (Intercept) 0.251 0.0798 0.0942 0.407
2 ran_vals cond channel Park (Intercept) 1.74 0.152 1.45 2.04
3 ran_vals cond channel Email (Intercept) -2.80 0.192 -3.20 -2.44
4 ran_vals cond channel Mail promoBundle -0.865 0.112 -1.09 -0.644
5 ran_vals cond channel Park promoBundle -0.678 0.170 -1.01 -0.352
6 ran_vals cond channel Email promoBundle 1.96 0.280 1.41 2.51
And thanks for listening...:)
OK to close this then?
Hello! I've previously used
broom
to tidy the output from mybrms
hierarchical models. It seems usingbroom.mixed
the output is quite different from the oldtidy
method. I don't seem to be able to to get actual group level coefficients, just thesd
parameters, whereas the oldtidy
provided full parameter estimates.Here's an example I pulled from my notes (I'm no longer able to reproduce the old
tidy
behavior) along with how this looks usingbroom.mixed::tidy()
. Any ideas on how to thebroom
style output again?OLD:
NEW: