The Romano-Wolf correction for multiple testing can compute resampled t-statistics via either the boostrap (in pyfixest, it uses a wild bootstrap) or randomization inference (see the Stata Journal paper by Clarke et al, page 6).
Task
Add support for running the Romano-Wolf correction via randomization inference by adding a function argument sampling_method that defaults to "wild-bootstrap", but that users can choose to also be "ri".
Context
The Romano-Wolf correction for multiple testing can compute resampled t-statistics via either the boostrap (in pyfixest, it uses a wild bootstrap) or randomization inference (see the Stata Journal paper by Clarke et al, page 6).
Task
Add support for running the Romano-Wolf correction via randomization inference by adding a function argument
sampling_method
that defaults to "wild-bootstrap", but that users can choose to also be "ri".If users choose to run randomization inference, instead of running the wild bootstrap via the
wildboottest
method, you can simply runritest
via the "randomization-t". https://github.com/py-econometrics/pyfixest/blob/30e3a11bb91ad0985878eaf2c51e509c9d1c7d28/pyfixest/estimation/multcomp.py#L133