Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: egen(cut)


From   "Katia Bobulova" <katia.bobulova@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: egen(cut)
Date   Thu, 23 Oct 2008 12:10:59 +0100

Dear all,

I am using egen with cut to divide my time in intervals:

egen newtime=cut(time), at(17000,170500....)

I there a limit for at?

Because I have many intervals and it doesn't work, so I treid to split
in two and it works.

However, now I have a problem. How to add the observation of the two
variables(because I generate two newtime for different intervals) into
one variable?

Thanks a lot

Katia
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index