Question: 1 . Related to problem 2 1 in chapter 1 2 and problem 2 7 in chapter 1 4 . Description of the data set
Related to problem in chapter and problem in chapter Description of the data set is provided in page problem in chapter Dataset EXtxt 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. Eg
input id x x y clrzne sex $ ;
a Fit the regression model of Y change in refraction error on X sex and Xsex Write down the fitted regression model.
b Based on the fitted model in a write down the regression models of Y on X 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 ie are the same with alpha 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 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 refractionbaseline refractive error relationship for males and females.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
