Good day everybody,
I am new to Stata, and came up with an issue regarding the event study. I use the command from Princeton to calculate abnormal returns:
forvalues i=1(1)N { /*note: replace N with the highest value of id */ l id company_id if id==`i' & dif==0 reg ret market_return if id==`i' & estimation_window==1 predict p if id==`i' replace predicted_return = p if id==`i' & event_window==1 drop p } How can I modify this code to make it calculate abnormal returns for everyday in 12-month data, instead of for only event window? Bests <3
Related Posts with Abnormal return for everday in a year
command for Wooldridge Test for Strict ExogeneityHello..i am stata 14 user. I have to run "The Wooldridge Test for Strict Exogeneity", kindly share m…
Rare event models with panel dataDear Statalist users, I am analysing the probability of doctors to accept a clinical job offer usi…
Panel Ardl Model Syntax PMG and MGI would like to run a Panel Ardl Model (8 3 3 3 3) The dependent variable is: lx The independent var…
Sobel test or bootstrapping for testing mediationDear everyone, I am testing a mediating model and after running my multiple fixed effects regressio…
PPML Country Pair Fixed EffectsHi All, I am trying to run a bilateral trade gravity model using PPML and trying to control for cou…
Subscribe to:
Post Comments (Atom)
0 Response to Abnormal return for everday in a year
Post a Comment