12.07.2015 Views

Part 13- Simple linear regression - The University of Jordan

Part 13- Simple linear regression - The University of Jordan

Part 13- Simple linear regression - The University of Jordan

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.

<strong>University</strong> <strong>of</strong> <strong>Jordan</strong> Agricultural Statistic (605150)Faculty <strong>of</strong> AgricultureDr. Amer SalmanDept. <strong>of</strong> Agri. Econ. & Agribusinessβ∑∑x y1=2xx = X − Xy = Y − YFitting the model: the Method <strong>of</strong> Least SquaresSuppose that we have the following equation:y ˆ = −1+xx y ŷ ( y − yˆ)2( y − yˆ)(SSE)1 1 0 (1 – 0) = 1 12 1 1 (1 – 1) = 0 03 2 2 (2 – 2) = 0 04 2 3 (2 – 3) = -1 15 4 4 (4 – 4) = 0 0Sum <strong>of</strong> errors = 0 Sum <strong>of</strong> Squared errors = 2Y3y ˆ = −1+x210-11 2 3 4 5XIt can be shown that there is one (and only one) line for which the SSE is a minimum.This line is called the least square line, the <strong>regression</strong> line, the least squares equation orthe fitted line.- 3 -

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

Saved successfully!

Ooh no, something went wrong!