ex4 - Ex 4: proc glm data =gpa; class gender; /*tells SAS...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Ex 4: proc glm data =gpa; class gender; /*tells SAS that gender is categorical*/ model gpa = gender concept iq / solution ; /*creates a model with different intercepts for each gender*/ run ; The GLM Procedure Class Level Information Class Levels Values gender 2 1 2 Number of Observations Read 78 Number of Observations Used 78 The SAS System 15:25 Thursday, May 8, 2008 2 The GLM Procedure Dependent Variable: gpa Sum of Source DF Squares Mean Square F Value Pr > F Model 3 176.7822283 58.9274094 26.81 <.0001 Error 74 162.6446631 2.1979009 Corrected Total 77 339.4268914 R-Square Coeff Var Root MSE gpa Mean 0.520826 19.90901 1.482532 7.446538 Source DF Type I SS Mean Square F Value Pr > F gender 1 3.2156809 3.2156809 1.46 0.2303 concept 1 104.0294673 104.0294673 47.33 <.0001 iq 1 69.5370801 69.5370801 31.64 <.0001 Source DF Type III SS Mean Square F Value Pr > F gender 1 16.87994270 16.87994270 7.68 0.0071 concept 1 23.62035604 23.62035604 10.75 0.0016 iq 1 69.53708008 69.53708008 31.64 <.0001 Standard Parameter Estimate Error t Value Pr > |t| Intercept -5.022359695 B 1.46953137 -3.42 0.00100....
View Full Document

This note was uploaded on 07/25/2008 for the course STT 422 taught by Professor Porter during the Summer '08 term at Michigan State University.

Page1 / 6

ex4 - Ex 4: proc glm data =gpa; class gender; /*tells SAS...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online