Introduction à la régression dans R
Richie Cotton
Data Evangelist at DataCamp
La valeur $y$ au moment où $x$ est égal à zéro.
La valeur $y$ augmente d'autant si vous augmentez $x$ d'un point.
$y = intercept + slope * x$






lm(total_payment_sek ~ n_claims, data = swedish_motor_insurance)
Call:
lm(formula = total_payment_sek ~ n_claims, data = swedish_motor_insurance)
Coefficients:
(Intercept) n_claims
19.994 3.414
Call:
lm(formula = total_payment_sek ~ n_claims, data = swedish_motor_insurance)
Coefficients:
(Intercept) n_claims
19.994 3.414
$total\_payment\_sek = 19.994 + 3.414 * n\_claims$
Introduction à la régression dans R