Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Stata implementation of alias method

From   Jesse McCrosky <>
Subject   st: Stata implementation of alias method
Date   Thu, 9 Aug 2012 10:16:52 -0600

Hi all,

I've been looking for an implementation in Stata of the alias method (for sampling from an arbitrary discrete distribution) and very surprised not to find one.  If it really hasn't been done, I'll write it myself, but just thought I'd check here first.

For those unfamiliar with the method, but curious, the method is described about halfway down here: and the best implementation is in this paper:

Anyone seen or written this in Stata?


Jesse McCrosky

*   For searches and help try:

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