Statistics Help @ Talk Stats Forum - Stata
http://www.talkstats.com/
Stata usage and programming, Stata helpenMon, 08 Feb 2016 22:14:22 GMTvBulletin60http://www.talkstats.com/images/misc/rss.pngStatistics Help @ Talk Stats Forum - Stata
http://www.talkstats.com/
ID-number in Stata
http://www.talkstats.com/showthread.php/63907-ID-number-in-Stata?goto=newpost
Sun, 07 Feb 2016 17:02:38 GMTDear you,
I might have a stupid question, but I have not found the answer on google, and I hope someone can help.
I have a dataset where...Dear you,

I might have a stupid question, but I have not found the answer on google, and I hope someone can help.

I have a dataset where there are several observations for each ID-number, and I do not know how to tell Stata that these observations should be linked.

For example I have:

Id=1 Income(year one)
Id=2 Income (year one)
Id=1 Income (year two)

So, I want Stata to read my data as: Id=1, income year1...n

So, my problem is that I do not know how to tell stata that it should group all the observations for Id=1, and all the observations for Id=2..