Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Set range for mdraws
From
Roberto Ferrer <[email protected]>
To
Stata Help <[email protected]>
Subject
Re: st: Set range for mdraws
Date
Sun, 13 Oct 2013 02:54:47 +0100
Lulu,
This should help:
http://blog.stata.com/2012/07/18/using-statas-random-number-generators-part-1/
It's good practice to mention if your command is a user-written one
(Stata does not ship with -mdraws-).
Bests,
Roberto
On Sun, Oct 13, 2013 at 1:12 AM, Lulu Zeng <[email protected]> wrote:
> Dear Statalist,
>
> I am using mdraws to draw random (halton) numbers (purpose is to
> estimate a nonparametric choice model with fixed mass points, so the
> draws are for the fixed parameter points).
>
> I am wondering if there is a way to set the range of the random
> numbers generated? For example, if I want the random numbers to be in
> the range of 0.05 to 0.5?
>
> Thank you so much for your help in advance.
>
> Best Regards,
> Lulu
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/