Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: obtaining specific percentiles of simulated distribution


From   "Richard Hiscock" <rhiscock@netspace.net.au>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: obtaining specific percentiles of simulated distribution
Date   Sun, 28 Aug 2005 20:34:21 +1000

I have simulated (1000x) the t statistic from N(0,1) distribution of varying n.
I wish to access values of t at percentiles 2.5 & 97.5 to assess how coverage varies with n.
Whilst this the t distribution is symmetrical I plan to look at other statistics where this may not be so & as such don't want to rely on the 5th or 95th percentile.
I have tried return(p) after summarize, however it only gives a limited number of choices.
Any help would be appreciated
thanks Richard Hiscock

*
* 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