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