Skip to content

ENH: t_test_multiple, multiple comparison or testing for regression parameters #3297

Open

Description

@josef-pkt

(another semi-random idea)

related to our missing multiple comparison functions from model results (Wald based), a companion to the standalone multiple testing in k-sample comparisons.

We are still missing automatic creation for contrast or restriction matrices for all_pairs and similar comparison based on params, cov_params and the formula information.

an idea to sidestep this part: add the multiple comparison correction and results for a user provided list or matrix of restrictions.
i.e. use restriction matrix as given as in t_test and wald_test, get the joint multivariate distribution similar to wald_test but then compute hypothesis tests for each sub-test. We could use a standard p-value correction as for multiple testing or, more accurately, use the numerical box probability as it is in the sandbox for multiple testing (theoretically more appropriate but possible integration warnings).

related idea #3295 applications when we want simultaneous confidence intervals for a small number of jointly t or normal distributed random variables.

Pallmann, Philip, and Ludwig A. Hothorn. 2016. “Analysis of Means: A Generalized Approach Using R.” Journal of Applied Statistics 43 (8): 1541–60. doi:10.1080/02664763.2015.1117584.
(not read but sounds good, I assume it's similar to the other Hothorn and co-authors methods.)

side question: comparison to a reference, all-pairs, to the mean
If we assume independence of the k-samples, then testing a set of linear combinations would have a known covariance structure. This could have a more accurate or efficient implementation for the p-values than the multivariate box probability for arbitrary covariance matrix. tukey_hsd is a special case like this.

Activity

  1. josef-pkt commented on Nov 28, 2016

    @josef-pkt
    MemberAuthor

    triggered by looking at http://www.mathworks.com/matlabcentral/fileexchange/25114-anomhei/content/anomheI.m
    which sound like multiple comparison to the mean with specialized critical values.

    see #852 for other k-sample multiple comparisons

  2. josef-pkt commented on Mar 13, 2018

    @josef-pkt
    MemberAuthor

    cross-link to an example for all pairs comparison in a two-way ANOVA model using OLS, base on Wald t_test of estimated params and cov_params
    #4323 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions