----- Original Message -----
From: "Joshua Hawley" <[email protected]>
To: <[email protected]>
Sent: Monday, May 19, 2003 8:49 AM
Subject: st: tsset in ver 8
> Does anyone have a strategy to use tsset when the panel var is a string?
> And....the quick solution of translating the variable to numeric will not
> work because the variable has leading zeros.
>
> Thanks!
>
> Josh Hawley
> Ohio State
> [email protected]
Try -encode-
encode id, gen(id2)
tsset id2 time
Hope this helps,
Scott
*
* 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/