DeclareDesign / estimatr

estimatr: Fast Estimators for Design-Based Inference
https://declaredesign.org/r/estimatr
Other
131 stars 20 forks source link

Support for one-sided hypothesis tests #414

Open nicolaiberk opened 2 days ago

nicolaiberk commented 2 days ago

Hi,

thank you for providing this great package!

I am doing a lot of experimental work, and often I try to pre-register directional hypotheses in order to reduce the necessary sample size. I would like to model this using lm_robust and difference_in_means, but at the moment I can only work around it using the output from lm_robust in downstream calculations.

A feature implementing one-sided hypothesis tests in these functions would be amazing!