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

st: Re: year dummies


From   "Marcela Perticara" <mperticara@uahurtado.cl>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: year dummies
Date   Wed, 4 Sep 2002 11:16:26 -0500

check the dates functions year() and month().
Then you can create your dummy vbles using tabulate.

--------------------------------------------
Universidad Alberto Hurtado
Erasmo Escala 1835
Santiago, Chile
Phono: 671-7130 anexo 267
http://www.ilades.cl/economia/index.html
----- Original Message ----- 
From: "Riano, Alejandro" <ALEJANDROR@iadb.org>
To: <statalist@hsphsun2.harvard.edu>
Sent: Wednesday, September 04, 2002 9:55 AM
Subject: st: year dummies


> I have a dataset with daily observations, the variable date is in STATA
> format (i.e 01 Jan 90 = 10958), do you know how can I construct a set of
> dummy variables by year or month ?
> 
> Thank u.
> 
> Alejandro Riano
> ==========================
> Research Department
> Inter-American Development Bank
> (202) 623-1932
> alejandror@iadb.org
> ==========================
> 
> *
> *   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/


______________________________________
Universidad Alberto Hurtado
http://www.uahurtado.cl
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index