Skip to content

FAQ/ENH/DOC: regression, model equivalent to statistical tests #2077

Open

Description

@josef-pkt

Many of the one, two or k-sample tests can be calculated also through regression models with appropriate choice of the design matrix.

It would be good to have a list compiling some examples.
-> TODO

As possible enhancement this might provide additional options for the hypothesis test.

example
t-test with unequal variance assumption would be GLS or heteroscedasticity robust OLS. The actual test might have different small sample adjustments, like the degrees of freedom for t-test with unequal variance and unequal sample size.

Another example: Cochran-Armitage test is a score test in a binomial model, with application for example in dose-response models.
Using the standard models we could reuse cluster robust standard errors to get a cluster correlation robust version of Cochran-Armitage. (The change to the test statistic is actually just a change in the variance estimate.)
Dennis Boos On Generalized Score Tests, The American Statistician Vol. 46 (4) 1992 Example 4 on p. 331

another example: Mann–Whitney–Wilcoxon rank sum and rank regression
R. Chen, T. Chen, N. Lu, H. Zhang, P. Wu, C. Feng & X.M. Tu (2014) Extending
the Mann–Whitney–Wilcoxon rank sum test to longitudinal regression analysis, Journal of Applied
Statistics, 41:12, 2658-2675, DOI: 10.1080/02664763.2014.925101
http://dx.doi.org/10.1080/02664763.2014.925101
uses functional response GEE (whatever that is)

another example: McNemar test and extension with generalized score test in GEE
Klingenberg, B. and Agresti, A. (2006), Multivariate Extensions of McNemar's Test. Biometrics, 62: 921–928. doi: 10.1111/j.1541-0420.2006.00525.x
http://onlinelibrary.wiley.com/doi/10.1111/j.1541-0420.2006.00525.x/abstract
based on abstract, I didn't browse the article

Activity

  1. josef-pkt commented on Jan 16, 2020

    @josef-pkt
    MemberAuthor

    I just found out that cochrans-q is a within ANOVA type test for proportions, i.e. similar to the paired/matched and to cluster correlated cases
    https://ncss-wpengine.netdna-ssl.com/wp-content/themes/ncss/pdf/Procedures/NCSS/Cochrans_Q_Test.pdf

    Terminology, sampling structure: complete block design is similar to repeated measures, clustered and to panel data in the sense of possible one way correlation or unobserved heterogeneity.
    References in previous comments uses GEE in this case, but we also have Conditional Logit for the within analysis.

    For multiple, pairwise comparison after cochrans-q test, NCSS docs mention McNemar applied to each pair, and one other method.

  2. josef-pkt commented on Jan 16, 2020

    @josef-pkt
    MemberAuthor

    just a thought:

    block design in cochran's q means we have a 2 x k x g contingency table, binary choice, k treatments and g groups
    Can we use no-difference in treatment (k) direction as null, compute expected frequencies conditional on the k-column sum, and use standard chisquare test? How does that differ from cochrans-q?

    (I haven't tried yet)

  3. changed the title [-]FAQ/ENH/DOC: regression equivalent to statistical tests[/-] [+]FAQ/ENH/DOC: regression, model equivalent to statistical tests[/+] on May 8, 2021
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