Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Login

Register Now

It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways

Best Fit Line in Linear Regression

Best Fit Line in Linear Regression
The best fit line in linear regression is the one which tries to minimize the Residual sum of squares.
It is the line which is supposed to give the best predictions on the unseen data depending on the training
data on which it is built..

In simple regression with on independent variable that coefficient is the slope of the line of best fit

In regression with 2 Independent variables the slope is a mix of the two COEFFICIENTS

The constant in regression eqation is is the y intercept of the line of best fit

The eqation for simple or linear regression

Y= a+bx +e
Y is the dependent VARIABLE
x is independent variable
b is the slope of regression line or fit line predictor or estimator
e error
A line of fit is a straight line that is the best approximation of the given set of data

A more accurate method of finding the line of best is the least sqare method

  1. A regression model fits the data well if the differences between observations and predicted values are small and in biased
  2. You can trust the results
  3. VALUE OF R^2 sqare of CORRELATION coefficient
  4. R^2 is called COEFFICIENT of Determination is the %of dependent variable variation that a linear model explains
  5. R^2 value always lie between 0to100%
  6. Larger the R^2 VALUE the better the regression model fits data
  7. Scatter plot or scatter graph depicts the visual picture of regression points and out liers based on the regression line



If you can explain the concept of Best Fit line in a better/simplified way, then please answer it here

We have covered 40+ complete Data Science company interviews from the candidates who cracked these interviews.
Data Science Companies interview questions

We also have 30+ e-books on Amazon, Insta Mojo and books which can be delivered directly on your email address
Complete Set of e-books from The Data Monk

Understand some of the very complex topics in Analytics which are asked in most of the interviews
The Data Monk Top Articles

How to become a Data Scientist? Complete study material, free resources and websites to practice
Become a Data Scientist 

Make your profile on our website and practice at least 5-7 questions per day. Be a part of ~2000 Analytics expert

Nitin Kamal
Co-Founder | The Data Monk

About TheDataMonkMaster

I am the Co-Founder of The Data Monk. I have a total of 4+ years of analytics experience with 3+ years at Mu Sigma and 1 year at OYO. I am an active trader and a logically sarcastic idiot :)

Follow Me

Leave a reply