How to do Fixed effect and random effect panel regression in Stata

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

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

  • @kaym6086
    @kaym6086 3 ปีที่แล้ว +4

    Thank you, thank you, thank you!!! I am an undergraduate student doing research and am learning STATA on my own! This has been incredibly helpful!

  • @grounded.growing.and.glowing
    @grounded.growing.and.glowing 4 ปีที่แล้ว +4

    Thank you Dr. Sarveshwar Inani! This was a very helpful video. And I loved that you called us your friends!

  • @youk33
    @youk33 6 ปีที่แล้ว +22

    THANK YOU, you have saved my dissertation

  • @lewisneville6393
    @lewisneville6393 4 หลายเดือนก่อน

    Thank you so much, I'm using stata for my final year dissertation and have been trying to work out how to do this for so long. Great content!

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

    thank you a million Dr. Inani! you saved me! your video is way way way clearer than what my professor had given in the class.

  • @boburmadirimov829
    @boburmadirimov829 6 ปีที่แล้ว +1

    Sir, God bless you, you saved me a lot of time!

  • @Pooh991
    @Pooh991 7 ปีที่แล้ว +1

    Hi Sarveshwar! Your video is definitely very informative and really helpful, congratulations for your initiative! I´ve two questions, however that I would like to clarify and I would greatly appreciate if you could help me:
    1- For fixed effects we are considering that each sector is different from each other, so how can I add control variables (in this case dummy variables) into my analysis? I´m asking this because I did see you approaching the control variables on your commands.
    2- How can I identify R² and R² adjusted based on the results that State provide?
    Again Sarveshwar, thanks for your video and congratulations for your initiative!

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

    Thank you. The vce option also alows bootstrap instead to ensure the comparability between great and small samples.

  • @abrahamcharles8895
    @abrahamcharles8895 4 ปีที่แล้ว +5

    Thank you so much! But how do we interpret the r square in fixed effect as we have three of them (between, within and overall)??

  • @mahabubrahman9432
    @mahabubrahman9432 7 ปีที่แล้ว +2

    Hi, Thanks a million for your videos. they are very useful. could you please upload videos on PCSE,FGLS and System GMM.

  • @dennisajala7544
    @dennisajala7544 6 หลายเดือนก่อน +1

    Thanks alot.

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

    Thank you, you saved my life

  • @AmeenKhan-ls6mw
    @AmeenKhan-ls6mw 7 ปีที่แล้ว +2

    dear you explain things so clearly ... but my question is why you take log for every observation?

    • @DS-sc1nd
      @DS-sc1nd 5 ปีที่แล้ว

      turning the variable into log means that you interpret changes in the variables in terms of percentage, not unit change. For example, instead of interpreting it as "increase in X number of televisions increases GDP of a country by Y dollar", you interpret "increase in X % of television density increases GDP of a country by Y %." Log gives a more meaningful interpretation. Hope this helps!

  • @jenli0426
    @jenli0426 4 ปีที่แล้ว +1

    Hi, thank you for the video! May I know how do I create year-month * country fixed effect? My year-month variable is in '2010Jan' form, and i try to create by adding i.country*yearmonth, and no observation is produced.
    Thank you for your time!

  • @albertotorres5215
    @albertotorres5215 8 ปีที่แล้ว +1

    I love you man this is so helpful

  • @dka9756
    @dka9756 5 หลายเดือนก่อน

    Hi, I have 2 dependent variables that I want to test separately, Can I run the Hausman test for both of them separately?

  • @XX-11235
    @XX-11235 3 ปีที่แล้ว

    How do you figure out the correct specification of the model? I.e you know it's fixed effects but simple linear model doesn't give any significance to your variables? What transformation should you consider? How do you find out whether some variables have a nonlinear impact or that there is some sort of an interaction between 1 or more variables (e.g. y=a+bx+cz+dxz)

  • @mrmehmets4557
    @mrmehmets4557 8 ปีที่แล้ว +2

    Thank you soooo much!

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

    So helpful!

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

    Thank you so much, this helped a ton!

  • @alizasajid1815
    @alizasajid1815 2 ปีที่แล้ว +1

    sir my data is sorted not only by year but week and months. When i choose only year it says repeated time values in the panel. Can you help me

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

    Hi
    You didn't add a dummy for each of the countries under observation. So how do you interpret the effect on each of the countries in the regression equation considering you only have coefficients for your x variable (beta 1) and your intercept (beta 0). How would this fit into the entire regression equation for the FEM which should have a coefficient for each of the N-1 dummies for the N countries under consideration?

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

    Thank you Sir!

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

    But Sir you didn't creat at Dummies for these countries individual effects, as you mentioned and showed in the previous lecture.

  • @priyeshvpplus
    @priyeshvpplus 8 ปีที่แล้ว +1

    Hello Sir,Can we do the robust error check for random effect regression also ??

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

    i like thanks a lot

  • @jose-kh3uh
    @jose-kh3uh 7 ปีที่แล้ว

    You're the man

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

    Thank you very much. Do you have any video on 2D cluster regression on panel data? If yes please send me the link

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

    very helpful

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

    what is "yearly"? what does it do? I is it a standardized specification parameter with xtset command?

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

    hello comrade, Could you show us how to make chow and LM test with STATA? THANKS from UK

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

    Hi, How can you use a time dummy (either 0 or 1) as the time variable without getting the error message "repeated time values within panel"? Thanks!

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

      Do you include a unit for frequency? It should default to just 1 unit if you exclude the delta option.

  • @md.shakhaowathossin9990
    @md.shakhaowathossin9990 4 ปีที่แล้ว

    xtcsd, pesaran abs
    command xtcsd is unrecognized
    r(199);
    This report has been provided by Stata when I am going to test Pesaran. Why? What can I do now?
    Again,
    xttest3
    command xttest3 is unrecognized
    r(199);
    This report has been provided by Stata when I am going to test Heteroskedasticity. Why? What can I do now?

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

    If I ran Random effect and the model still contained autoregression problem after testing, how can I fix it ? :( please answer my question i am dying in my dissertation 😢

  • @ShahbazKhan-yq7bw
    @ShahbazKhan-yq7bw 7 ปีที่แล้ว

    Hi Sir, Can we run fixed effect or random effect for cross section data in a similar way?

  • @shanzagull8576
    @shanzagull8576 4 ปีที่แล้ว +1

    egen Country1=group(Country) ..this command is not working on my stata..i have apannel data but its not working..now pleas tell me what i do?

    • @Chairmoe_analytics
      @Chairmoe_analytics 5 หลายเดือนก่อน

      Use encode country, gen (country1). It will work

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

    Hi friend. :)

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

    how we can do a linear regression, if variables (Yt and Xt-1) pleaaaase

  • @haohoangkim3247
    @haohoangkim3247 8 ปีที่แล้ว +2

    Thank you very much! Can you give me your data? i really need them! Please!

    • @SarveshwarInani
      @SarveshwarInani  8 ปีที่แล้ว +1

      You are welcome...These data are available on World bank website on World bank indicators.

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

      I see, thanks a lot!

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

    Please share your datasets

  • @346saadkhan
    @346saadkhan 10 หลายเดือนก่อน

    ppt

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

    very helpful