Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to build a Time-series model that can predict the value of the dependent variable?

    Dear all,

    I need your help.

    I have a sample of 300 firms and I have the financial statements of these firms for the period 2011-2022 (approximately 2.000 obs). My sample is unbalanced.

    I have a model like the following:
    financial_distresst= a +b1 incomet + b2 leveraget+ b3 sizet +et

    If I wanted to run OLS (as panel data) then I would regress the model above.

    What I want to do is to forecast If the independed variables income, leverage, size (for the years 2011-2019) can predict the value of the dependent for the year 2020.
    I think that I need to used time-series, is that correct?

    Please, can somebody tell me if I can use these variables to forecast the value of the dependent variable?
    I am so confused with this matter.

    Thank you in advance
    Kind regards,
    Kleon





  • #2
    You can set up your panel analysis with the -xtset- command, estimate your regression model with the -xtreg- command, then use the -predict- command to get predicted values from your model. Check the help files associated with each of these commands for the details.

    Comment

    Working...
    X