. 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
problem with merge m:1I tried to merge two data sets with unique variables called "Name" and "lan". Data set 1 consists of…
Recoding variables using commando loopsHi Stata Forum, I'm trying to recode a list of variables using foreach. The variables have some cat…
fuzzydid and twowayfeweights applicationDear all, I am attempting to estimate the effect of the change in temperature and precipitation (at …
question about sparkline with by() and over()With great delight, I was reviewing some of Nick Cox's presentations and notes on data visualization…
Stacking results from multiple matrices using putexcelHi all, First Statalist post and beginner on Stata so thank you for your patience! I am trying to …
Subscribe to:
Post Comments (Atom)
0 Response to Duplicates in panel settings
Post a Comment