STAT 305 Lab: Simple Linear and Quadratic Regression Analysis, Lab Reports of Statics

A computer lab exercise for stat 305 students, focusing on simple linear and quadratic regression analysis. Students are required to analyze the relationship between electric power consumption, average outside temperature, and tons of product produced, as well as compressive and splitting tensile strengths of concrete batches. Instructions for calculating the least squares line, quadratic curve, r-squared value, and identifying the points on the scatter plot.

Typology: Lab Reports

Pre 2010

Uploaded on 09/02/2009

koofers-user-4a1
koofers-user-4a1 🇺🇸

3

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
STAT 305 COMPUTER LAB (JMP LAB)
1. The electric power, y, consumed each month by a chemical plant is thought to be related
to the average outside temperature, x1, and the tons of product produced, x2. The data for
last year are given below.
y304 290 259 240 250 280 316 300 275 250 275 300
x125 31 45 60 65 72 80 84 75 60 50 40
x2100 95 92 84 96 98 100 102 94 90 98 100
a) If you were using simple linear regression to predict y would you use x1 or x2? Justify your
answer.
b) Using the equation involving both x1 and x2 what output, y, would you predict for x1 = 60
and x2 = 97. Why you be reluctant to predict y for x1 = 60 and x2 = 102? (Construct a plot x1
versus x2 and use that plot to justify your answer.)
c) What equation would you use to estimate electric power consumed? Justify your answer.
d) Construct a histogram and box plot for the output, y.
e) Find the mean and standard deviation of y.
2. Data were collected on the compressive strength, y = c1, and splitting tensile strength, x =
c2, for 10 batches of concrete. A regression analysis was done using compressive
strength as the output and tensile strength as the input. Use the data below to answer the
following questions:
c1 = y
Comp
c2 = x
Tensile
1420 207
1950 233
2230 254
3000 328
3050 325
3070 302
2650 258
3110 335
2985 315
2870 302
a) Find the least squares line and the quadratic curve that fit these data.
b) What is the R2 when one does simple linear regression?
c) Would you use a quadratic fit for these data? Justify your answer.
d) On the scatter plot that includes the linear regression identify
ˆ
i i i
e y y
for the point (207,
1420).

Partial preview of the text

Download STAT 305 Lab: Simple Linear and Quadratic Regression Analysis and more Lab Reports Statics in PDF only on Docsity!

STAT 305 COMPUTER LAB (JMP LAB)

1. The electric power, y , consumed each month by a chemical plant is thought to be related

to the average outside temperature, x 1 , and the tons of product produced, x 2. The data for

last year are given below.

y 304 290 259 240 250 280 316 300 275 250 275 300

x 1 25 31 45 60 65 72 80 84 75 60 50 40

x 2 100 95 92 84 96 98 100 102 94 90 98 100

a) If you were using simple linear regression to predict y would you use x 1 or x 2? Justify your answer. b) Using the equation involving both x1 and x2 what output, y, would you predict for x 1 = 60 and x 2 = 97. Why you be reluctant to predict y for x 1 = 60 and x 2 = 102? (Construct a plot x 1 versus x 2 and use that plot to justify your answer.) c) What equation would you use to estimate electric power consumed? Justify your answer. d) Construct a histogram and box plot for the output, y. e) Find the mean and standard deviation of y.

2. Data were collected on the compressive strength, y = c 1 , and splitting tensile strength, x =

c 2 , for 10 batches of concrete. A regression analysis was done using compressive

strength as the output and tensile strength as the input. Use the data below to answer the

following questions:

c 1 = y Comp c 2 = x Tensile 1420 207 1950 233 2230 254 3000 328 3050 325 3070 302 2650 258 3110 335 2985 315 2870 302 a) Find the least squares line and the quadratic curve that fit these data. b) What is the R^2 when one does simple linear regression? c) Would you use a quadratic fit for these data? Justify your answer.

d) On the scatter plot that includes the linear regression identify ei  yi  y ˆ i for the point (207,