Hello,
I want to apply a vector auto regression model to analyze the relationship between oil prices, employment rates and control variables. My data is a balanced panel data over a time span of 25 years and 13 countries. I am new to this kind of regression and very confused which approach i should use. The time series (tsset) or the panel data(xtset)? .
For the time series approach i would create an additional variable to identify each observation uniquely and set this variable as tsset?
generate ts=_n
tsset ts
Or should I use the panel data approach with xtset? However, in relation to literature the time series approach with tseet seems more common....
Hopefully some could give me a feedback on how to proceed and if the creation of an additional time series variable is permissible?
Best Regards
John Marburg
Related Posts with Vector autoregression model, time series or panel data?
Manually producing probabilites after logitDear All, I estimate a logit model and then I need to calculate Prob[Y=1|X], where X is my set of r…
multilevel multinomial modelling using the gllamm command in stataGood day everyone, I am using the gllamm command in stata 15.0 for multilevel (2-leveled) multinomia…
Get the standard error from --exlogistic-- command?Hi all, I'm running the exlogistic command for meta-analysis, with id as study id: Code: exlogist…
Changing the value of many observationsHello So, i'm working on a pretty big dataset for a Norwegian insurance company, and I wanted to ch…
how many observations per year in panel dataHi there, I have a panel dataset. How can I see how many observations there are per year? I see in …
Subscribe to:
Post Comments (Atom)
0 Response to Vector autoregression model, time series or panel data?
Post a Comment