Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Unique values


From   "Natarajan Ramachandran" <[email protected]>
To   <[email protected]>
Subject   st: Unique values
Date   Fri, 30 Jan 2004 15:59:30 -0500

I have a couple of securities in a variable and their closing prices with a corresponding date.
 
(1) How do I loop through each security to find out the maximum closing price and the corresponding date?
 
(2) How do I loop through each security to find out the weekly returns?
 
Thanks for the responses.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index