Tabulating Categorical Variables and Creating Dummy Variables in Stata

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

ความคิดเห็น • 37

  • @marsescubin4664
    @marsescubin4664 8 ปีที่แล้ว +3

    Very succinct tutorial. You've made this world better

  • @uclalse
    @uclalse 3 ปีที่แล้ว +1

    Excellent video!!! Clear and simple!

  • @user-bg1cm9lx8s
    @user-bg1cm9lx8s 8 ปีที่แล้ว +1

    Awesome! It is very clear and useful! Thank you!

  • @assefaworku5015
    @assefaworku5015 2 ปีที่แล้ว

    Thanks too much your easy and understandable video presention

  • @econ_drd
    @econ_drd 11 ปีที่แล้ว

    These are incredibly useful. Also, there is a high-pitched whine the whole time. (In your other videos, it's just a drone.) FWIW, I highly recommend Audacity and a USB headset mic for noise reduction. It adds 5 minutes to the process but it's well worth it, imho.

  • @coldboy0912
    @coldboy0912 9 ปีที่แล้ว

    Thanks very much, your video saved my life.

  • @kenawa10
    @kenawa10 9 ปีที่แล้ว +3

    Thanks for your video Mr. Hamrick. I'm doing a homework about something similar like yours...my question is: How can I interpret or read each dummy variable? Thanks a lot again.

  • @JeffHamrickUSFCA
    @JeffHamrickUSFCA  11 ปีที่แล้ว

    Dear Jason: Thank you for your comment. I am moving over today to a USB headset and will start using Audacity as well. Thanks for the tip. Best, Jeff.

  • @iVinodMishra_monash
    @iVinodMishra_monash 8 ปีที่แล้ว +4

    Hi Jeff,
    How can I do a reverse of what you did here ? Lets say I have 5 dummy variables in my dataset, which I want to combine into one categorical variable.

  • @loska23
    @loska23 3 ปีที่แล้ว +1

    Can a video of 2013 help me with my homework today? yes it did! Thanks!

  • @wondet99
    @wondet99 3 ปีที่แล้ว

    wonderful!!

  • @loukastroll4925
    @loukastroll4925 9 ปีที่แล้ว +2

    Hello mr. Hamrick, I'm currently doing a paper on Regression in Stata and would be really interested to know how to interpretate the results for each variable. I would also like to know if the value of R squared is of any significance in this form of regression. Thanks for this video and thanks in advance for any help, it will be greatly appreciated.

  • @MiserendinoCORP
    @MiserendinoCORP 6 ปีที่แล้ว

    making hard things easier. thanks

  • @Tk_6820
    @Tk_6820 5 ปีที่แล้ว

    Jeff thanks so much!

  • @markdevenney1500
    @markdevenney1500 3 ปีที่แล้ว

    this is some real gourmet shit

  • @poopoo3612
    @poopoo3612 8 ปีที่แล้ว

    very helpful!!
    Thanks a lot.

  • @janredlem4199
    @janredlem4199 ปีที่แล้ว

    What do I need to to do when I want 5 dummy variables instead of six? Meaning SAAB and SATURN as one Dummy Variable together and teh rest individually?

  • @mingwayqui5335
    @mingwayqui5335 5 ปีที่แล้ว

    really helpful thank you

  • @frankhighmore6461
    @frankhighmore6461 6 ปีที่แล้ว

    Hey Jeff, is there a more efficient way of not typing m1 m2 ...m5 into the command and is there a way of just creating N-1 of dummy variables we need which in this case 5 dummies instead of 6? Many thanks!

  • @soniakaur5313
    @soniakaur5313 5 ปีที่แล้ว

    thankyou so much for this :)

  • @MrPardoXx
    @MrPardoXx 3 ปีที่แล้ว

    Very helpful thank you! I have a question. If you wanted to see how the other variables explained the dependent variable price given the make how would your model look like? In other words, if you had a regression model that had five dummies and the other independent variables would you need to interact each dummy variable with an independent variable to see how the make of the car changes the coefficients of the other independent variables? I am asking because I am doing a similar regression with firm specific characteristics and their effects on a dependent variable where I have to take in to account how the industry of the firm affects the coefficients of the firm specific characteristics. Any suggestions would be helpful!

    • @xx-gd8md
      @xx-gd8md 2 ปีที่แล้ว

      His last video was 8 years ago...

    • @ariannaechanique1939
      @ariannaechanique1939 2 ปีที่แล้ว

      Hey. So what did you end up doing? Did you make interactions for each dummy variable and the independent variable?

  • @all-timemusichits8738
    @all-timemusichits8738 7 ปีที่แล้ว

    Hello Jeff,
    Thanks for this video. How can we generate variable names such that we have let say m_Buick instead of m1 and so on? This will create some meaning rather than having a sequence of m1, m2,....m6.

  • @diamonddogsgaming7059
    @diamonddogsgaming7059 4 ปีที่แล้ว

    Hi, I followed this procedure as you've shown me in the video, but after running the regression, I still get the response from stata on my dummy variables omitted. Basically I created dummy variables for 4 religious affiliations Atheism, Christianity, Hinduism and Islam and I want to include those in my regression model. but when i run my regression, they are still omitted in the results.
    By the way I am running a panel regression so I have already set my data with the xtset command.

  • @afroman9084
    @afroman9084 7 ปีที่แล้ว

    Legend!

  • @daisywang1532
    @daisywang1532 7 ปีที่แล้ว

    very useful thank~~

  • @latithapa895
    @latithapa895 8 ปีที่แล้ว

    thanks a lot

  • @aspitola
    @aspitola 9 ปีที่แล้ว

    I'm not sure whether you'll read this, but I'll just ask anyway.
    There may be a situation where you create hundreds of dummy variables, and perform regression with those dummies. Is there simpler way to rewrite,
    y d1 d2 d3 ........ d100?

  • @poojadewan722
    @poojadewan722 8 ปีที่แล้ว

    hi Jeff.. how can I subgroup observations within a string variable... thank you

  • @shahnazsheerin3194
    @shahnazsheerin3194 11 ปีที่แล้ว

    Thank you so much. Can you please tell me that how can I find out the range of the variable by only one command?

  • @fbibarbie
    @fbibarbie 7 ปีที่แล้ว

    How do I combine dummy variables to make a factor variable?

  • @MsTaka001
    @MsTaka001 7 ปีที่แล้ว

    Hello Jeff, how do i assign a unique identifying number for data sets in stata?

  • @some_g333
    @some_g333 7 ปีที่แล้ว

    Thanks for this video, very helpful. Does anyone know how to do this but for creating interaction terms?

  • @yingliangli1884
    @yingliangli1884 6 ปีที่แล้ว

    can you interpret the result of reg price m1 m2 m3 m4 m5?

  • @pao13pao
    @pao13pao 9 ปีที่แล้ว +6

    you sound like Obama. lol thanks anyway

    • @TheWitness1001
      @TheWitness1001 5 ปีที่แล้ว

      what do you mean by "anyway"?!!!!