ex1 - Mean Square F Value Pr > F x 1 5.00000000...

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

View Full Document Right Arrow Icon
EX 1: data ex1; /*name the data*/ input x y; /*what order the variables will be in*/ datalines ; /*the data starts after this line*/ 1 2 2 4 3 5 4 5 ; /*for some reason the semicolon gets its own line*/ proc glm data =ex1; /*do a regression on this data set*/ model y=x / solution ; /*dependent variable = independent variable the solution gives the estimates*/ run ; The SAS System 21:58 Saturday, May 3, 2008 1 The GLM Procedure Number of Observations Read 4 Number of Observations Used 4 The SAS System 21:58 Saturday, May 3, 2008 2 The GLM Procedure Dependent Variable: y Sum of Source DF Squares Mean Square F Value Pr > F Model 1 5.00000000 5.00000000 10.00 0.0871 Error 2 1.00000000 0.50000000 Corrected Total 3 6.00000000 R-Square Coeff Var Root MSE y Mean 0.833333 17.67767 0.707107 4.000000 Source DF Type I SS
Background image of page 1

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

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

Unformatted text preview: Mean Square F Value Pr > F x 1 5.00000000 5.00000000 10.00 0.0871 Source DF Type III SS Mean Square F Value Pr > F x 1 5.00000000 5.00000000 10.00 0.0871 Standard Parameter Estimate Error t Value Pr > |t| Intercept 1.500000000 0.86602540 1.73 0.2254 x 1.000000000 0.31622777 3.16 0.0871 Questions: a) What is the model in parameter form? b) What is the model with the estimates plugged in? c) How do we get the t Value for the test for the significance of x? What are the degrees of freedom for this test? d) Can we conclude x (childs age) has a linear association with y (times in the hospital) at the 0.05 level? At the 0.1 level? e) Interpret the R squared value....
View Full Document

Page1 / 2

ex1 - Mean Square F Value Pr > F x 1 5.00000000...

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