Statalist


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

st: RE: Random number generator


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Random number generator
Date   Thu, 23 Aug 2007 09:22:26 +0100

Why do you feel there is a need for a new version of -uniform()-? 

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

Paul Silcocks BM BCh, MSc, FRCPath, FFPH, CStat

> Has anyone found a way of incorporating the Mersenne Twister
> pseudo-random number generator into Stata? There is freeware 
> C++ code at
> http://www.bedaux.net/mtrand/ but I'm not clear how this could be
> adapted into an ado file.  What would be nice would be a new 
> version of
> uniform(). Stata technical support recommend using Mata as it 
> is closer
> in syntax to C++ than the Stata ado language (though this doesn't help
> me much as I've not got to grips with Mata).  
 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index