Quantile Regression with statsmodels

  Рет қаралды 3,248

Data Science for Everyone

Data Science for Everyone

2 жыл бұрын

Quantile regression is a type of regression analysis used in statistics and econometrics. Whereas the method of least squares estimates the conditional mean of the response variable across values of the predictor variables, quantile regression estimates the conditional median (or other quantiles) of the response variable. Quantile regression is an extension of linear regression used when the conditions of linear regression are not met.
Github: github.com/markumreed/data_sc...
LinkedIn: / data-science-for-everyone

Пікірлер: 6
@madrariabderrahmane2952
@madrariabderrahmane2952 2 жыл бұрын
Thank you very much , you helped me a lot ! very useful .
@DataScienceforEveryone
@DataScienceforEveryone 2 жыл бұрын
Glad to hear that!
@ExplainHowToSimply
@ExplainHowToSimply 2 жыл бұрын
Thanks, that helped a lot :)
@DataScienceforEveryone
@DataScienceforEveryone 2 жыл бұрын
Glad it was helpful!
@Hastur876
@Hastur876 Жыл бұрын
Doing data.plot.scatter(x="income", y="foodexp") early on would make it obvious that you need to take the log of both variables first. When you do log vs log, you'll get quantile estimates that *do* mostly fall within the OLS confidence band. I guess that's happening because you have a very heteroskedastic dataset, where e = kf(x) approximately: obviously the quantile slopes will vary!
@Congy2601
@Congy2601 Жыл бұрын
can I just ask how the code of visualizing the results part would be if you had 2 or more independent variables? thank you in advance!
Recursive Least Squares using the Copper Dataset with statsmodels
10:14
Data Science for Everyone
Рет қаралды 700
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 89 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 88 МЛН
Quantile Regression - EXPLAINED!
12:28
CodeEmporium
Рет қаралды 37 М.
Linear Regressions with StatsModels
44:29
Derek Banas
Рет қаралды 14 М.
The intuition behind quantile regression
16:26
alexcoad1
Рет қаралды 3,9 М.
Quantile Regression in R
12:31
Justin Eloriaga
Рет қаралды 8 М.
Three Things You Should Know about Quantile Regression
8:03
SAS Software
Рет қаралды 19 М.
Quantiles and Percentiles, Clearly Explained!!!
6:30
StatQuest with Josh Starmer
Рет қаралды 311 М.
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН