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?
Parameter constraints in MLE estimation for SFAHello, I'm using the following commands after which I would like to set up constraints for the param…
syntax for calculating mean eGFR loss using joint model (-stjm-)Dear Stata users, I am trying to calculate mean eGFR loss/year using joint model which uses both th…
Commands to estimate models with variables at different levels?Hi folks, imagine I have a panel data set in which the dependent variable is continuous and is measu…
Hausman Endogenity TestHi, I have a reverse causation system. Y1 = f(Y2, X) and Y2 =g(Y1, Z). Using IV both reverse casuat…
Multinomnial logit latent class model in panel dataHi all: I want to apply multinominal logit latent class model in my panel data. I know gsem, lc() o…
Subscribe to:
Post Comments (Atom)
0 Response to Vector autoregression model, time series or panel data?
Post a Comment