I'm analyzing a sample of GPs. I want to describe the GP's with extreme values of a variable. This means the subgroups were the variable is above P90 and below P10. I want to bootstrap the entire sample and use the bootstrapped p90 and p10 results as the definitions of the groups above p90 and below p10. Next I want to know the mean and confidence intervals for the mean for these two groups. How can this be done in stata?
I am able to use: bootstrap r(p90), rep(1000): summarize var, detail
However, this only gives the P90 value. I also want to know the bootstrapped mean and CI for the group above p90 :-) I hope this is possible?
Related Posts with Bootstrapping of mean in a subsample
Interaction Term with dummy and continuous variable!Hello all, I have a silly question regarding interaction term. Would appreciate prompt input :-) T…
Margins after xtlogit, feDear Statalist: I am trying to verify something about the -margins- command after xtlogit, fe. When…
Xtabond2: Using the nolevel command when one variable is already differenced AND divided by a value from last period.Hey all, I am currently using xtabond2 for my small T large N panel data estimation. My variables …
Subjects with no failure event not in risk pool, StsetHello- I am using the following commands for my set of patients with multiple records and multiple …
Difference in annual hour worked between migrant and native married women by years since migration: a graphical illustration of assimilationDear Statalist, I posted a similar question before, but I think I am a bit closer now where I might…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping of mean in a subsample
Post a Comment