EAS Publications Series
Volume 66, 2014Statistics for Astrophysics Methods and Applications of the Regression
|Page(s)||41 - 44|
|Published online||23 January 2015|
D. Fraix-Burnet and D. Valls-Gabaud (eds)
EAS Publications Series, 66 (2014) 41–44
Practical Session: Simple Linear Regression
Laboratory LJK, Grenoble University, BP. 53, 38041 Grenoble Cedex 09, France
Two exercises are proposed to illustrate the simple linear regression. The first one is based on the famous Galton's data set on heredity. We use the lm R command and get coefficients estimates, standard error of the error, R2, residuals …In the second example, devoted to data related to the vapor tension of mercury, we fit a simple linear regression, predict values, and anticipate on multiple linear regression.
This pratical session is an excerpt from practical exercises proposed by A. Dalalyan at EPNC (see Exercises 1 and 2 of http://certis.enpc. fr/∼dalalyan/Download/TP_ENPC_4.pdf).
© EAS, EDP Sciences, 2015