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

st: RE: rndpoi


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: rndpoi
Date   Thu, 25 Sep 2003 09:36:05 +0100

Lars Korsholm
> 
> findit rndpoi
> gives to hits 
> sg44
> and sg44_1
> 
> instaling sg44
> and running
> . rndpoi 10 1
> ( Generating .... )
> Variable xp created.
> 
> . d
> 
> Contains data
>   obs:            10                          
>  vars:             1                          
>  size:            80 (99.9% of memory free)
> ------------------------------------------------------------
> ---------------
> > ----
>               storage  display     value
> variable name   type   format      label      variable label
> ------------------------------------------------------------
> ---------------
> > ----
> xp              float  %9.0g                  
> ------------------------------------------------------------
> ---------------
> > ----
> Sorted by:  
>      Note:  dataset has changed since last saved
> 
> 
> works fine, technically
> 
> the installing sg44_1
> (through the viewer and klicking fource to the different files)
> 
> but then rndpoi fail:
> 
> . rndpoi 10 1
> unrecognized command:  rndpoi not defined by rndpoi.ado
> r(199);

This is a very small bug, and one often 
tripped over, and one almost as often fixed. 

The file rndpoi.ado from sg44_1 by 
accident defines a program -rndpoi1-. 

You need to edit that so that it defines
program -rndpoi-. 

Having said that, Bobby Gutierrez's -genpoisson- 
is easier to use and (as recently revised) 
uses an algorithm which is reliable over 
much more of the parameter space. 

Nick 
[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