Statalist


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

st: Generate Random Variable Given Percentile Values


From   Peter Graven <[email protected]>
To   [email protected]
Subject   st: Generate Random Variable Given Percentile Values
Date   Tue, 17 Feb 2009 12:18:27 -0600

How do you create a random variable given just the percentile
statistics for a distribution? For example the 1%, 5%, 10%, 25%, 50%,
75,%, 90%, 95%, 99% percentiles are, respectively, 795, 1834, 2172,
2641, 3174, 3822, 4900, 5981, 8522. That is, I would like to create a
variable with this distribution in my dataset.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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