|
| 1 | +# fwildclusterboot 0.14 |
| 2 | + |
| 3 | +## Breaking Changes |
| 4 | + |
| 5 | +- the `print.boottest()` and `print.mboottest()` method have been deprecated, as both did not have a distinct use case. |
| 6 | +- Bugfix: `boottest()` should never have run with `fixest::feols()` and |
| 7 | + varying slopes syntax via `var1[var2]`. Unfortunately it did for the heteroskedastic bootstrap - it's a bug. I am very sorry if you are affected by this! This version adds an error message for this case. |
| 8 | + |
| 9 | +## Performance |
| 10 | + |
| 11 | +Version 0.14 ... |
| 12 | + |
| 13 | +- sparsifies the "fast and reliable" bootstraps - bootstrap types 31, 33, 13 (which leads to good speed gains for problems with high dimensional fixed effects) |
| 14 | +- allows to project out cluster fixed effects when running the "fast and reliable" algorithms "11" and "31" |
| 15 | +- computes the generalized inverse `pinv` via rcpp eigen instead of `MASS::ginv()` whenever `Matrix::solve()` fails |
| 16 | +- unlocks parallelization (nthreads was internally set to 1 for some reason) |
| 17 | + |
| 18 | + |
| 19 | +## rOpenSci Review feedback |
| 20 | + |
| 21 | +- update docs: |
| 22 | + - add a vignette on wild bootstrap concepts (wild bootstrap 101) |
| 23 | + - better explanation of plot method in docs and vignette |
| 24 | + - some guidelines on how to turn messages and warnings off |
| 25 | +- reorganization of ropensci ssr tags into code |
| 26 | +- it is now possible to interrupt rcpp loops |
| 27 | + |
| 28 | + |
| 29 | +## Misc |
| 30 | + |
| 31 | +- throws a clear error message when the subcluster bootstrap is tried for the fast and reliable algos (currently not supported) |
| 32 | +- bumps the required `WildBootTests.jl` version to `0.9.7` |
| 33 | + |
| 34 | + |
1 | 35 | # fwildclusterboot 0.13
|
2 | 36 |
|
3 | 37 | ## Potentially Breaking Changes:
|
@@ -308,7 +342,7 @@ I have spent some time to clean up `fwildclusterboot's` internals, which should
|
308 | 342 | + Bug fix: for one-sided hypotheses for the WRU bootstrap (if impose_null = FALSE), the returned p-values were incorrect - they were reported as 'p', but should have been '1-p'. E.g. if the reported p-values was reported as 0.4, it should have been reported as 0.6.
|
309 | 343 | + A new function argument `ssc` gives more control over the small sample adjustments made within `boottest()`. It closely mirrors the `ssc` argument in `fixest`. The only difference is that `fwildclusterboot::boot_ssc()'s` `fixef.K` argument currently has only one option, `'none'`, which means that the fixed effect parameters are discarded when calculating the number of estimated parameters k.
|
310 | 344 | The default argument of `boot_ssc()` are `adj = TRUE, fixef.K = "none", cluster.adj = TRUE` and `cluster.df = "conventional"`. In fixest, the `cluster.df` argument is `"min"` by default.
|
311 |
| -Prior to v 0.6, by default, no small sample adjustments regarding the sample size N and the number of estimated parameters k were applied. The changes in v0.6 may slightly affect the output of `boottest()`. For exact reproducibility of previous results, set `adj = FALSE`. Setting `adj = TRUE` will not affect p-values and confidence intervals for *oneway clustering*, but the internally calculated t-stat, which is divided by $\sqrt{(N-k)/(N-1)}$. For *twoway* clustering, it might affect the number and order of invalid bootstrapped t-statistics (due to non-positive definite covariance matrices) and, through this channel, affect bootstrapped inferential parameters. |
| 345 | +Prior to v 0.6, by default, no small sample adjustments regarding the sample size N and the number of estimated parameters k were applied. The changes in v0.6 may slightly affect the output of `boottest()`. For exact reproducibility of previous results, set `adj = FALSE`. Setting `adj = TRUE` will not affect p-values and confidence intervals for *oneway clustering*, but the internally calculated t-stat, which is divided by sqrt(N-k)/(N-1). For *twoway* clustering, it might affect the number and order of invalid bootstrapped t-statistics (due to non-positive definite covariance matrices) and, through this channel, affect bootstrapped inferential parameters. |
312 | 346 |
|
313 | 347 | + Testing: unit tests are now run on [github actions](https://github.com/s3alfisc/fwildclusterboot/actions/workflows/R-CMD-check.yaml) against [wildboottestjlr](https://github.com/s3alfisc/wildboottestjlr), which is a [JuliaConnectoR](https://github.com/stefan-m-lenz/JuliaConnectoR) based wrapper around [WildBootTests.jl](https://github.com/droodman/WildBootTests.jl), a Julia implementation of the fast wild cluster bootstrap algorithm.
|
314 | 348 | + Additionally, minor speed tweaks.
|
|
0 commit comments