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
how to incorporate both fixed effects and robust std errors into panel analysisI am doing an event study where i use a panel analysis (different observations on a same day) with d…
Keeping variables with different cases in each groupDear Statalist users, I would like to ask this data management questions. For example I have indivi…
Difference -in-difference research designHi all, I have a panel data (firm and year). I create Post indicator for states that adopt certain …
standard errors when calculating marginal effects of logisitc regressionHello, I have calculated the marginal effects of my logistic regression with robust standard errors…
using graph hbar with Panel DataHey! I have Panel Data on Commodity (Variable) prices across 36 Cities (Variable) from Jan to April …
Subscribe to:
Post Comments (Atom)
0 Response to Problem concerning panel aata with duplicate time variables
Post a Comment