Logistic Regression in R

  Рет қаралды 6,066

Business Science

Business Science

Күн бұрын

Пікірлер: 21
@wayarberry
@wayarberry 3 жыл бұрын
Excellent delivery. Just the right pace and the key points were clear. It sounds highly practiced! One of the things that seems to trip up a lot of you tube presentations is the presenter's fear of missing some obscure point and then later receiving criticism from a peer or "expert." They then launch into needless digressions which confuse the "zero day R person." This is an intro and you stuck to that mission. Great job.
@BusinessScience
@BusinessScience 3 жыл бұрын
Thanks a lot for the positive comments. Glad you enjoyed it.
@rohitekka2674
@rohitekka2674 3 жыл бұрын
This is a brilliant example of end to end logistic regression in R, out there. Thanks!
@BusinessScience
@BusinessScience 3 жыл бұрын
Thanks so much. You are welcome!
@AdilKhan-sh9fv
@AdilKhan-sh9fv 3 жыл бұрын
While splitting the train vs test, is it possible for the train set to contain excessive rows for a particular year, thus skewing the model? Is there a function to balance the #of year types I'm both, train n test sets?
@BusinessScience
@BusinessScience 3 жыл бұрын
Yes, what we normally do is pick a stratification variable. In the resampling functions, there is a strata parameter. This keeps approximate proportions of that feature in both the train and test sets when resampling.
@Sunny-China3
@Sunny-China3 3 жыл бұрын
Very informative video. Sir, kindly make video on poisson regression and and how to calculate euclidean distance of sites. Thanks
@BusinessScience
@BusinessScience 3 жыл бұрын
Thank you. I’ll look into this.
@aaskyboi
@aaskyboi 2 жыл бұрын
I'm getting the following error when I enter the code for prediction_class_test : Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) : factor fl has new levels c
@RavinderRam
@RavinderRam 4 жыл бұрын
awesome tutorial
@BusinessScience
@BusinessScience 4 жыл бұрын
Thank you!! =)
@marcellberto2538
@marcellberto2538 2 жыл бұрын
Hey Matt, Came across this gem of a tutorial, thanks for sharing! A couple of questions: 1) When evaluating the AUC, you used results_tbl %>% roc_auc(year, .pred_1999). Is there a reason why you didn’t use .pred_2008 instead? 2) In the feature importance chart, what do the numbers along the x-axis represent? Your tutorials are great!
@Rohan-Ahad
@Rohan-Ahad 4 жыл бұрын
This tutorial is great! I wonder if it is possible to run logistic regressions for multiple response variables against several explanatory variables in a single coding? I would like to run logistic regressions for multiple outcomes (4 dependent variables) and 4-5 explanatory variables from the same dataset. The conventional approach is time consuming that runs individual logistic regressions (for each response variable) and summarise the outputs in a table. Do you have any advise or tutorial please? Thank you.
@BusinessScience
@BusinessScience 4 жыл бұрын
Made a linear regression + map() tutorial that should help: kzbin.info/www/bejne/rZvCcnSpabt2bq8
@Rohan-Ahad
@Rohan-Ahad 4 жыл бұрын
@@BusinessScience Thank you. I have run the glm model using the map function
@saikoushik8770
@saikoushik8770 3 жыл бұрын
where can I get mpg data shown in tutorial?
@BusinessScience
@BusinessScience 3 жыл бұрын
If you sign up for our R-Tips, we provide all of the data and code files. The mpg data set actually comes from ggplot2 package. Here's a link to our R-Tips Newsletter: mailchi.mp/business-science/r-tips-newsletter
@Talkinglife
@Talkinglife 4 жыл бұрын
Nice
@BusinessScience
@BusinessScience 3 жыл бұрын
Thanks
@slprojecthub
@slprojecthub 4 жыл бұрын
Is business science and data science are same?
@BusinessScience
@BusinessScience 4 жыл бұрын
I am Business Science. Data Science is a field of analytical & statistical study. I teach people like you how to apply data science to business.
Plotting Time Series in R (Bonus: Cyberpunk ggplot theme)
10:19
Business Science
Рет қаралды 4,9 М.
Logistic Regression in R, Clearly Explained!!!!
17:15
StatQuest with Josh Starmer
Рет қаралды 528 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 18 МЛН
Introduction to R: Logistic Regression
18:11
DataDaft
Рет қаралды 2,6 М.
Logistic Regression using R (Simple / Detailed)
27:36
DataExplained
Рет қаралды 3,4 М.
Logistic Regression in R - With Flexplot
12:19
Quant Psych
Рет қаралды 12 М.
modeltime: Time series forecasting in R with tidymodels
11:16
Business Science
Рет қаралды 18 М.
Lec 35: Logistic regression
35:19
NPTEL IIT Guwahati
Рет қаралды 6 М.
Geospatial Map Visualizations in R
12:58
Business Science
Рет қаралды 26 М.
Logistic Regression [Simply explained]
14:22
DATAtab
Рет қаралды 208 М.
Principal Component Analysis (PCA) in R
15:18
Business Science
Рет қаралды 7 М.
5.4 Logistic Regression in R: Understanding The Model Using Data in R
17:52
MarinStatsLectures-R Programming & Statistics
Рет қаралды 18 М.