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]

From |
David Hoaglin <dchoaglin@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: on bootstrap |

Date |
Thu, 27 Dec 2012 08:27:31 -0500 |

Dear Ivica, I must leave the details of the programming to others, but I can describe what you want the process of bootstrapping to do in this application. Denote the number of observations in the two countries by N0 and N1, respectively. Each bootstrap replicate should draw, with replacement, a sample of N0 observations from the data on y0 and, independently, a sample of N1 observations from the data on y1, and then determine the medians of those two samples and take their ratio (that is, it produces a value of the ratio for each replicate). Regards, David Hoaglin On Thu, Dec 27, 2012 at 3:58 AM, Rubil Ivica <irubil@eizg.hr> wrote: > Dear Statalisters, > > I have a question on bootstrap. I have cross-sectional data on incomes for two countries, y0 and y1. I would like to obtain bootstrap standard errors for the ratio of medians of these two income distributions. Two ways come to my mind but I am not sure which one would be more appropriate: * * 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/

**References**:**st: A math question***From:*CJ Lan <CJ@jupiter.fl.us>

**st: RE: A math question***From:*"Feiveson, Alan H. (JSC-SK311)" <alan.h.feiveson@nasa.gov>

**st: RE: RE: A math question***From:*CJ Lan <CJ@jupiter.fl.us>

**st: RE: RE: RE: A math question***From:*"Rubil Ivica" <irubil@eizg.hr>

**st: on bootstrap***From:*"Rubil Ivica" <irubil@eizg.hr>

- Prev by Date:
**RE: st: Tobit graphics** - Next by Date:
**st: hunting for the source of an error - r(603) - Dual Core problem?** - Previous by thread:
**st: RE: on bootstrap** - Next by thread:
**Re: st: RE: A math question** - Index(es):