I am attempting to obtain the autocorrelations and partial autocorrelations and to perform the Dickey-Fuller test on the first difference of variable OutputValue, i.e. d.OutputValue. However, my panel data has output by country and sector over 55 years with missing data on some time and sectors in some countries. This has led Stata to believe I am using multiple panels. Previously, my commands to identifying the data as panel data are as follows:
egen id = group(Country Sector)
xtset id Time
format Time %ty
sort id Time
I would like d.OutputValue to be the first difference of OutputValue within a particular sector in a country. I would also like to perform ac, pac and dfuller on d.OutputValue. Would that be possible? Thank you in advance!
Related Posts with Error of sample contain multiple panels: Panel data with multiple identifiers
Problems converting string variable to date/time formatHi, I have a date/time variable that is a string and looks as follows: hh.mm.ss DD.MM.YYYY. I'd lik…
Cox-regression:proportional hazard test by Schoenfeld residualsHi! I have performed cox-regression on a data set with both continuous and categorical variables. In…
Adjustments to Esttab Code to Suppress Superfluous Statistics and Display LabelsHello --- I'm hoping to get some assistance adjusting my esttab code (pasted at bottom) to make the …
Convert 1K to 1000 and 1M to 1000000Hello everyone, I need help with converting a particular variable to numbers. The variable in questi…
Create new variable with sums of occurrencesHi Statalist Community It is my first post here and I hope it is not a question that is too trivial…
Subscribe to:
Post Comments (Atom)
0 Response to Error of sample contain multiple panels: Panel data with multiple identifiers
Post a Comment