grf-labs / grf

Generalized Random Forests
https://grf-labs.github.io/grf/
GNU General Public License v3.0
970 stars 248 forks source link

Fitting a causal forest with a count response variable #1466

Open aczura2024 opened 1 week ago

aczura2024 commented 1 week ago

I am interested in using causal forests for a response count variable (y=0,1,2,3,...). However I have not yet found a way to implement this. Any suggestions?

Thanks in advance!

Tauhmax commented 1 week ago

How about using a Poisson regression or log-linear model, like a convention usage on quantity sales? I think the easiest way is to just doing a log-transform on the outcomes. Then you can continue on standard causal forest.

https://en.wikipedia.org/wiki/Poisson_regression