6.2 Logistic Regression Models in R
Вставка
- Опубліковано 13 січ 2021
- In this video we walk through fitting a logistic regression model in R, using multiple X variables. The focus is on fitting the model and getting the model summary. In separate videos we will use the model output to answer a bunch of questions, both by hand calculations as well as using R to get answers.
►► Watch More:
► Statistics Course for Data Science bit.ly/2SQOxDH
►R Course for Beginners: bit.ly/1A1Pixc
►Getting Started with R using R Studio (Series 1): bit.ly/2PkTneg
►Graphs and Descriptive Statistics in R using R Studio (Series 2): bit.ly/2PkTneg
►Probability distributions in R using R Studio (Series 3): bit.ly/2AT3wpI
►Bivariate analysis in R using R Studio (Series 4): bit.ly/2SXvcRi
►Linear Regression in R using R Studio (Series 5): bit.ly/1iytAtm
►ANOVA Statistics and ANOVA with R using R Studio : bit.ly/2zBwjgL
►Hypothesis Testing Videos: bit.ly/2Ff3J9e
►Linear Regression Statistics and Linear Regression with R : bit.ly/2z8fXg1
Follow MarinStatsLectures
Subscribe: goo.gl/4vDQzT
website: statslectures.com
Facebook: goo.gl/qYQavS
Twitter: goo.gl/393AQG
Instagram: goo.gl/fdPiDn
Our Team:
Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
These videos are created by #marinstatslectures to support some statistics courses at the University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials ), although we make all videos available to the everyone everywhere for free.
Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
#statistics #rprogramming
The dataset used is available within the MASS package ,
# load the package
library(MASS)
# Load the bithwt dataset
data("birthwt")
Thanks, Ricardo.
Thanks Marin, this helped my kick start my assignment
what packages have you loaded? i dont have that function summary ..
Excellent video. Everything made simple. Is it possible to explain the coefficient in multiple logistic regression with interaction?
Where is the rest of the video? I mean u said u will interpret the predicted variable? Right?
Could you upload the low birthweight data set? Thank you
Hi! thank you for your video. I tried to perform logistic regression model, but every time I try, "non-numeric argument to binary operator" error appears on my monitor. I do not understand, my variable is binary (0=no event, 1=event). What can I do to perform it? Has anyone of you had the same problem?
In real world data, the outcome (Y variable) classes can be highly imbalanced. For example, the ratio of alive to died is 10:1. When using logistic regression to make an effect size model(where the goal is purely inferential), is the class imbalance an issue that needs to be addressed? If yes, how to address it? I wonder, without adjustment, how reliable the estimated coefficients can be if the outcome is predominated by one of the two classes. Does it impact model credibility? Thanks!
Mike, thanks for this series on a logistic regression. I have worked as a statistician for many years but have not used logistics regression very often in my work. Your R tutorial and now this logistic series has been incredibly helpful!
I hate to ask, but do you have the "low birth weight" data csv somewhere on your website? I could not find it.
It is from MASS package , the ‘birthswt’ data set
How to set default values for parameters for the null model
dam getting this error code what do I resolve it
Error in `contrasts
Why now saying the dataset name when creating the model? Eg: glm(low race + .... Family= binomial data= )
Can you please give me the dataset sir?