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
Just a thought (while thinking about outliers in RLM)
The outlier test is testing an observation (predicted y not predicted mean x*beta).
Under the normal assumption, we have an expected number/fraction of wrong "outliers". That is observation in the tail even if the null hypothesis of no outliers is correct.
For FDR, we should then assume we have a fraction alpha of cases where the hypothesis is False. This would give us better pvalue correction, less conservative than standard FDR, more precise than FDR that estimates the fraction of False cases.
Is this argument correct? I never saw an argument like that.
I think you're talking about the possibility of estimating the overall proportion of true null hypotheses? If so, there are several approaches, including what is discussed around equations (6) and (7) in this paper by John Storey:
They refer also to Efron's 2001 empirical Bayes approach, which I like better.
There is also the "central matching" idea where you take the empirical distribution of Z-scores and fit a Gaussian to the center of the distribution, which is assumed to come almost entirely from true nulls.
I have some code for Efron's local FDR and some central matching code that I have been planning to clean up and submit in a PR.
We already have two p-value correction methods that estimate the proportion of true null (or true false) hypothesis. That's what made me think of the possible usage.
The application to outlier detection would be mainly based on regression residuals.
If we use robust.RLM with a normal as reference distribution, then we already have the "central matching" if I interpret this right.
One of my thoughts was that this could also apply to non-normal distributions, like outlier detection in Poisson regression.
I'm unclear about the details, but the essential idea was that we can extend outlier tests that in the simplest use just Bonferroni, to the much better FDR with estimated proportion of true/false outliers.
Both PRs would be very useful. I think it's important to have good multiple testing approaches in statsmodels.
Activity
kshedden commentedon Feb 13, 2014
I think you're talking about the possibility of estimating the overall proportion of true null hypotheses? If so, there are several approaches, including what is discussed around equations (6) and (7) in this paper by John Storey:
http://www.genomine.org/papers/directfdr.pdf
They refer also to Efron's 2001 empirical Bayes approach, which I like better.
There is also the "central matching" idea where you take the empirical distribution of Z-scores and fit a Gaussian to the center of the distribution, which is assumed to come almost entirely from true nulls.
I have some code for Efron's local FDR and some central matching code that I have been planning to clean up and submit in a PR.
josef-pkt commentedon Feb 13, 2014
Yes, that sounds similar.
We already have two p-value correction methods that estimate the proportion of true null (or true false) hypothesis. That's what made me think of the possible usage.
The application to outlier detection would be mainly based on regression residuals.
If we use robust.RLM with a normal as reference distribution, then we already have the "central matching" if I interpret this right.
One of my thoughts was that this could also apply to non-normal distributions, like outlier detection in Poisson regression.
I'm unclear about the details, but the essential idea was that we can extend outlier tests that in the simplest use just Bonferroni, to the much better FDR with estimated proportion of true/false outliers.
Both PRs would be very useful. I think it's important to have good multiple testing approaches in statsmodels.