Statalist


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

st: RE: -tsspell- and Panel data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: -tsspell- and Panel data
Date   Fri, 17 Jul 2009 17:18:19 +0100

-tsspell- is a user-written command from SSC. Please remember to spell
out where user-written commands you use come from, as requested in the
FAQ. 

I am the user-writer, so to speak. 

Your problem was reported to me privately by someone who might prefer
not to be named. The short version is that this problem is not the fault
of -tsspell- but a consequence of incompletely updated official Stata. 

Here is a longer version: 

=======================================
Anon: 

Thank you, your guess was right on target. I (re)updated the executable
and ado files and -tsspell- now works wonderfully.

NJC:

> I believe that the problem you are experiencing is nothing to do with
> -tsspell- [...] 
> You are seeing error 
> messages to do with Mata, but -tsspell- nowhere uses Mata directly.
> Indeed -tsspell- predates Mata and was written entirely in language 
> available in Stata 7, as a glance at the code will show. However
> -tsspell- does call other commands which may now use Mata under the 
> hood.
>
> My guess is that there is some structural problem with your Stata. 

> This kind of problem I've seen before when people 
> have not -update-d their executable and ado files in sync, and 
> sometimes for other reasons.

Anon: 

> First, let me thank you for the tsspell function. It is essential in 
> much of the work I do using longitudinal data.
>
> I have recently upgraded to Stata10 on a 64-bit Windows Vista 
> platform, and I am having problems with the your tsspell function. I 
> have installed other ado files and they work fine, and I'm able to 
> open the tsspell help file just fine and locate the tsspell files in 
> the Stata ado folder. I have also uninstalled and reinstalled multiple

> times.
>
> Is there a problem with tsspell that you are aware of? Here is an 
> example of the error message I get:
>
> ======Stata example======================================
>

> . tsset id time
>        panel variable:  id (strongly balanced)
>         time variable:  time, 0 to 20
>                 delta:  1 unit
>
> .

> . tsspell move
>    _TS_p_delta_getnumb():  3499  strtoreal() not found
>  _TS_p_delta_increment():     -  function returned error
>            _TS_p_delta():     -  function returned error
>                  <istmt>:     -  function returned error
> r(3499);
>
> end of do-file
> ============================================================

=======================================
Nick 
n.j.cox@durham.ac.uk 

Dmitriy Krichevskiy

I am trying to use -tsspell- command on the panel data and I keep on
getting an error message:
r(3499) stating
_TS_p_delta_getnumb()              3499     strtoreal() not found
_TS_p_delta_increment()                       - function returned an
error
_TS_p_delta()                                       - function returned
an error
<istmt>

btw, I am trying to see summary of spells for the entire panel dataset
by summarizing  binary variable depicting individual's status in the
appropriate period. Thanks for all your help.


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