Hi
I am new to STATA
I have 2 variables and want to set them as date with
as in the following:
1-Var1- Storage type str8, display format 0.9s. It has
month and year only like: 06/2005 . I want to assign
the day for it then set the day at 15 of each month :
15/05/2005.
2- Var2- Storage type double, display format %td and
writen like 26Nov2005. I want this to set it as date
and actualy don't know what double means.
3- Then I have to change them to numeric (var1n,
var2n) and substracte them: var3=var2n-var1n.
Sorry for such a simple question but I need help and
your reply is very much appreciated.
Regards
___________________________________________________________
Yahoo! For Good helps you make a difference
http://uk.promotions.yahoo.com/forgood/
*
* 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/