Importing and set up panel data into Stata for Analysis

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • #statastics : #panel #datascience : #correlation #analysis #fixed #effects AND #random #effects : #HAUSMAN #test #hausmannskost #stata #paneldata #correlation #fixedeffect #randomeffects #random #dataanalysis #paneldata #stata #dataanalysis #importing #setting

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

  • @NYJanus
    @NYJanus 9 дней назад

    This was exactly what I was looking for and you explained it very easily to understand. Thank you!

  • @baderkharbeet698
    @baderkharbeet698 Год назад

    Thank you Dr for the helpful video. I ma currently want to do a panel data regression for the companies in Europe. the name of the company and the country are not important for my regression so I might delete them. The regression will be during 7 years. so how should I create the ID variable? should I create it depending on the company name then delete the company name and leave the ID? Thank you.

    • @dr.rahman107
      @dr.rahman107  Год назад +1

      Thank you very much for your comment. The ID variable makes the identity of the repeating variable distinguishable for the STATA to analyze. The repeating variable should be given ID, whether company or country. In my example, the country was given id, as the data for country repeats each year . In your case, if same company data repeats each year, the company should be given ID, so that software recognize this data repeats for same company every year. You can keep company name, but, do not include in your analysis. I think you do not need to delete it, even if you do not need it for analysis. I hope this answers your question.