Dear all,
I have a dataset of 40 companies with a total of 975 votes and want to look at the impact of their chronological order onto the overall voter turnout. Therefore I assigned an ID to each company as well as each vote per company. I also specified a var time assigning the values of the chronological order to the votes. As there were multiple votes on the same date for some companies, these votes were assigned the same time value, e.g. the fifth and six vote were on the same date, then both receive time value 5.
However, this leads to the 'repeated time values within panel' error whenever I am using xtset id(company) time, as there are duplicate values for votes on the same day. Is there any way to circumvent this problem without tampering the results or am I using the wrong command? Many thanks in advance!
Related Posts with Problem concerning panel aata with duplicate time variables
Rolling windows VAR IRF and graphsDear Stata users, I am trying to implement the var, vector autoregression, and a panel var (pavar) s…
Repeated measures ANOVADear Statalist, I'm currently trying to replicate a piece of analysis originally done on SPSS in St…
Normalize variable as an expanding windowHi, I would like to normalize the price of the following as an expanding window taking into account…
generating many dummy variables with the var name and label nameHi all, Although I was going through some of the website links, I could not solve my issue. So, I am…
Order data in descending orderDear all, I use the TNIC data from Hoberg&Phillips and want to sort the scores pro competitor_r…
Subscribe to:
Post Comments (Atom)
0 Response to Problem concerning panel aata with duplicate time variables
Post a Comment