mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
792 B
792 B
Linear Regression
Linear regression models the relationship between a numeric outcome and one or more predictor variables, fitting a straight line, or hyperplane with multiple predictors, that best describes the relationship. R's lm() function fits linear models with a simple formula syntax, like lm(sales ~ advertising). Checking the model's assumptions, like linearity and constant variance of the errors, matters for trusting its results.
Visit the following resources to learn more: