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

КОМЕНТАРІ • 15

  • @ricardoalmeidamagana4860
    @ricardoalmeidamagana4860 2 роки тому +8

    The dataset used is available within the MASS package ,
    # load the package
    library(MASS)
    # Load the bithwt dataset
    data("birthwt")

  • @rohitekka2674
    @rohitekka2674 3 роки тому

    Thanks Marin, this helped my kick start my assignment

  • @moluscosm
    @moluscosm 4 місяці тому +1

    what packages have you loaded? i dont have that function summary ..

  • @soungbrice3064
    @soungbrice3064 2 роки тому

    Excellent video. Everything made simple. Is it possible to explain the coefficient in multiple logistic regression with interaction?

  • @taranaferdous1427
    @taranaferdous1427 2 роки тому +2

    Where is the rest of the video? I mean u said u will interpret the predicted variable? Right?

  • @jzheng13
    @jzheng13 3 роки тому +1

    Could you upload the low birthweight data set? Thank you

  • @eleonorabalzani9532
    @eleonorabalzani9532 Рік тому

    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?

  • @hankl795
    @hankl795 3 роки тому +1

    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!

  • @DRose-rp1pi
    @DRose-rp1pi 2 роки тому +2

    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.

  • @vaibhavborgaonkar7706
    @vaibhavborgaonkar7706 Рік тому

    How to set default values for parameters for the null model

  • @tamunomiechristophergudi8027
    @tamunomiechristophergudi8027 2 роки тому

    dam getting this error code what do I resolve it
    Error in `contrasts

  • @isabellacosta3933
    @isabellacosta3933 3 роки тому

    Why now saying the dataset name when creating the model? Eg: glm(low race + .... Family= binomial data= )

  • @raufunhasan2307
    @raufunhasan2307 Рік тому

    Can you please give me the dataset sir?