Announcement

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

  • Rolling beta

    Hi everyone,

    We have a dataset consisting of 25.000 different companies and 622 months (Panel data).
    We would like to estimate cross-sectional beta's for each company based on a rolling time-window of 5 years, and store those in a new variable.

    We have tried to use the rolling command but don't what know exactly the code would look like.

    Thank you for your help and time and brainspillovers.

    Thank you.






  • #2
    http://www.statalist.org/forums/foru...entire-dataset

    Comment


    • #3
      nick cox, such a boss. thank you as always

      Comment

      Working...
      X