Repository navigation
Description
(another missing piece in hypothesis testing plus everything. And I don't have an overview of theory, approaches, ...)
How can we construct simultaneous confidence intervals for several parameters?
Can we use exact or Monte Carlo probabilities or bootstrap to get better small sample results?
How do we choose the shape of the confidence region?
(triggered by this #2895 (comment) and PR #2953 )
what we have, AFAIR
- Sheffe linear prediction confint (added by Kerby, and it took me a while to understand the max)
- Tukey confidence interval for pairwise comparison
- some bootsrap intervals in tsa (impulse response function IIRC) where I never checked whether they are simultaneous or pointwise
- multinomial probabilities, new in above issue and PR
- maybe: standard p-value, Bonferroni correction for outliers
We have a lot more on hypothesis tests, p-values, p-value correction, permutation max-t pvalues (not in statsmodels).
I don't have time to read, so just two references as starting point, emphasis on bootstrap
Beran, Rudolf. 1990. “Refining Bootstrap Simultaneous Confidence Sets.” Journal of the American Statistical Association 85 (410): 417–26. doi:10.2307/2289778.
summarizes Sheffe, bootstrap and introduces double bootstrap for simultaneous confidence interval
Zhilova, Mayya. 2015. “Simultaneous Likelihood-Based Bootstrap Confidence Sets for a Large Number of Models.” arXiv:1506.05779 [Math, Stat], June. http://arxiv.org/abs/1506.05779.
This is long but looks interesting. Based on skimming a few pages, IIUC.
uses frequency weights for bootstrap resampling.
uses correction for alpha (nominal size) for individual confidence intervals (*)
is advertised as being robust to local model misspecification
(*) this looks relatively easy to get a meaningful shape of the confidence interval that can be small sample corrected.
general issues (partially in analogy to rates and proportion single parameter confidence intervals)
nuisance parameters and "exact" size
Fisher's exact test and similar guarantee the size for all parameters (and are as consequence conservative)
Berger/Boos guarantees the size, but uses restricted parameter space.
E-tests use MLE estimate of nuisance parameters
If we don't maintain "exact" size, then one question is what's the worst case parameter and how bad (liberal) is the size or coverage. (there are a few articles on confidence coefficient which is the worst case coverage probability. It's zero for Wald, if there is no correction for the boundary observation. Binomial x=0 implies uncorrected Wald confidence interval [0, 0] is one point. However in practice most implementation use a correction for this case.
Wald or score parameters for confidence intervals
score intervals have usually better properties, maintain size better than Wald.
However, we need to search over the parameter space to find the score confidence limits.
One problem for bootstrap or Monte Carlo probabilities in the above is that searching the parameter space is expensive because we need to run the simulation for each values of the parameters.
Related bootstrap for hypothesis tests on a coefficient in regression models is often more accurate if the model is simulated under the null (imposed restriction) than if we use the unrestricted model. However, if the restrictions change or we want to test a different parameter, then we would have to run the simulations again. (articles on bootstrap for heteroscedasticity robust standard errors by ...)
So, simulation approaches for this type of hypotheses or confidence intervals only works when there is one or at most a few parameters or hypothesis.
Aside: multinomial might be an interesting case because of the GLM type variance differences across parameters if they are not all the same under the null or estimated.
How do we get started?
Right now adjusting the bonferroni correction for individual confidence intervals looks the most likely theoretically reasonable and computationally feasible approach.
Plus some simultaneous analogues of single parameter bootstrap confidence intervals. ???
Activity
josef-pkt commentedon May 18, 2016
another article to follow up upon, I don't know details of the actual implementation but general approach and references look like a good starting point.
(risk differences in stratified paired observations will be somewhere in the two-sample proportion case)
("MOVER" confidence intervals)
compares among others methods combination of bootstrap percentile or bootstrap percentile-t with Wilson score or Agresti-Coull individual confidence intervals.
Tang, Nian-Sheng, Shi-Fang Qiu, Man-Lai Tang, Guang-Yong Zou, and Dan Yu. 2013. “Simultaneous Confidence Intervals of Risk Differences in Stratified Paired Designs.” Journal of Biopharmaceutical Statistics 23 (2): 361–77. doi:10.1080/10543406.2011.616964.
They have references to an earlier article without MOVER (same authors), and to one with the MOVER, median unbiased method for single proportion (Lin, Newcombe, ...)
josef-pkt commentedon Feb 20, 2018
another general idea for nonlinear functions of a linear predictor as in GLM or other models with a linear center.
use endpoint transformation of the Sheffe intervals of the linear part.
I guess this could be added to the one-parameter models like GLM or Poisson in
get_prediction. We currently use endpoint transformation for the pointwise confidence interval for a mean prediction.(example: parametric survival models. One of the target statistics are quantiles for survival times which are a nonlinear function of the linear predictor. However there are extra parameters, except in the exponential case, also for which Sheffe's linear contrasts wouldn't apply.)