You are on page 1of 3

10.

5 Multiple Regression on the TI-83+ (or higher) Graphing Calculator


10-5_multiple_regression.doc

Program A2MULREG Demo problem from 10_05_stat_class_exercises_su08 as follows: A wildlife analyst gathered the data in the table to develop an equation to predict the weights of bears. He used WEIGHT as the dependent variable and CHEST, LENGTH, and SEX as the independent variables. For SEX, he used male=1 and female=2. Answer B) WEIGHT = -442.6 + 12.1CHEST + 3.6LENGTH - 23.8SEX; Yes, because the adjusted R2 is high Put the data in L1, L2, L3, L4 L1 dep y W 344 416 220 360 332 140 436 132 356 150 202 365 L2 indep x1 C 45.0 54.0 41.0 49.0 44.0 32.0 48.0 33.0 48.0 35.0 40.0 50.0 L3 indep x2 L 67.5 72.0 70.0 68.5 73.0 63.0 72.0 61.0 64.0 59.0 63.0 70.5 L4 indep x3 S 1 1 2 1 1 2 1 2 2 1 2 1

Press 2nd MATRIX then select MATH and select List>matr( and press ENTER

Put in L1, L2, L3, L4, then 2nd MATRIX select [D] and press ENTER and put a close paren ) and press ENTER

If you want to view the data in the Matrix Press 2nd MATRIX selece [D] and press ENTER twice

THE REGRESSION Press PRGM select A2MULREG and press ENTER twice

press ENTER

press ENTER

For this problem, enter a 3 press ENTER

Enter a 2 press ENTER, then a 3 press ENTER

L1 dep y W 344 416 220 360 332 140 436 132 356 150 202 365

L2 indep x1 C 45.0 54.0 41.0 49.0 44.0 32.0 48.0 33.0 48.0 35.0 40.0 50.0

L3 indep x2 L 67.5 72.0 70.0 68.5 73.0 63.0 72.0 61.0 64.0 59.0 63.0 70.5

L4 indep x3 S 1 1 2 1 1 2 1 2 2 1 2 1

Enter a 4 press ENTER

press ENTER

Test F = 33.99 P-val = 0 R2 = .9273, Adjusted R2 = .9000 se = 35.218 the standard error of the estimate

R is the coefficient of determination that is the amount of the variation in y that is explained by the regression line. 2 Adjusted R is the coefficient of determination modified to account for the number of variables and sample size.

Our answer: y = -442.601 + 12.129x1 + 3.578x2 23.844x3 Authors answer: WEIGHT = -442.6 + 12.1CHEST + 3.6LENGTH - 23.8SEX press ENTER or

If you want to do a prediction and a prediction Interval, press ENTER

Select QUIT and press ENTER if you want to quit

Find the T in table A-3 using DF = 8 and alpha = .05 and type in the T

For SEX, he used male = 1 and female = 2. He took his equation "to the forest" and found a male bear whose chest measured 70.3 inches and who was 64.0 inches long. Answer: B) 635.72

Enter 70.2 for column 2 and 64 for column 3

Enter 1 for column 4

The prediction interval and confidence interval

Y(70.3, 64, 1) = 615.18

L1 dep y W 344 416 220 360 332 140 436 132 356 150 202 365

L2 indep x1 C 45.0 54.0 41.0 49.0 44.0 32.0 48.0 33.0 48.0 35.0 40.0 50.0

L3 indep x2 L 67.5 72.0 70.0 68.5 73.0 63.0 72.0 61.0 64.0 59.0 63.0 70.5

L4 indep x3 S 1 1 2 1 1 2 1 2 2 1 2 1

Select QUIT and press ENTER

You might also like