Number of Dependent Variables | Nature of Independent Variables | Nature of Dependent Variable(s) | Test(s) | Do it in SAS | Do it in R |
---|---|---|---|---|---|

1 | 0 IVs (1 Population) | Interval & Normal | One-sample t-Test | SAS | R |

Ordinal or Interval (Non-Normal) | One-sample Median Test | SAS | R | ||

Dichotomous | Binomial Test | SAS | R | ||

Nominal | Chi-Square Goodness-of-Fit | SAS | R | ||

1 IV with 2 Levels (Independent Groups) | Interval & Normal | Two Independent Sample t-Test | SAS | R | |

Ordinal or Interval (Non-Normal) | Wilcoxon-Mann-Whitney Test | SAS | R | ||

Nominal | Chi-Square Test | SAS | R | ||

Fisher’s Exact Test | SAS | R | |||

1 IV with 2 or more Levels (Independent Groups) | Interval & Normal | One-way ANOVA | SAS | R | |

Ordinal or Interval (Non-Normal) | Kruskal Wallis | ||||

Nominal | Chi-Square Test | SAS | R | ||

1 IV with 2 Levels (Dependent/Matched Groups) | Interval & Normal | Paired t-Test | SAS | R | |

Ordinal or Interval (Non-Normal) | Wilcoxon Signed Ranks Test | SAS | R | ||

Nominal | McNemar Test | SAS | R | ||

1 IV with 2 or more Levels (Dependent/Matched Groups) | Interval & Normal | One-way Repeated Measures ANOVA | |||

Ordinal or Interval (Non-Normal) | Friedman Test | R | |||

Nominal | Repeated Measures Logistic Regression | ||||

2 or more IVs (Independent Groups) | Interval & Normal | Factorial ANOVA | |||

Ordinal or Interval (Non-Normal) | Ordered Logistic Regression | ||||

Nominal | Factorial Logistic Regression | ||||

1 Interval IV | Interval & Normal | Correlation | SAS | R | |

Simple Linear Regression | SAS | R | |||

Ordinal or Interval (Non-Normal) | Non-parametric Correlation | SAS | R | ||

Nominal | Simple Logistic Regression | SAS | R | ||

1 or more Interval IVs and/or 1 or more Nominal IVs | Interval & Normal | Multiple Linear Regression | SAS | R | |

Analysis of Covariance | SAS | R | |||

Nominal | Multiple Logistic Regression | SAS | R | ||

Discriminant Analysis | |||||

2 or more | 0 | Interval & Normal | Factor Analysis | ||

1 IV with 2 or more Levels (Independent Groups) | Interval & Normal | One-way MANOVA | |||

2 or more | Interval & Normal | Multivariate Multiple Linear Regression | |||

2 sets of 2 or more | 0 | Interval & Normal | Canonical Correlation |

*Reference:*

Introduction to SAS. UCLA: Statistical Consulting Group.

from http://www.ats.ucla.edu/stat/sas/notes2/ (accessed November 24, 2007).