Proposal: add vcov `attr`s for `crit.val`, `conf.int`, and/or `p.values`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing how vcov values flow into summary, etable, iplot, and conf.int, the entry points named in the proposal. Define the scope and attribute contract with maintainers first; done would require an agreed design covering the proposed custom critical values, confidence intervals, and p-values.
Written by the indexing model from the issue text.
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
- Dominant language
- R
- Stars
- 464
- Forks
- 82
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lrberge/fixest
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lrberge/fixest#686 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
lrberge/fixest#713 · 1 comment ·
Maintainers usually reply within 1 day
-
etable notes spacingOpen
Difficulty 3/5 Half a day Newbie friendliness 50/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 47/100
lrberge/fixest#689 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug dependencies R
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JamesHWade/graft#142 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100