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

st: Problem with minutes in egenmore


From   "Stephen Soldz" <[email protected]>
To   <[email protected]>
Subject   st: Problem with minutes in egenmore
Date   Wed, 19 Feb 2003 16:29:47 -0500

I'm trying to use the egenmore function, minutes, but keep on getting an
error message. I'm using version 8 and have alredy checked for an update to
egenmore.

. clear

. set obs 5
obs was 0, now 5

. gen J="00:15"

. li J

     +-------+
     |     J |
     |-------|
  1. | 00:15 |
  2. | 00:15 |
  3. | 00:15 |
  4. | 00:15 |
  5. | 00:15 |
     +-------+

. egen Jn=seconds(J)
problematic characters in J
r(459);

I get the same error with  seconds:


. clear

. set obs 5
obs was 0, now 5

. gen J="01:15:15"

. li J

     +----------+
     |        J |
     |----------|
  1. | 01:15:15 |
  2. | 01:15:15 |
  3. | 01:15:15 |
  4. | 01:15:15 |
  5. | 01:15:15 |
     +----------+

. egen Jn=seconds(J)
problematic characters in J
r(459);

What's going on here? Am I misunderstanding something?

Cheers,

Stephen

Stephen Soldz
Director, Center for Research, Evaluation, and Program Development
Boston Graduate School of Psychoanalysis
1581 Beacon St.
Brookline, MA 02446
[email protected]


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