Introducere în Regresia în R
Richie Cotton
Data Evangelist at DataCamp
Valoarea $y$ atunci când $x$ este zero.
Cu cât crește $y$ la o creștere a $x$ cu o unitate.
$y = intercept + pantă * 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$
Introducere în Regresia în R