Statalist The Stata Listserver


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

RE: st: RE: Problem with generating time dummies in panel data


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Problem with generating time dummies in panel data
Date   Mon, 17 Jul 2006 08:19:45 -0500

For year dummies I would try -tab year, gen(minder)-

This will create three dummies callers (named minder1, minder2, minder3
corresponding to years 1994, 1996, and 1998).

Scott


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Daghan Yeldan
> Sent: Monday, July 17, 2006 8:15 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: RE: st: RE: Problem with generating time dummies in panel data
> 
> thnx for the advice. But I tried them all before I sent this message. The
> problem I get is when I do this,
> 
> tab minder,g(min) it only creates two dummies instead of 3. I have 3 years
> of variables.
> How can I solve this problem?
> cheers,
> d


*
*   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