# ex4 - Ex 4 proc glm data=gpa class gender*tells SAS that...

This preview shows pages 1–3. Sign up to view the full content.

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.0010 gender 1 0.968521031 B 0.34948426 2.77 0.0071 gender 2 0.000000000 B . . . concept 0.051292777 0.01564649 3.28 0.0016 iq 0.084116772 0.01495472 5.62 <.0001 NOTE: The X'X matrix has been found to be singular, and a generalized inverse was used to solve

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

View Full Document
the normal equations.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern