Interpreting the Summary table from OLS Statsmodels | Linear Regression

  Рет қаралды 47,903

Bhavesh Bhatt

Bhavesh Bhatt

Күн бұрын

In this video, we will go over the regression result displayed by the statsmodels API, OLS function. We will go over R squared, Adjusted R-squared, F-statistic & T-test of the feature values.
Link to the notebook : github.com/bha...
If you do have any questions with what we covered in this video then feel free to ask in the comment section below & I'll do my best to answer those.
If you enjoy these tutorials & would like to support them then the easiest way is to simply like the video & give it a thumbs up & also it's a huge help to share these videos with anyone who you think would find them useful.
Please consider clicking the SUBSCRIBE button to be notified for future videos & thank you all for watching the video.
You can find me on:
Blog - bhattbhavesh91....
Twitter - / _bhaveshbhatt
GitHub - github.com/bha...
Medium - / bhattbhavesh91
#LinearRegression #statsmodels #interpretation

Пікірлер: 86
@joemireku7104
@joemireku7104 6 ай бұрын
I am glad you created this video 4 years ago.
@bhattbhavesh91
@bhattbhavesh91 6 ай бұрын
Glad it was helpful!
@suhailchougle7315
@suhailchougle7315 4 жыл бұрын
It's like the concepts which I couldn't find anywhere else on youtube, I end up here. This is exaclty what I was looking for, the explanation of this "ols.summary()".I believed I wouldn't find any. But here I am. I really really appreciate this buddy .Thank you so much.
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
Glad it was helpful!
@dhananjaykansal8097
@dhananjaykansal8097 4 жыл бұрын
This is just too good Bhavesh bhai. Please keep this work going. It's so helpful that I can't put it into words. Thanks a lot.
@jorgemarin7
@jorgemarin7 3 жыл бұрын
Thank you Bhavesh!! Just what I was looking for and very well explained.
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
Glad you liked it
@WillC
@WillC 2 жыл бұрын
Brilliant! Thank you Bhavesh.
@brunocoelho9088
@brunocoelho9088 2 жыл бұрын
I don't think you should get into the habit of filtering warnings - this may hide important information - The correct way is to only hide the specific type of warnings you want to.
@asadtanvir4065
@asadtanvir4065 4 жыл бұрын
Hi Bhavesh, thank you for this nice interpreting video. I have two questions though: #1 You didn't go through the Df residuals, Df model, Log-likelihood etc. stuffs. It would be good if you could cover those in this video, OR at least state the significance of those parameters here in the comment section. #2 Is there any way to get SSE (sum of squared errors), SSR(sum of squared regression) values of this fitted model?
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
I wanted to keep the video simple so skipped some parts! I'll cover the remaining topics in the near future videos! Thanks
@souhamahmoudi7745
@souhamahmoudi7745 Жыл бұрын
Thank you very much for this tutorial, it's really hepful !
@ruteshrathod3844
@ruteshrathod3844 4 жыл бұрын
thanks, Bhavesh Sir, for making concept clear about feature selection
@Sharukkhan-kx9rw
@Sharukkhan-kx9rw 4 жыл бұрын
Thanks for the Great Video, Could you tell me What the number represents [0.025 0.975] ?
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
I'll create a new video around this soon!
@areejawanareejawan1615
@areejawanareejawan1615 2 жыл бұрын
It's really amazing thanks for such informative and highly understandable videos.
@prabhakaranshanmugam5295
@prabhakaranshanmugam5295 4 жыл бұрын
Please Explain about omnibus, durbin watson jarque bera etc
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
I will cover this in the next set of videos!
@SaffronKage
@SaffronKage Жыл бұрын
Super thanks such a simple and accurate explanation being from programming background the stats summary interpretation was bugging me a lot
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Glad you liked it!
@SheikhMozaffarHossain
@SheikhMozaffarHossain Жыл бұрын
How does OLS ewquation look like?
@abhijeetpatil6634
@abhijeetpatil6634 4 жыл бұрын
Thanks Bhavesh for such a beautiful video
@kancharlasrimannarayana7068
@kancharlasrimannarayana7068 Жыл бұрын
we have to remove outliers and do the ols model?
@julesdrums6167
@julesdrums6167 Жыл бұрын
Thanks! Extremely helpful. What about log-likelihood, AIC, and BIC?
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Will upload soon
@lokeshrathi5500
@lokeshrathi5500 4 жыл бұрын
You making these videos as early as 6:47 AM shows your hard work and passion for this! Thank you so much for your Work! Question:" The condition number is large, 2.9e+04. This might indicate that there are strong multicollinearity or other numerical problems." - what do you infer from this?
@GauravSharma-ui4yd
@GauravSharma-ui4yd 4 жыл бұрын
Great Explanation :). But you skipped some parts. I also want to know what is AIC, BIC at upper right. And what is [0.025 0.975] columns after the t-test columns. What is that omnibus? Are the skew & kurtosis are of response distribution? And all the remaining statistics at the bottom.
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
I wanted to keep the video simple so skipped some parts! I'll cover the remaining topics in the near future videos! Thanks
@GauravSharma-ui4yd
@GauravSharma-ui4yd 4 жыл бұрын
@@bhattbhavesh91 thankyou for the reply and please cover that asap.
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
@@GauravSharma-ui4yd - I will try! I'm loaded with work at this point of time!
@shubhamkumarjha1868
@shubhamkumarjha1868 4 жыл бұрын
@@bhattbhavesh91 Can you share the link if you have posted the video
@PavanKumar-uw7si
@PavanKumar-uw7si 2 жыл бұрын
Great Explanation dude!!
@victorperezandres7966
@victorperezandres7966 3 жыл бұрын
Amazing video. Really helpful. Simple & clear. Thanks a lot!
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
You're welcome!
@faiquejatu8649
@faiquejatu8649 4 жыл бұрын
hellow sir, one thing i would like to ask is what optimization algorithm does stats.model.api OLS uses, ? just like sklearn linearRegression uses ClosedForm solutions. Thank you in advance 😊
@vipultyagi74
@vipultyagi74 4 жыл бұрын
It uses Gradient descent
@SumitKumar-uq3dg
@SumitKumar-uq3dg 4 жыл бұрын
Hi Bhavesh. Really a big fan of ur videos. U have made all topics so easy to understand. Can u pls make a video on evaluating a logistic regression model with statistics like ks test, psi, concordance pls
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
Thanks for your kind words Sumit! I'll make a video on how you can evaluate logistic regression soon!
@anjan700
@anjan700 4 жыл бұрын
@@bhattbhavesh91 Hi! Is the video published? If yes can you post the link here.
@tejasbiraris9077
@tejasbiraris9077 Жыл бұрын
This was quite helpful. Thankyou so much
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Glad it was helpful!
@389_kavetiupender2
@389_kavetiupender2 3 жыл бұрын
Hello sir, I'm working on a project, I have a dataset less 100 values. I have created a regression model but I am ending with huge MSE value. Sir can u suggest any idea or techniques so that my model performance will be improved.
@ice-skully2651
@ice-skully2651 Жыл бұрын
Thank you for the explanation, though I have an issue with understanding why we should omit feature 3, it is the only feature with a high p-value and therefore fails to reject the null coef = 0 hypothesis meaning that there is a linear relationship between it and the target.
@I3oblivion
@I3oblivion 3 жыл бұрын
Hi, I have a question about my specific results. Would I be able to send you my statsmodel summary results and you can help me interpret them for my case?
@RajibDas-kq2uz
@RajibDas-kq2uz 4 жыл бұрын
if we have categorical and continuous combine my X and continuous Y , i have categorical variables and my target is continuous variable. that time what we will do ? i can check p value like this for categorical variables is well
@fahimmuntasirniloy
@fahimmuntasirniloy 2 жыл бұрын
Thanks for the quick and concise explanation.
@heitorosorio1847
@heitorosorio1847 4 жыл бұрын
Thanks for the video. What about the column "Std err" ?
@daveneifer2456
@daveneifer2456 4 жыл бұрын
Thanks so much for the breakdown of the results table, it was very helpful.
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
You're very welcome Dave!
@hemchandrapatil8697
@hemchandrapatil8697 3 жыл бұрын
If I have a categorical variable, then how to identify that it is significant or not?
@fvc1612
@fvc1612 4 жыл бұрын
Are those the results of causality or only a significant relation between variables?
@manishkumarsinghwxkvdgjjix3139
@manishkumarsinghwxkvdgjjix3139 4 жыл бұрын
Sir its really helpful. But i have a as if R squared value is far for 1 and p>t is also less then 0.05 then what we do ??
@SHUBHAMKUMAR-ty6bh
@SHUBHAMKUMAR-ty6bh 2 жыл бұрын
Bhavesh you are great. Very nice interpretation.
@ZhiboXiao
@ZhiboXiao 4 жыл бұрын
The clearest explanation! Thank you!
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
Glad you think so!
@binyameenkv5068
@binyameenkv5068 3 жыл бұрын
Thank you so much... That was a really informative video! I just couldn't understand one thing, why are we adding a constant column and appending it to actual x column?
@chiragagrawal7104
@chiragagrawal7104 4 жыл бұрын
how to improve the condition number??
@md.sultanmahmud1321
@md.sultanmahmud1321 4 жыл бұрын
Hi Bhavesh, Can you please tell me about the beta coefficient? Which one is the beta coefficient in the summary results?
@sriram_cyber5696
@sriram_cyber5696 Жыл бұрын
Amazing Tutorial
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Glad you liked it
@preeethan
@preeethan 4 жыл бұрын
Can we use VIF also to evaluate the features.?
@hemangdhanani9434
@hemangdhanani9434 Жыл бұрын
awesome explanation
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Glad you liked it
@Mrjacksurvival
@Mrjacksurvival 4 жыл бұрын
Great video. How to put uncertainty of measures in the regression?
@anasali4782
@anasali4782 3 жыл бұрын
Great video!
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
Glad you enjoyed it
@ncatch25
@ncatch25 4 жыл бұрын
Could you please explain how the Durbin-Watson output is interpreted?
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
I have created a video on Durbin Watson test! Do have a look - kzbin.info/www/bejne/fJqlc6OpmMdpm9U
@robertomatsumotocobra7684
@robertomatsumotocobra7684 3 жыл бұрын
Thank you very much, it was really elucidative!
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
Glad it was helpful!
@mobbie16995
@mobbie16995 3 жыл бұрын
Thanks great explanation - you're the best!
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
Glad you think so!
@joyvictor6165
@joyvictor6165 3 жыл бұрын
This was absolutely useful. Thank you
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
You are welcome
@kailashsinghrautela8253
@kailashsinghrautela8253 4 жыл бұрын
Nice and concise thanks very much
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
Glad it helped
@dcshortshorty475
@dcshortshorty475 4 жыл бұрын
DEEPESH CHADHA
@AmandeepKaur-ot1tn
@AmandeepKaur-ot1tn 4 жыл бұрын
what is the method to save stats model sir.
@bhattbhavesh91
@bhattbhavesh91 4 жыл бұрын
I didn't fully understand your question!
@ronnawatprangtip8555
@ronnawatprangtip8555 3 жыл бұрын
Thank you for your clear explain:>)
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
Glad it was helpful!
@nitul_singha
@nitul_singha 4 жыл бұрын
thank you
@daphnes1001
@daphnes1001 4 жыл бұрын
thank you so much!
@antonyvibin3274
@antonyvibin3274 4 жыл бұрын
Good one buddy :)
@siddharth4251
@siddharth4251 5 ай бұрын
nice explanation brother!
@bhattbhavesh91
@bhattbhavesh91 5 ай бұрын
Appreciate it!
Principal Component Analysis (PCA) to Address Multicollinearity
12:54
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 47 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,5 МЛН
Mastering Multiple Linear Regression in Scikit-Learn: A Step-by-Step Guide
25:58
Ryan & Matt Data Science
Рет қаралды 7 М.
Regression Analysis   StatsModel
19:02
Ismail Capar
Рет қаралды 34 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 174 М.
Verifying the Assumptions of Linear Regression in Python
7:38
Bhavesh Bhatt
Рет қаралды 11 М.
Linear regression using R programming
20:01
R Programming 101
Рет қаралды 103 М.
Linear Regression in Python - Full Project for Beginners
50:52
Alejandro AO - Software & Ai
Рет қаралды 23 М.
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 257 М.
How to interpret OLS regression results
16:40
Steven Proud
Рет қаралды 10 М.
Linear Regressions with StatsModels
44:29
Derek Banas
Рет қаралды 15 М.
Multiple Linear Regression using python and sklearn
19:51
Krish Naik
Рет қаралды 150 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 47 МЛН