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

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 50

  • @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!

  • @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!

  • @lewisneville6393
    @lewisneville6393 5 месяцев назад

    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!

  • @youk33
    @youk33 6 лет назад +22

    THANK YOU, you have saved my dissertation

  • @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.

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

  • @Garrettthethief
    @Garrettthethief 6 лет назад

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

  • @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!

  • @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!

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

  • @boburmadirimov829
    @boburmadirimov829 6 лет назад +1

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

  • @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!

  • @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.

  • @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?

  • @dka9756
    @dka9756 6 месяцев назад

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

  • @ruponbhowmick1722
    @ruponbhowmick1722 25 дней назад

    Thank you sir
    Sir i run random effect model but here one variable omited by software. Why this?

  • @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 ??

  • @ShahbazKhan-yq7bw
    @ShahbazKhan-yq7bw 7 лет назад

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

  • @dennisajala7544
    @dennisajala7544 7 месяцев назад +1

    Thanks alot.

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

  • @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 😢

  • @lizi9019
    @lizi9019 8 лет назад

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

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

  • @KiraraMagic
    @KiraraMagic 5 лет назад

    Thank you, you saved my life

  • @hw2810
    @hw2810 5 лет назад

    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?

  • @jessyjkn
    @jessyjkn 3 года назад

    So helpful!

  • @mrmehmets4557
    @mrmehmets4557 8 лет назад +2

    Thank you soooo much!

  • @danielananta2742
    @danielananta2742 6 лет назад

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

  • @jsegovia
    @jsegovia 5 лет назад

    Thank you so much, this helped a ton!

  • @nurehh2271
    @nurehh2271 6 лет назад

    Thank you Sir!

  • @albertotorres5215
    @albertotorres5215 8 лет назад +1

    I love you man this is so helpful

  • @cyrinekarray4309
    @cyrinekarray4309 7 лет назад

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

  • @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 6 месяцев назад

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

  • @abcdefghijk1056
    @abcdefghijk1056 6 лет назад

    very helpful

  • @drisstsouli7150
    @drisstsouli7150 3 года назад

    i like thanks a lot

  • @jose-kh3uh
    @jose-kh3uh 7 лет назад

    You're the man

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

  • @hermanusbernardusswart4690
    @hermanusbernardusswart4690 3 года назад

    Hi friend. :)

  • @346saadkhan
    @346saadkhan 11 месяцев назад

    ppt

  • @cadenhong245
    @cadenhong245 7 лет назад

    very helpful