Presentation is loading. Please wait.

Presentation is loading. Please wait.

Additional HW Exercise 12.11 (a) The breaking strength in pounds of force is being studied for two metal alloys, labeled S and T, and for different temperatures.

Similar presentations


Presentation on theme: "Additional HW Exercise 12.11 (a) The breaking strength in pounds of force is being studied for two metal alloys, labeled S and T, and for different temperatures."— Presentation transcript:

1 Additional HW Exercise 12.11 (a) The breaking strength in pounds of force is being studied for two metal alloys, labeled S and T, and for different temperatures in O F. A 0.05 significance level is chosen for an analysis of covariance. A random sample of breaking strengths is recorded for various temperatures with the two alloys, and the results are displayed on the right. AlloyTemp ( O F) Strength (lbs.) S 10449 S 20464 S 30362 S 40374 S 50369 S 60283 S 70279 S 80296 S 90237 S 100329 T 10427 T 20408 T 30392 T 40410 T 50389 T 60380 T 70413 T 80356 T 90334 T 100348 After defining the appropriate dummy variable for alloy, write a regression model for the prediction of breaking strength from alloy, temperature, and interaction. 1 for alloy S D = 0 for alloy T Y = breaking strength X = temperature Homework #22Score____________/ 20Name ______________

2 Y =  0 +  1 D +  2 X +  12 DX +  or E(Y) =  0 +  1 D +  2 X +  12 DX (b) (c) Create an SPSS data file named metal containing three variables named alloy, temperature, and strength. Define codes for the variable alloy so that 1 (one) represents S, and 0 (zero) represents T. Store the data in this SPSS file by entering each temperature, breaking strength, and coded value for alloy. Use the Analyze > General Linear Model > Univariate options in SPSS to display the Univariate dialog box. Select the variable strength for the Dependent Variable slot, select the variable alloy for the Fixed Factor(s) section, and select the variable temperature for the Covariate(s) section. Click on the Model button to display the Univariate: Model dialogue box. Select the Custom option. Then, select the variable alloy from the list of variables in the Factors & Covariates section on the left, use the Build Term(s) arrow to enter this variable in the Model section on the right. Next, select the variable temperature from the list of variables in the Factors & Covariates section on the left, use the Build Term(s) arrow to enter this variable in the Model section on the right. Finally, select both variable names alloy and temperature before using the Build Term(s) arrow to enter the interaction variable (either alloy*temperature or temperature*alloy) in the Model section on the right. Click on the Continue button to return to the Univariate dialog box. continued next page 

3 Click on the Options button to display the Univariate: Options dialogue box. From the list in the Factor(s) and Factor Interactions section on the left, select OVERALL for the Display Means for section on the right, and select alloy for the Display Means for section on the right. Click on the Continue button to return to the Univariate dialog box. Click on the OK button, after which results are displayed in an SPSS output viewer window. Title the output to identify the homework exercise (Additional HW Exercise 12.11 - part (c)), your name, today’s date, and the course number (Math 214). Use the File > Print Preview options to see if any editing is needed before printing the output. Attach the printed copy to this assignment before submission. Additional HW Exercise 12.11(c) - continued

4 (d)Summarize the results (Step 4) of the f test to see if there is sufficient evidence that the overall regression to predict breaking strength from alloy, temperature, and interaction is significant at the 0.05 level. have sufficient evidence to reject H 0. We conclude that the prediction of breaking strength from alloy, temperature, and interaction is significant (P < 0.01). OR (P < 0.001) 15.062 and f 3,16;0.05 = 3.24, we Since f 3,16 =

5 Summarize the results (Step 4) of the f test to see if there is sufficient evidence at the 0.05 level of a difference in mean breaking strength resulting from interaction between alloy and temperature. Based on the results of this f test, indicate why we should conclude that the regression to predict breaking strength from temperature is not parallel for alloys S and T. Additional HW Exercise 12.11 - continued (e) have sufficient evidence to reject H 0. We conclude that there is a difference in mean breaking strength resulting from interaction between alloy and temperature (0.025 < P < 0.05). OR (P = 0.034) 5.369 and f 1,16;0.05 =4.49, we Since f 1,16 = Since we have rejected H 0, we should conclude that the regression to predict breaking strength from temperature is not parallel for alloys S and T.

6 Use the SPSS output from part (f) to write the least squares regression equation for predicting breaking strength from alloy, temperature, and interaction. For each alloy, obtain a least squares regression equation for the prediction of breaking strength from temperature. Additional HW Exercise 12.11 - continued (g) (h) (i) strength = 432.667 + 23.867(D) – 0.854(temp) – 1.188(D)(temp) For alloy S, D = 1 which implies strength = 432.667 + 23.867(1) – 0.854(temp) – 1.188(1)(temp) = 456.534 – 2.042(temp) For alloy T, D = 0 which implies strength = 432.667 + 23.867(0) – 0.854(temp) – 1.188(0)(temp) = 432.667 – 0.854(temp) Use SPSS to graph both least squares lines on a scatter plot by doing the following:

7 Additional HW Exercise 12.12 (a) The right-hand grip strength in pounds is being studied for right-handed males and females at different ages. A 0.05 significance level is chosen for an analysis of covariance. Right-hand grip strengths are recorded for random males and females of various ages, and the data is stored in the SPSS file named grip_compare. After looking at how sex is coded in the SPSS data file grip_compare, then define the appropriate dummy variable for sex, and write a regression model for the prediction of grip strength from sex, age, and interaction. After obtaining a copy of the SPSS file named grip_compare, note that the variable names are sex, age, and gripstrn. Use the SPSS instructions in part (c) of Additional HW Exercise 12.11 as a guide to obtain the same output for the data of this exercise that was obtained previously for the data of Additional HW Exercise 12.11. (b) 1 for female D = 0 for male Y = grip strength X = age Y =  0 +  1 D +  2 X +  12 DX +  or E(Y) =  0 +  1 D +  2 X +  12 DX

8 (c) Summarize the results (Step 4) of the f test to see if there is sufficient evidence that the overall regression to predict grip strength from sex, age, and interaction is significant at the 0.05 level. have sufficient evidence to reject H 0. We conclude that the prediction of grip strength from sex, age, and interaction is significant (P < 0.01). OR (P < 0.001) 120.707 and f 3,18;0.05 =3.16, we Since f 3,18 = Title the output to identify the homework exercise (Additional HW Exercise 12.12 - part (b)), your name, today’s date, and the course number (Math 214). Use the File > Print Preview options to see if any editing is needed before printing the output. Attach the printed copy to this assignment before submission.

9 Summarize the results (Step 4) of the f test to see if there is sufficient evidence at the 0.05 level of a difference in mean grip strength resulting from interaction between sex and age. Based on the results of this f test, explain why we should remove the interaction term from the model and conclude that the regression to predict grip strength from age is parallel for males and females. Additional HW Exercise 12.12 - continued (d) do not have sufficient evidence to reject H 0. We conclude that there is no difference in mean grip strength resulting from interaction between sex and age (0.10 < P). OR (P = 0.296) 1.157 and f 1,18;0.05 =4.41, we Since f 1,18 = Since we have not rejected H 0, we should conclude that the regression to predict grip strength from age is parallel for males and females. Use the Analyze > General Linear Model > Univariate options in SPSS to repeat part (b) without the interaction variable in the model. (e)


Download ppt "Additional HW Exercise 12.11 (a) The breaking strength in pounds of force is being studied for two metal alloys, labeled S and T, and for different temperatures."

Similar presentations


Ads by Google