You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In two or k sample case we can get the distribution for a "no effect" hypothesis by permuting the observations. In analogy this should also apply to models with explanatory variables, implemented as score variable addition test with permutation distribution for the test statistic.
In the simplest case with one categorical variable we get the analogue of a k-sample or anova type hypothesis test.
By reparameterization similar to fit_constrained, we can convert linear hypothesis into a variable addition test, e.g. using offset if we just fix the value of one params and the new variable or parameter would be the difference to the offset.
This would be a conditional test analogous to an independence test in a contingency table with fixed margins. (maybe there is something for the regression case in the R package for conditional hypothesis tests.)
(I'm thinking mainly of GLM binomial and poisson where bootstrap samples are more difficult to define.)
motivation for getting more interested in permutation test:
We don't need the iid or exchangeability assumption for permutation test, if the test statistic is studentized and account for heteroscedasticity or differences in distribution.
(Might be a bit similar to the success of relatively simple bootstrap with sandwich robust studentized test statistics.)
Note: Permutation tests are even asymptotically biased and don't maintain size without iid/exchangability and test statistics that don't take differences in distributions into account.
Janssen, Arnold. 1997. “Studentized Permutation Tests for Non-I.i.d. Hypotheses and the Generalized Behrens-Fisher Problem.” Statistics & Probability Letters 36 (1): 9–21. doi:10.1016/S0167-7152(97)00043-6.
Neubert, Karin, and Edgar Brunner. 2007. “A Studentized Permutation Test for the Non-Parametric Behrens–Fisher Problem.” Computational Statistics & Data Analysis 51 (10): 5192–5204. doi:10.1016/j.csda.2006.05.024.
(In the parametric regression setting the Null of no effect of x should be exchangeable if dispersion is not a function of x. In binomial and poisson, the variance only depends on the mean which is not affected by x under the Null. With excess dispersion or families with heteroscedasticity, we need the sandwich covariance to studentize the test statistic. but I don't have a verified version for sandwich type heteroscedasticity robust score test.)
permuting just one explanatory variable destroys the correlation between it and the other exog. That is, we need to orthogonalize that variable first by projecting on the other exog before permuting. (similar to tacking block inverse in standard score test when cov is on the restricted variable and not on full score)
(studentized) permutation tests without exchangability
For the latter some recent theory (not read)
Chung, EunYi, and Joseph P. Romano. 2013. “Exact and Asymptotically Robust Permutation Tests.” The Annals of Statistics 41 (2): 484–507. doi:10.1214/13-AOS1090.
———. 2016a. “Asymptotically Valid and Exact Permutation Tests Based on Two-Sample -Statistics.” Journal of Statistical Planning and Inference 168 (January): 97–105. doi:10.1016/j.jspi.2015.07.004.
———. 2016b. “Multivariate and Multiple Permutation Tests.” Journal of Econometrics 193 (1): 76–91. doi:10.1016/j.jeconom.2016.01.003.
The following article extends the Brunner Munzel type tests #3575 with permutation to confidence intervals (using asymptotic normality under the alternative, not read either)
Pauly, Markus, Thomas Asendorf, and Frank Konietschke. 2016. “Permutation-Based Inference for the AUC: A Unified Approach for Continuous and Discontinuous Data.” Biometrical Journal 58 (6): 1319–37. doi:10.1002/bimj.201500105.
In an abstract of another article they mentioned block permutation, which sounds similar to block bootstrap.
Based on these abstracts, it looks like we can "safely" use permutation tests with the right approach, instead of "assuming" exchangability even if it doesn't hold.
(If equality of distribution in permutation does not hold, we only get asymptotic validity instead of "exactness", but still (often or in general ?) better small sample behavior.)
This reference has the literature and comparison for various methods to handle partialization for permutation test. It looks like my idea of orthogonalizing exog is refered to as smith method, see table 2
Winkler, Anderson M., Gerard R. Ridgway, Matthew A. Webster, Stephen M. Smith, and Thomas E. Nichols. 2014. “Permutation Inference for the General Linear Model.” NeuroImage 92 (May): 381–97. doi:10.1016/j.neuroimage.2014.01.060.
(I only read or skimmed parts of the article.)
Activity
josef-pkt commentedon Mar 24, 2017
motivation for getting more interested in permutation test:
We don't need the iid or exchangeability assumption for permutation test, if the test statistic is studentized and account for heteroscedasticity or differences in distribution.
(Might be a bit similar to the success of relatively simple bootstrap with sandwich robust studentized test statistics.)
Note: Permutation tests are even asymptotically biased and don't maintain size without iid/exchangability and test statistics that don't take differences in distributions into account.
Janssen, Arnold. 1997. “Studentized Permutation Tests for Non-I.i.d. Hypotheses and the Generalized Behrens-Fisher Problem.” Statistics & Probability Letters 36 (1): 9–21. doi:10.1016/S0167-7152(97)00043-6.
Neubert, Karin, and Edgar Brunner. 2007. “A Studentized Permutation Test for the Non-Parametric Behrens–Fisher Problem.” Computational Statistics & Data Analysis 51 (10): 5192–5204. doi:10.1016/j.csda.2006.05.024.
(In the parametric regression setting the Null of no effect of x should be exchangeable if dispersion is not a function of x. In binomial and poisson, the variance only depends on the mean which is not affected by x under the Null. With excess dispersion or families with heteroscedasticity, we need the sandwich covariance to studentize the test statistic. but I don't have a verified version for sandwich type heteroscedasticity robust score test.)
josef-pkt commentedon Mar 25, 2017
However, ...
permuting just one explanatory variable destroys the correlation between it and the other exog. That is, we need to orthogonalize that variable first by projecting on the other exog before permuting. (similar to tacking block inverse in standard score test when cov is on the restricted variable and not on full score)
josef-pkt commentedon Mar 26, 2017
There are two issues here now:
For the latter some recent theory (not read)
Chung, EunYi, and Joseph P. Romano. 2013. “Exact and Asymptotically Robust Permutation Tests.” The Annals of Statistics 41 (2): 484–507. doi:10.1214/13-AOS1090.
———. 2016a. “Asymptotically Valid and Exact Permutation Tests Based on Two-Sample -Statistics.” Journal of Statistical Planning and Inference 168 (January): 97–105. doi:10.1016/j.jspi.2015.07.004.
———. 2016b. “Multivariate and Multiple Permutation Tests.” Journal of Econometrics 193 (1): 76–91. doi:10.1016/j.jeconom.2016.01.003.
The following article extends the Brunner Munzel type tests #3575 with permutation to confidence intervals (using asymptotic normality under the alternative, not read either)
Pauly, Markus, Thomas Asendorf, and Frank Konietschke. 2016. “Permutation-Based Inference for the AUC: A Unified Approach for Continuous and Discontinuous Data.” Biometrical Journal 58 (6): 1319–37. doi:10.1002/bimj.201500105.
In an abstract of another article they mentioned block permutation, which sounds similar to block bootstrap.
Based on these abstracts, it looks like we can "safely" use permutation tests with the right approach, instead of "assuming" exchangability even if it doesn't hold.
(If equality of distribution in permutation does not hold, we only get asymptotic validity instead of "exactness", but still (often or in general ?) better small sample behavior.)
josef-pkt commentedon Apr 1, 2017
an article as author copy (not read, but end of intro compares with White robust standard errors and wild bootstrap for regression models.)
DiCiccio, Cyrus J., and Joseph P. Romano. 2016. “Robust Permutation Tests For Correlation And Regression Coefficients.” Journal of the American Statistical Association, July. http://www.tandfonline.com/doi/suppl/10.1080/01621459.2016.1202117
josef-pkt commentedon Apr 7, 2017
To the first issue: permutation test in models
This reference has the literature and comparison for various methods to handle partialization for permutation test. It looks like my idea of orthogonalizing exog is refered to as
smithmethod, see table 2Winkler, Anderson M., Gerard R. Ridgway, Matthew A. Webster, Stephen M. Smith, and Thomas E. Nichols. 2014. “Permutation Inference for the General Linear Model.” NeuroImage 92 (May): 381–97. doi:10.1016/j.neuroimage.2014.01.060.
(I only read or skimmed parts of the article.)