Recent News...

Happy Holidays!

Happy Holidays from the MGH Biostatistics Center

Site Redesign

Welcome to our redesigned website!

Support

You are here

Table for Statistical Tests

Outcome variable Explanatory variable Topic
Continuous Dichotomous T-test
Continuous Categorical One-way ANOVA
Continuous Continuous Correlation/Linear regression
Dichotomous Dichotomous Chi-square test
Dichotomous Continuous Logistic regression
Ordinal Dichotomous Wilcoxon test
Ordinal Continuous Rank correlation coefficient
Time to event Dichotomous Log-rank test
Time to event Continuous Cox proportional hazards regression

Two Sample T-test

Code

One-way ANOVA

Code

Pearson Correlation

Code

Linear Regression

Code

Two Sample Binomial

Code

Continuous Logistic

Code

Wilcoxon Test

Code

Rank Correlation Coefficient

Code

Two Sample Logrank Test

Code

Cox Regression

Code