Logistic regression in R

Поділитися
Вставка
  • Опубліковано 9 тра 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!

КОМЕНТАРІ • 25

  • @EquitableEquations
    @EquitableEquations  Рік тому +4

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

    • @muqadasjaved7751
      @muqadasjaved7751 4 місяці тому

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

  • @user-yy7bu7jy1x
    @user-yy7bu7jy1x Рік тому +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 Рік тому +1

    Amazing, thank you for this video lesson!

  • @ahmedelkholy1323
    @ahmedelkholy1323 Рік тому +1

    thanks a lot always adding something to me

  • @djprometheus923
    @djprometheus923 6 місяців тому

    the GOAT

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

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

  • @leoniepfeifer4091
    @leoniepfeifer4091 11 місяців тому

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

  • @AlbertoFCabreraCasillas
    @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)

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

    Thank you!

  • @libbybendror
    @libbybendror Рік тому +1

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

  • @badermuteb4552
    @badermuteb4552 Рік тому +1

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

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

      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 Рік тому +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  Рік тому +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 2 місяці тому +1

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

    • @EquitableEquations
      @EquitableEquations  2 місяці тому

      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.

  • @user-ib6yx4iw5h
    @user-ib6yx4iw5h 4 місяці тому

    Why do we write se = False

  • @hannukoistinen5329
    @hannukoistinen5329 3 місяці тому

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

  • @damirb6294
    @damirb6294 21 день тому

    interpretation of the results missing