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
Margins plot for a log-log modelHi, I am using a log-log model specification: Code: reg lnY lnX1 lnX2 lnX1*lnX2 In this case, the…
Separate bar labels in a graphDear Statalist, I have to build several graph with the bar label included. However, as you can see b…
2020 Swiss Stata Conference: Program available, registration openThe program of the 2020 Swiss Stata Conference on November 19 in Bern is now available. See one of t…
Example of Difference in Difference approach with binary or multinomial choice modelHi,dear all: I am facing a problem that emprically dealing with descrete choice model with differen…
Change date abbreviation in multible observationsHey, I have dates according to the following dataset: Code: * Example generated by -dataex-. To …
Subscribe to:
Post Comments (Atom)
0 Response to Problem concerning panel aata with duplicate time variables
Post a Comment