Hostname: page-component-78c5997874-s2hrs Total loading time: 0 Render date: 2024-11-02T18:52:49.651Z Has data issue: false hasContentIssue false

Practical Session: Simple Linear Regression

Published online by Cambridge University Press:  23 January 2015

M. Clausel*
Affiliation:
Laboratory LJK, Grenoble University, BP. 53, 38041 Grenoble Cedex 09, France
G. Grégoire*
Affiliation:
Laboratory LJK, Grenoble University, BP. 53, 38041 Grenoble Cedex 09, France
*
galton.org/essays/1880-1889/galton-1886-jaigi-regression-stature.pdf
galton.org/essays/1880-1889/galton-1886-jaigi-regression-stature.pdf
Get access

Abstract

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).

Type
Research Article
Copyright
© EAS, EDP Sciences, 2015

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)