{
  "name": "Comparison of Statistical Hypothesis Testing Procedures in SAS",
  "description": "Structured methodological comparison of hypothesis testing procedures available in SAS software, detailing sample design types, parametric assumptions, variance estimators, degrees of freedom formulations, and corresponding SAS procedure statements compiled from SAS/STAT documentation and NIST statistical standards.",
  "page": "https://casrai.org/guides/t-test-in-sas",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-23T23:46:03Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Procedure Design",
      "unit": "",
      "description": "Experimental design and sample configuration"
    },
    {
      "name": "Sample Structure",
      "unit": "",
      "description": "Observational structure and data layout"
    },
    {
      "name": "Null Hypothesis",
      "unit": "",
      "description": "Mathematical null hypothesis formulation"
    },
    {
      "name": "Variance Condition",
      "unit": "",
      "description": "Variance assumption and estimation method"
    },
    {
      "name": "Degrees of Freedom",
      "unit": "",
      "description": "Formula for inferential degrees of freedom"
    },
    {
      "name": "Core SAS Procedure",
      "unit": "",
      "description": "Primary procedure and statement syntax"
    },
    {
      "name": "Nonparametric Alternative",
      "unit": "",
      "description": "Distribution-free alternative procedure in SAS"
    }
  ],
  "rows": [
    {
      "Procedure Design": "One-Sample t-Test",
      "Sample Structure": "Single sample against population standard",
      "Null Hypothesis": "H0: mu = mu_0",
      "Variance Condition": "Known or estimated sample variance s^2",
      "Degrees of Freedom": "df = n - 1",
      "Core SAS Procedure": "PROC TTEST DATA=data H0=val; VAR y;",
      "Nonparametric Alternative": "PROC UNIVARIATE (Wilcoxon signed-rank)"
    },
    {
      "Procedure Design": "Two-Sample Pooled t-Test",
      "Sample Structure": "Two independent samples with equal variance",
      "Null Hypothesis": "H0: mu_1 - mu_2 = 0",
      "Variance Condition": "Homoscedastic pooled variance s_p^2",
      "Degrees of Freedom": "df = n_1 + n_2 - 2",
      "Core SAS Procedure": "PROC TTEST DATA=data; CLASS group; VAR y;",
      "Nonparametric Alternative": "PROC NPAR1WAY (Wilcoxon rank-sum)"
    },
    {
      "Procedure Design": "Two-Sample Satterthwaite t-Test",
      "Sample Structure": "Two independent samples with unequal variance",
      "Null Hypothesis": "H0: mu_1 - mu_2 = 0",
      "Variance Condition": "Heteroscedastic separate variances s_1^2, s_2^2",
      "Degrees of Freedom": "Satterthwaite adjusted approximation df",
      "Core SAS Procedure": "PROC TTEST DATA=data; CLASS group; VAR y;",
      "Nonparametric Alternative": "PROC NPAR1WAY (Wilcoxon / Fligner-Policello)"
    },
    {
      "Procedure Design": "Paired-Samples t-Test",
      "Sample Structure": "Correlated or repeated measures on same subjects",
      "Null Hypothesis": "H0: mu_d = 0",
      "Variance Condition": "Variance of within-pair difference scores s_d^2",
      "Degrees of Freedom": "df = n_pairs - 1",
      "Core SAS Procedure": "PROC TTEST DATA=data; PAIRED y1*y2;",
      "Nonparametric Alternative": "PROC UNIVARIATE (Wilcoxon signed-rank on diff)"
    },
    {
      "Procedure Design": "One-Way ANOVA",
      "Sample Structure": "Three or more independent treatment cohorts",
      "Null Hypothesis": "H0: mu_1 = mu_2 = ... = mu_k",
      "Variance Condition": "Equal group variances across all k levels",
      "Degrees of Freedom": "df_num = k - 1; df_den = N - k",
      "Core SAS Procedure": "PROC GLM DATA=data; CLASS group; MODEL y = group;",
      "Nonparametric Alternative": "PROC NPAR1WAY (Kruskal-Wallis test)"
    },
    {
      "Procedure Design": "Two-Way Factorial ANOVA",
      "Sample Structure": "Two crossing classification factors plus interaction",
      "Null Hypothesis": "H0: main effects and interaction equal zero",
      "Variance Condition": "Homoscedastic residual variance across cells",
      "Degrees of Freedom": "df based on factor levels and interaction cells",
      "Core SAS Procedure": "PROC GLM DATA=data; CLASS a b; MODEL y = a b a*b;",
      "Nonparametric Alternative": "PROC RANK followed by PROC GLM"
    }
  ],
  "sources": [
    {
      "title": "SAS Institute: SAS/STAT User's Guide (The TTEST Procedure)",
      "url": "https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_ttest_sect001.htm",
      "accessed": "2026-11-23"
    },
    {
      "title": "National Institute of Standards and Technology: Two-Sample t-Test for Equal Means",
      "url": "https://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm",
      "accessed": "2026-11-23"
    }
  ]
}