You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Please don't mangle your own posts starting a thread, even if you solved your problem yourself or realised that the question was silly. Explain the solution, even if it was trivial. Often someone else will have the same problem.
Statalist isn't even primarily a help line for individuals to get answers. It's a resource for many people, including lurkers. Given that you started this thread, it is now just a distraction to people interested by the title.
Posting a new post with your question and its answer -- even if it's a link to a place where you found a solution or the name of a command that helps -- would restore the thread to usefulness.
Since you initiated this post, it will appear in search results. Therefore, I would just refer to asreg (can be downloaded from SSC) for finding betas in a rolling window or without rolling window. Finding betas in a loop can be too time-consuming and is usually not recommended. asreg provides an easy yet extremely fast solution to finding stock betas. To install asreg
Regards
--------------------------------------------------
Attaullah Shah, PhD.
Professor of Finance, Institute of Management Sciences Peshawar, Pakistan FinTechProfessor.com https://asdocx.com
Check out my asdoc program, which sends outputs to MS Word.
For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.
Comment