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
Creating new variable from other variablesHello; I am trying to merge some variables to create a new variable. To expand, I am trying to cre…
switch_probitHello Statalist, I am trying to use switch_probit for an endogenous switching model. I once used it…
Move selected observations one variable/column to the rightHello. Please consider my data: Code: * Example generated by -dataex-. To install: ssc install dat…
Using SEM for estimation of a RI-CLPMI am trying to estimate a random intercept cross lagged panel model (RI-CLPM), as recommended by Ham…
Collapse command, OLS regression, and weighing per groupHello everyone, I am analyzing a large dataset with STATA, and am utilizing OLS regression to try t…
Subscribe to:
Post Comments (Atom)
0 Response to Problem concerning panel aata with duplicate time variables
Post a Comment