Does the first item from a Google search for Krinsky and Robb not do
what you want?
http://repec.org/nasug2007/pwj_nasug07.pdf
Constructing Krinsky and Robb Confidence Intervals for Mean and Median
Willingness to Pay (WTP) Using Stata
By
P. Wilner Jeanty
Agricultural, Environmental, and
Development Economics
The Ohio State University
6thNorth AmericanStataUsers’GroupMeeting
August13-14, 2007
Boston, MA
*
* 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/