Hi everyone,
I am new at stata and event study and I hope you can help me with me. I followed the event study of this website.
What I did:
I have a excel list with different company ids which i merged with the corresponding stock data. (started with one stock data file and appended the rest)
Now I am pretty much followed the code from princeton.edu.
What I do want now is to collapse the data by each difference from the event window and plot the mean of the CAR for each dif. (dif = date - eventdate //date = stock data date
I used following code:
sort dif
collapse (mean) new_CAR = CAR
Now appears my problem. The results are going up and down on a non regular basis after, if I have more than one event (see example). It doesn't matter if I keep just one company or a different companies. Does anyone have an idea what could be the problem?
Thank you so much

I am new at stata and event study and I hope you can help me with me. I followed the event study of this website.
What I did:
I have a excel list with different company ids which i merged with the corresponding stock data. (started with one stock data file and appended the rest)
Now I am pretty much followed the code from princeton.edu.
What I do want now is to collapse the data by each difference from the event window and plot the mean of the CAR for each dif. (dif = date - eventdate //date = stock data date
I used following code:
sort dif
collapse (mean) new_CAR = CAR
Now appears my problem. The results are going up and down on a non regular basis after, if I have more than one event (see example). It doesn't matter if I keep just one company or a different companies. Does anyone have an idea what could be the problem?
Thank you so much
Comment