30.05.2014 Views

CHAPTER 13 Simple Linear Regression

CHAPTER 13 Simple Linear Regression

CHAPTER 13 Simple Linear Regression

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

520 <strong>CHAPTER</strong> THIRTEEN <strong>Simple</strong> <strong>Linear</strong> <strong>Regression</strong><br />

COMPUTATIONAL FORMULA FOR THE Y INTERCEPT, b 0<br />

b0 = Y − b1X<br />

(<strong>13</strong>.4)<br />

where<br />

Y<br />

=<br />

n<br />

∑<br />

i=<br />

1<br />

n<br />

Y<br />

i<br />

X =<br />

n<br />

∑<br />

i=<br />

1<br />

n<br />

X<br />

i<br />

EXAMPLE <strong>13</strong>.3 COMPUTING THE Y INTERCEPT, b 0<br />

, AND THE SLOPE, b 1<br />

Compute the Y intercept, b 0<br />

, and the slope, b 1<br />

, for the Sunflowers Apparel data.<br />

SOLUTION Examining Equations (<strong>13</strong>.3) and (<strong>13</strong>.4), you see that five quantities must be calculated<br />

to determine b 1<br />

and b 0<br />

. These are n, the sample size;<br />

n<br />

∑Y i<br />

i=<br />

1<br />

n<br />

2<br />

∑ X i<br />

i=1<br />

, the sum of the X values;<br />

, the sum of the Y values; , the sum of the squared X values; and XY, the sum<br />

of the product of X and Y. For the Sunflowers Apparel data, the number of square feet is used to<br />

predict the annual sales in a store. Table <strong>13</strong>.2 presents the computations of the various sums<br />

needed for the site selection problem, plus<br />

used to compute SST in Section <strong>13</strong>.3.<br />

n<br />

2<br />

∑Y i<br />

i=1<br />

n<br />

∑ X i<br />

i=<br />

1<br />

i=<br />

1<br />

, the sum of the squared Y values that will be<br />

n<br />

∑<br />

i<br />

i<br />

TABLE <strong>13</strong>.2<br />

Computations for the<br />

Sunflowers Apparel<br />

Data<br />

Square Annual<br />

Store Feet (X ) Sales (Y ) X 2 Y 2 XY<br />

1 1.7 3.7 2.89 <strong>13</strong>.69 6.29<br />

2 1.6 3.9 2.56 15.21 6.24<br />

3 2.8 6.7 7.84 44.89 18.76<br />

4 5.6 9.5 31.36 90.25 53.20<br />

5 1.3 3.4 1.69 11.56 4.42<br />

6 2.2 5.6 4.84 31.36 12.32<br />

7 1.3 3.7 1.69 <strong>13</strong>.69 4.81<br />

8 1.1 2.7 1.21 7.29 2.97<br />

9 3.2 5.5 10.24 30.25 17.60<br />

10 1.5 2.9 2.25 8.41 4.35<br />

11 5.2 10.7 27.04 114.49 55.64<br />

12 4.6 7.6 21.16 57.76 34.96<br />

<strong>13</strong> 5.8 11.8 33.64 <strong>13</strong>9.24 68.44<br />

14 3.0 4.1 9.00 16.81 12.30<br />

Totals 40.9 81.8 157.41 594.90 302.30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!