Return to Workshops;SAS Page; Home.
SAS Work Shop - GLM Statistical Programs   
Handout # 3 College of Agriculture


  1. Introduction
  2. Analysis of Variance (ANOVA)
    1. Requirements
      1. Data Structure
        1. Response numeric
        2. Class var's numeric or alpha
      2. Statements
        1. CLASS Statement
        2. MODEL Statement
            - Single terms - Crossed terms (*)
      3. Handling of Missing Values
    2. Additional Statements and Options
      1. MEANS Statement
        1. Multiple Comparison Options
      2. LSMEANS Statement
        1. PDIFF and STDERR Options
      3. CONTRAST and ESTIMATE Statements
      4. OUTPUT Statement
        1. residual analysis
    3. Common Experimental Designs
      1. CRD and RCB
        1. Example 1 - CRD
          • ANOVA table layout
          • SS types
        2. Example 2 - RCB
          • additional term
      2. Split Plot and Split Block (Multiple Error Terms)
        1. Example 3 - Split Plot
          • TEST Statement
        2. Example 4 - Split Block
          • more than one TEST Statement
    4. Regression
      1. Requirements
        1. Data Structure
          1. Response Numeric
          2. Independents Numeric
        2. Statements
          1. No CLASS Statement
          2. MODEL Statement
            • Single terms
            • Crossed terms (*)
        3. Handling of Missing Values
      2. Additional Statements and Options
        1. Output Statement
          1. Regression Diagnostics
          2. Predicted Values
        2. WEIGHT Statement
          1. Variance Stabilization
        3. MODEL Statement Options
          1. Predicted values (P) and CI's (CLI, CLM)
          2. INT and NOINT
      3. Regression Examples
        1. Simple Linear Regression (SLR)
          1. Example 5
        2. Multiple Linear Regression
          1. Example 6
    5. Analysis of Covariance / Dummy Var Regression
      1. Requirements
        1. Data Structure
          1. Response Numeric
          2. Covariate Numeric
          3. Class Var's Numeric or Alpha
        2. Statements
          1. CLASS Statement
          2. MODEL Statement
            • Single terms
            • Crossed terms (*)
        3. Handling of Missing Values
      2. Additional Statements and Options
        1. LSMEANS Statement
          1. Adjusted Means in ANCOVA
        2. CONTRAST Statement
          1. Comparison of means in ANCOVA
          2. Comparison of slopes in D. V. R.
        3. MODEL Statement Options
          1. SOLUTIONS for parameter est's in D. V. R.
          2. INT and NOINT in D. V. R.
      3. Analysis of Covariance (ANCOVA)
        1. Example 7
          1. ANOVA Table
      4. Dummy Var. Regression
        1. Example 8 - with INT
          1. SOLUTIONS Option
            • Estimated Parameters for differential effect
        2. Example 9 - with NOINT
          1. SOLUTIONS Option
            • Parameter estimates
          2. CONTRAST & ESTIMATE Statements
            • Comparing estimated parameters and predicted values


    Return to TOP; Return to SAS Page; Return to Home.