Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • BHAR - Buy and Hold abnormal returns

    Hello everyone, hope you are doing well. I wanted to know how I could code for Buy and hold abnormal returns.
    The formula for the same is Buy-and-Hold Abnormal Return (BHAR): 𝐵𝐻𝐴𝑅𝑖𝑡 = ∏ (1 + 𝑅𝑖𝑡 ) − ∏ (1 + 𝐸(𝑅𝑖𝑡))
    I have to calculate the daily compounding of the returns until the end of the month from the IPO date of the company and then compounding of 36 monthly returns after that.
    Considering I have the dataset I need for the same, how could I use Stata commands to get the BHAR calculation.

  • #2
    If you want more particular advice use -dataex- to show small subsample of your data, and say "I want my new variable to look like this."

    Otherwise check the user written -egen, prod- function, it comes handy for your type of calculations:
    STB-51 dm71 . . . . . . . . . . . . Calculating the product of observations (help prod if installed) . . . . . . . . . . . . . . . . . . P. Ryan 9/99 pp.3--4; STB Reprints Vol 9, pp.45--48 extension to egen for producing the product of observations

    Comment

    Working...
    X