06.08.2013 Views

Introduction to regression

Introduction to regression

Introduction to 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.

EXCEL Spreadsheet<br />

3-median<br />

<strong>regression</strong><br />

SkillSHEET 3.1<br />

SkillSHEET 3.2<br />

SkillSHEET 3.3<br />

112 Further Mathematics<br />

WORKED<br />

Example<br />

3<br />

remember<br />

remember<br />

1. Assuming data points are in order of increasing x-values:<br />

Step 1: Divide the data points in<strong>to</strong> 3 groups<br />

Step 2: Adjust for ‘unequal’ groups; if there is 1 extra point, put it in the<br />

middle; if there are 2 extra points, put them in the outer groups.<br />

Step 3: Calculate the medians for the 3 groups , , , , ( , ) .<br />

2. For a graphical approach:<br />

Step 4: Place a ruler through the two ‘outer’ medians and move the ruler onethird<br />

of the way <strong>to</strong>wards the middle median.<br />

Step 5: Calculate the y-intercept and the gradient and use these <strong>to</strong> find the<br />

equation of the <strong>regression</strong> line.<br />

3. For an arithmetic approach:<br />

Step 4: Calculate the gradient using the formula:<br />

Step 5: Calculate the y-intercept using the formula:<br />

3B<br />

b<br />

=<br />

m<br />

yU – yL ----------------xU<br />

– xL ( xL yL) ( xM yM) xU yU Fitting a straight line —<br />

the 3-median method<br />

1 Find the <strong>regression</strong> line for the data in the table below using the 3-median<br />

method.<br />

x 2 3 3 4 4 5 5 7<br />

y 1 3 5 3 6 6 7 8<br />

2 a Using the data in the table below, find the <strong>regression</strong> line using the 3-median<br />

method.<br />

b Using this <strong>regression</strong> line determine:<br />

i the value of y when x = 25<br />

ii the value of x when y = 65<br />

iii the x-intercept of the <strong>regression</strong> line.<br />

=<br />

1<br />

-- ( y 3 L + yM + yU) – mxL+ xM + xU [ ( ) ]<br />

x 5 10 20 20 30 40 50 55 60 65 75<br />

y 80 60 50 70 40 55 40 30 10 25 15

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

Saved successfully!

Ooh no, something went wrong!