. A question that has come up before to forum.
I am trying to declare dataset to be a panel and I am getting and error
[CODE][]
xtset ID ts
repeated time values within panel
ID stands for the country id and ts for year/CODE]
That means I am having duplicates. I am aware of the presence of duplicates ts for some years from the nature of the dataset and it is desired dataset to remain as such. Any way to solve it while keeping the multiple years when that occurs?
I have searched in the forum before posting didn't find a suitable solution. From some old posts, I think I might have to create a new time variable, didn't get how, nonetheless.
Related Posts with Duplicates in panel settings
replace multiple variables at the same timeHi, I have 10 variables. All of these variables are dummy, 0 or 1. The original data set is 1 and . …
On the regular expression of StataI found regular expression of Stata very confusing. For instance: Code: disp regexm("010-11223344",…
Summing up individual-specific amount of variablesHi, I am trying to generate a household-specific monetary policy shock variable. Generally I have tw…
panel data with three equationsHi all, I am trying to solve the following equation system. The data is panel and I will include fi…
Suppressing Overall marker in Metanalysis forest plotsHi David. I am new to stata and woud like to plot forest plots for of hazard ratios, but would like …
Subscribe to:
Post Comments (Atom)
0 Response to Duplicates in panel settings
Post a Comment