|  | 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Missing values
From 
 
Beatrice Crozza <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: Missing values 
Date 
 
Thu, 27 Aug 2009 15:22:16 +0200 
Dear all,
I have just realised to have a problem with my database.
I need to generate the variable return from my prices. So  I did:
tsset time
gen lreturn= ln(price/l.price)
but the result is that there are 12 missing values.
This problem does not happen with Eviews, for example. What I did wrong?
Thank you very much
Bea
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
| © Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |