Statalist The Stata Listserver

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

st: installing hmm, minutes

From   Jacob Wegelin <>
Subject   st: installing hmm, minutes
Date   Wed, 7 Mar 2007 13:27:07 -0800 (PST)

I am trying to convert a string variable that takes on values such as



(i.e., sometimes it contains 3 and sometimes 4 digits)

into a numeric variable representing the time of day.  It appears that
the minutes() function would do this.

What does one have to do to obtain the hmm() and minutes() functions?  Per I installed
egenmore but this does not seem to do the trick. (I have Stata 9.2 on a

. ssc install egenmore
checking egenmore consistency and verifying not already installed...
installing into c:\ado\plus\...
installation complete.

. gen junk=hmm(prs1)
Unknown function hmm()

. gen junk=minutes(prs1)
Unknown function minutes()

Thanks for any tips

Jake Wegelin
*   For searches and help try:

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