Bookmark and Share

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: RE: using multinomials as weights in bootstrapping


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: RE: using multinomials as weights in bootstrapping
Date   Fri, 6 Sep 2013 09:45:27 +0200

On Thu, Sep 5, 2013 at 11:06 PM, Charley Greenwood wrote:
> * 1, is there a Stata command which returns the multinomial thresholds for a given value of N ?

the -bsample- command with the -weight()- option, see -help bsample-

> * 2, is there a command which randomly returns an integer directly from the muiltinomial distribution with parameter N?

See:
http://blog.stata.com/2012/07/18/using-statas-random-number-generators-part-1/
http://blog.stata.com/2012/08/03/using-statas-random-number-generators-part-2-drawing-without-replacement/
http://blog.stata.com/2012/08/29/using-statas-random-number-generators-part-3-drawing-with-replacement/

-- Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index