-
Notifications
You must be signed in to change notification settings - Fork 74
Proposal: add vcov attrs for crit.val, conf.int, and/or p.values #593
Copy link
Copy link
Open
Description
I have been thinking about this proposal for a while in regards to the "fixest for developers" pitch. Here is my thinking:
- Say I do a bootstrap procedure to generate the vcov. I might want to use empirical bootstrapped confidence intervals.
- I want to use a multiplier score bootstrap to avoid problems with multiple hypothesis testing, I might want to return the vcov + critical values to use (e.g. Bonferroni correction)
- I want to use the t-stat for cluster and/or small samples.
- I have an IV regression and I want to report Anderson-Rubin confidence intervals
- I want to use randomization inference to compute p-values
- https://cran.r-project.org/web/packages/effClust/index.html custom t-stat effective number of clusters
The solution I was envisioning is to allow a set of attr be attached to the vcov and be plugged in to summary/etable/iplot/conf.int/etc. I know it would be a lofty change but I think it will prove useful for making fixest a "backend" for a ton of packages. I would probably create a lot of these, tbh.
What do we think? I can give a stab at a PR if y'all think it's a good idea
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels