Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Curious behavior of fracpoly with Stata 11


From   Steven Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Curious behavior of fracpoly with Stata 11
Date   Tue, 31 May 2011 17:46:41 -0400

Oops.  I didn't clear timers between runs of my do file, so timer 1 shows two runs; the time for each is about 112 seconds.

Steve


I see something similar, except that the first version completes and gives the same results as the 10.1 version.

*********************
timer  on 1
fracpoly: logistic foreign mpg, adjust(no) degree(4)
timer off 1

sysuse auto, clear
version 10.1
timer on 2
fracpoly: logistic foreign mpg, adjust(no) degree(4)
timer off 2
timer list
***********************

yields:

timer list
  1:    223.83 /        2 =     111.9145
  2:      1.04 /        1 =       1.0410



Steve
sjsamuels@gmail.com


On May 31, 2011, at 5:27 PM, Jean Bouyer wrote:

Hi,

I observe a curious behavior of frapoly with Stata 11 :

when I use the command    fracpoly logistic Y X, adjust(no) degree(4) where Y is a 0/1 variable 
the dot-line begins indicating the progression of the computation, then stops and the program seems to be blocked

On the contrary, with the commands
version 10.1
fracpoly logistic Y X, adjust(no) degree(4)
the computation begins seems much more quick at the beginning and, what is more important, provides a result.

Is there an explanation ?

Thanks

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


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