Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73258

When Declaring Panel Data gives error that there are repeated time values with in Panel

$
0
0
I am trying to declare my data set as panel data but when I issue the command, it gives me the error that there are repeated time values within the panel. The problem is that there are players in my dataset who have played more than one match in each year. Lets say a player played two matches in 2007, so in my data set there are two rows of observations for him.

This is how my data set looks like

ID Year1 OverallRating
1 2011 50
1 2011 55
1 2012 62
1 2012 60
2 2013 75
2 2014 80





Viewing all articles
Browse latest Browse all 73258

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>