Logistic regression in R

Sdílet
Vložit
  • čas přidán 9. 05. 2023
  • Learn how to use R to fit a model to a binary (yes/no) response variable, regardless of whether you have raw data or proportions. If this vid helps you, please help me a tiny bit by mashing that 'like' button. For more #rstats joy, crush that 'subscribe' button!

Komentáře • 25

  • @EquitableEquations
    @EquitableEquations  Před rokem +4

    You can find materials supporting this vid (and others) at github.com/equitable-equations/youtube.

    • @muqadasjaved7751
      @muqadasjaved7751 Před 4 měsíci

      Can you please do multivariate detrended fluctuations analysis or multifractal detrended fluctuations analysis in rstudio?

  • @user-yy7bu7jy1x
    @user-yy7bu7jy1x Před rokem +2

    omg thank you so much, I did almost the whole data analysis course at uni based on your videos😁 amazingly well explained and usable🙏

  • @romanvasiura6705
    @romanvasiura6705 Před rokem +1

    Amazing, thank you for this video lesson!

  • @ahmedelkholy1323
    @ahmedelkholy1323 Před rokem +1

    thanks a lot always adding something to me

  • @weberb2781
    @weberb2781 Před rokem

    Hope you talk about the {fixest} package, it is very convenient to use this package for regression.

  • @leoniepfeifer4091
    @leoniepfeifer4091 Před 11 měsíci

    Hi Thanks for the great video!!Do i need to mark the binary variable as binary? Because in R its recognized as "num"

  • @djprometheus923
    @djprometheus923 Před 6 měsíci

    the GOAT

  • @romanvasiura6705
    @romanvasiura6705 Před rokem

    Thank you!

  • @AlbertoFCabreraCasillas

    Nice explanation of logistic regression. Even your intentional mistakes created learning opportunities. In a future follow up , may I suggest sharing with the viewer tips as to how to make meaning of the parameters (e.g., reporting log of odds)

  • @badermuteb4552
    @badermuteb4552 Před rokem +1

    how did you simulate the data and load it as csv? sorry for the newbie question

    • @EquitableEquations
      @EquitableEquations  Před rokem

      Hi! I'm planning on making vids about simulating data later in the year. You might start by googling "inverse CDF method". You can write a data set to a file with write_csv() and read it back with read_csv(), both from the {readr} package.

  • @Ammarsays
    @Ammarsays Před rokem +1

    Is it necessary to convert binary response variable into "0" and "1". Mine is "Yes" and "No". Is there a better way to convert it?

    • @EquitableEquations
      @EquitableEquations  Před rokem +1

      The response doesn't have to be 0 and 1, but it does have to be a factor with 2 levels. Probably as.factor() is your friend here.

  • @flaviaoliveira5949
    @flaviaoliveira5949 Před 2 měsíci +1

    what if there's more than 2 groups they can fall into?

    • @EquitableEquations
      @EquitableEquations  Před 2 měsíci

      It's still possible to use logistic regression in that case (for instance with indicator variables), but in practice other techniques tend to be used instead.

  • @libbybendror
    @libbybendror Před 11 měsíci +1

    your videos are the best! Any chance you will do MLM video please?

  • @user-ib6yx4iw5h
    @user-ib6yx4iw5h Před 4 měsíci

    Why do we write se = False

  • @damirb6294
    @damirb6294 Před 18 dny

    interpretation of the results missing

  • @hannukoistinen5329
    @hannukoistinen5329 Před 3 měsíci

    But you don't do any testing, which is mandatory to give reliable results for your client!!!