Dear Kit Baum
Thank you for your help. Unfortunatly I get a mistake:
. tsset nummer tradingday
repeated time values within panel
r(451);
I just began working with STATA, and I can not find the solution.
Could you help me once more?
Greetings
Tobi
-----Original Message-----
From: Kit Baum [mailto:[email protected]]
Sent: Montag, 30. April 2007 13:47
To: [email protected]
Subject: st: calculating return of stocks - problem with weekends
sacrificial lamb
Correction to my earlier posting:
That should create a sequential day variable for only market days
that counts the market days.
tsset nummer tradingday <====
g return = log(f/L.f)
That should work on the market days available for each firm.
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
*
* 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/
*
* 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/