nhejazi / txshift

:package: :game_die: R/txshift: Efficient Estimation of the Causal Effects of Stochastic Interventions, with Corrections for Outcome-Dependent Sampling
https://codex.nimahejazi.org/txshift
Other
13 stars 4 forks source link

scaling outcome before estimation of Q #70

Open Lauren-EylerDang opened 1 year ago

Lauren-EylerDang commented 1 year ago

Hi Nima, It appears that txshift is scaling the outcome prior to estimating Q. Is it possible to add an option so that Q can be estimated on its original scale? Thank you!

Lauren-EylerDang commented 1 year ago

I created a pull request to estimate Q prior to scaling the outcome. Please consider if you think this is helpful for the package.

nhejazi commented 1 year ago

Thanks for your question and interest in this, Lauren. I'll review PR #71 and try to get it merged soon. The contribution is appreciated.