Embed presentation
Downloaded 162 times


Simple linear regression is a method to model the relationship between a dependent variable (y) and an independent variable (x) using a best fit straight line. The model finds the best fit straight line that minimizes the sum of the squared residuals between the actual y values (yi) and the predicted y values (yî). This allows predicting a dependent variable (salary) based on an independent variable (experience) with the goal of minimizing the difference between predicted (yî) and actual values (yi).

