How to create dummy variables in STATA

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 23

  • @MuhammadIrfan-xv7bb
    @MuhammadIrfan-xv7bb 2 роки тому +1

    Great. Just completed 22 videos and found it so helpful. Thanks alot

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

      Thank you very much for your comment, Muhammad! I’m glad this was helpful to you

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

    the "tab variable, gen(dum)" line of code is very handy! thanks!

  • @asoabdullah9507
    @asoabdullah9507 4 роки тому +1

    Great contribution, I wonder if you work as freelancer sir?

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

    Good content, I love every bit..

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

    Can you upload a video on how to do fractional factorial design in stata.

  • @khalil9752
    @khalil9752 4 роки тому

    What is the code to create a dummy variable who take value 1 if we have the same statistics over 10 successive years for example and takes the value 0 if we have the same statistics over less than 10 successive years ?

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

    You didn't show the reference category in the formulation of dummy variable from categorical variable.

  • @richardyeboah3851
    @richardyeboah3851 4 роки тому +1

    How do I get the do file

  • @hallalol191
    @hallalol191 4 роки тому

    what is the code if you want to have a dummy for trunk size between >=14 and =

    • @thedatahall
      @thedatahall 4 роки тому

      generate dum= trunk>=14 & trunk

  • @abdullahrabaya9235
    @abdullahrabaya9235 4 роки тому +1

    Very interesting ways. Thanks a lot

  • @arlette-6490
    @arlette-6490 3 роки тому +3

    i super recognize the accent hehe

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

    Hello Lucas, I found your videos very helpful. Thanks so much. I need some help on Stata tailored toward my research paper. Can you please let me know if you would be interested in tutoring a couple of sessions?

  • @rebeccarobbins7071
    @rebeccarobbins7071 4 роки тому +1

    Thank you!

  • @aghilesladj
    @aghilesladj 5 років тому +2

    the .do file please ?

    • @souzalucasr
      @souzalucasr  5 років тому

      Hi, Aghiles.
      I've just added a link to the video description where you'll find all files and videos for the course and their respective links.
      Lucas

  • @kaizoku4life
    @kaizoku4life 4 роки тому +1

    thanks

  • @t.j.2275
    @t.j.2275 4 роки тому +1

    thanks