Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Related to problem 2 1 in chapter 1 2 and problem 2 7 in chapter 1 4 . Description of the data set

1. Related to problem 21 in chapter 12 and problem 27 in chapter 14. Description of the data set is provided in page 161(problem 12 in chapter 8). Dataset EX0812.txt is posted.
(Note: If you use infile and input statement to read in data, put $ after the variable sex to indicate that the values are characters. E.g.
input id x1 x2 y clrzne sex $ ;)
a. Fit the regression model of Y (change in refraction error) on X1, sex and X1*sex. Write down the fitted regression model.
b. Based on the fitted model in (a), write down the regression models of Y on X1 for males and females separately. What is the difference of intercepts in these two models? What is the difference of slopes in these two models? Which of the parameters in model (a) do they correspond to, respectively?
c. Test whether the straight lines for males and females coincide (i.e., are the same) with alpha=0.1. State your null hypothesis in terms of the coefficients. Provide you SAS code and output for conducting the analysis. Figure out your F value and p value based on output, and then draw a conclusion.
d. Test whether the straight lines for males and females are parallel with alpha=0.1. State your null hypothesis in terms of the coefficients. Provide you SAS code and output for conducting the analysis. Figure out your F value and p value based on output, and then draw a conclusion.
e. Based on your answers to questions (c) and (d), comment on differences and similarities in the change in refraction-baseline refractive error relationship for males and females.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions