Difference between revisions of "Least squares modelling"
Jump to navigation
Jump to search
Kevin Dunn (talk | contribs) |
Kevin Dunn (talk | contribs) |
||
Line 21: | Line 21: | ||
== Resources == | == Resources == | ||
* [[Image:Nuvola_mimetypes_pdf.png|20px|link=Media:2015-4C3-6C3-Least-squares-modelling.pdf]] [[Media:2015-4C3-6C3-Least-squares-modelling.pdf| Class notes 2015]] | * [[Image:Nuvola_mimetypes_pdf.png|20px|link=Media:2015-4C3-6C3-Least-squares-modelling.pdf]] [[Media:2015-4C3-6C3-Least-squares-modelling.pdf| Class notes 2015]] | ||
* [[Image:Nuvola_mimetypes_pdf.png|20px|link=Media:2014-4C3-6C3-Least-squares-modelling.pdf]] [[Media:2014-4C3-6C3-Least-squares-modelling.pdf | Class notes 2014]] | * [[Image:Nuvola_mimetypes_pdf.png|20px|link=Media:2014-4C3-6C3-Least-squares-modelling.pdf]] [[Media:2014-4C3-6C3-Least-squares-modelling.pdf | Class notes 2014]] | ||
Line 32: | Line 32: | ||
! Solution | ! Solution | ||
|- | |- | ||
| | | Watch videos AAA | ||
| [https://docs.google.com/document/d/1qI0J62y4dSIZAWhVfORLkQ9VBuF0YtcEGLsG_gVKpmM Quiz] | |||
| [https://docs.google.com/document/d/1ycOCRHCegJoFH9BE7v3pu2qVQjgSOfWF8FtZXx1Xv44 Solution] | |||
| [ Solution] | |||
|- | |- | ||
| Watch videos | | Watch videos BBB | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1vAF1ManMFZwdfzz2p-7czwE2ytp8zVDVtZY8MIdMpCw Quiz] | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1SjauwrKIhtanlDmog8uZoSueFG0xqWIYCPdhtUyXUn8 Solution] | ||
|- | |- | ||
| Watch videos | | Watch videos CCC | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1O_P1oVSOr1ZQE9_GZcC5K4JwzL1rzdh_YicCvk58L1g Quiz] | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1oiKzCLniZbWhI0zlOTFwnVPD3koP9J-pcnAbYdULoHE Solution] | ||
|- | |- | ||
| Watch videos | | Watch videos DDD | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1taLSvyikn90a8dzZ3Nnd3mhwbcaxdq_6sa0csVpf2Og Quiz] | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1r6T598o56FymYsD3rnkhbZMaA9n9Qua9KY8osEZtObw Solution] | ||
|- | |- | ||
| Watch videos | | Watch videos EEE | ||
| [https://docs.google.com/document/d/ | | [https://docs.google.com/document/d/1PRI02nD-Ds_Et8RxZaWBh5vH1dPVoYMgsna-BxzNPVE Quiz] | ||
| [https://docs.google.com/document/d/1wn7F1FevnUKciyoHclBdoODU2nTM36Cbel0Ur_Se6yk Solution] | |||
| [https://docs.google.com/document/d/ | |||
|} | |} | ||
Revision as of 15:37, 3 January 2016
Learning outcomes
- Understand the difference between correlation and covariance.
- What the objective function of least squares does
- Understand and use an analysis of variance table
- Calculate and interpret the confidence intervals from a least squares model
- Know about the assumptions required to interpret least squares model coefficients
- Use the prediction error range from the model
- Identify outlier points and classify them
- Use the linear model when there are multiple predictor variables (this is what we are building up towards; we will use this extensively in the next topic)
Extended readings/practice
- Run the code below to see how to build and use a linear model in R, but see step 16 and onwards in the R tutorial as well.
- Try some practice problems.
- Describe a linear regression model you have made for a lab report.
- What was the \(R^2\) value?
- How did you calculate the regression model values?
- Use the same data from your report and instead calculate the standard error, \(S_E\). How do you interpret that \(S_E\) value now?
- Do the YouTube challenge: find a video on YouTube that explains the central limit theorem, or the confidence interval, or least squares in a way that is different to explained in class (hopefully you find better explanations than mine). Share the link with a friend in your class.
- Does eating chocolate lead to winning a Nobel prize?
Resources
- Class notes 2015
- Class notes 2014
- Textbook, chapter 4
- Quizzes (with solutions): attempt these after you have watched the videos