I am conducting an event study for my study, the effect of football transfers on stock prices. The problem is that there are a lot of events happening at the same time at the clubs. For this reason, I want between every event per club that there is no other event in the dataset three days before and after a transfer[-3,3], the transfer with the highest transfer fee is kept. Does anyone have a good code for this? I was thinking of a loop, but I can't get it into stata yet.
Related Posts with Dropping overlapping events
Code Interpret Of Loop Code: clear set obs 100 gen setA=0 gen setB=0 gen V1 = -1 + rnormal() gen V2 = 1 + rnormal() ge…
putwrap not respecting commands spread across multiple linesFor those of us still using Stata 15, putwrap facilitates the commingling of putdocx commands and co…
Error lclogitmlHello I am trying to run the lclogit command (from Pacifico, Daniele and Yoo, Hong Il, lclogit: A S…
Creating a variable for partner's health scoreIn a dataset in the form of: addressnr hhid general_health 1 1 5 2 1 6 3 2 9 4 2 8 5 3 2 6 3 4 With …
grab State Space matrices from arima()Hi all, I am in the process of developing an automated forecasting system for univariate time seri…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping overlapping events
Post a Comment