Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Date calculation


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Date calculation
Date   Sun, 28 Oct 2007 09:43:30 +0000 (GMT)

So you were not using my example. The way the examples I sent to the
statalist work is discussed in
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html#work .  In my
example date is a string, and needs to be turned into a Stata date
variable. Apperently in your data the date variable is already a Stata
date variable, so the only relevant part of the example is the command
starting with -bys-. 

-- Maarten


--- Ziad El-Khatib <[email protected]> wrote:

> The original date format of the date var is %dD_m_Y
> I checked the commands in STATA and they look correct, but i wonder
> the current date format has to do with giving type mismatch result?


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.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/



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