How to create variables in STATA using GENERATE and EGEN

Поділитися
Вставка
  • Опубліковано 5 вер 2019
  • Course: STATA for Complete Beginners
    100% Free.
    To download exercises and course files access:
    bit.ly/statacoursefiles
    Disclaimer: I used to work with Stata and sell this course online for US$19. Since I no longer work with Stata and will not update the course, I decided to help others by making the course available for free. If you enjoyed it, please leave your comment - I am always happy to know I could help someone out with my work :)
    If you wish to say hello directly, you can also connect with me on LinkedIn on / souzalucasr
    Thank you and happy Learning!
    Lucas Reis

КОМЕНТАРІ • 16

  • @rapmantheoneman
    @rapmantheoneman 3 роки тому +4

    This is the best explanation I have ever seen! Thanks, Lucas!

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

      Thank you for your kind words!

  • @punchline9131
    @punchline9131 3 роки тому +2

    Perfect explanation! I'am also using Stata for my analyses and your channel could be really helpful for me. Thanks a lot 👍 I will subscribe to your channel.

  • @zahraaqilasalsabila3825
    @zahraaqilasalsabila3825 2 роки тому +1

    Thankyou, very helpful!

  • @syedshujaathussainzaidi248
    @syedshujaathussainzaidi248 3 роки тому +3

    Hi! Can we use egen for combining two or more categorical variable.

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

    Thank you for this video!

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

      Thanks for your comment, Esteban! I'm glad my video helped you out

  • @stephanierakotovao2242
    @stephanierakotovao2242 2 роки тому +1

    extremely helpful. Thank you!

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

    using egen , i wanted to generate new variable calculating geometric mean of three variables. what will be commang for that

  • @Shahad-yw2zg
    @Shahad-yw2zg 10 місяців тому

    Could someone help , what code should I use to make my age variable that contains ages from 0-11 into groups of categories? I want the first age group be from 0-2 , the second 3-5 the third 6-8 and the forth 9-11

  • @Michaelmaggimee
    @Michaelmaggimee 8 місяців тому

    Thanks

    • @souzalucasr
      @souzalucasr  8 місяців тому

      You're welcome, Michael. Thanks for your comment.

  • @LucasSilva-xw7jg
    @LucasSilva-xw7jg 2 роки тому

    Lucas, "unknown egen function"?

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

      Hey Lucas, I didn’t understand your question. Either way, I have not used STATA in a very very long time so I’ll likely not be able to help out.
      Feel free to post a more elaborate version of your question and maybe we can have one of the other people watching this video help you out.

    • @LucasSilva-xw7jg
      @LucasSilva-xw7jg 2 роки тому

      @@souzalucasr thaks!
      I can't use function egen. The show error: "unknown egen"