benbhansen-stats / propertee

Prognostic Regression Offsets with Propagation of ERrors, for Treatment Effect Estimation (IES R305D210029).
https://benbhansen-stats.github.io/propertee/
Other
2 stars 0 forks source link

Separate files for design-based and model-based variance helper functions #186

Open jwasserman2 opened 2 months ago

jwasserman2 commented 2 months ago

Once we merge #185, we may want to slightly re-organize SandwichLayerVariance.R. I think it should continue to have the user-facing vcov_tee() and higher-level functions i.e., .vcov_MB0() and .vcov_DB0(), but to make it easier for researchers interested in looking specifically at the code for either model-based or design-based variance estimates, I think it might help to split up helper functions into two files.