I generate confidence intervals for the mean INCOME for each COUNTY separately for WHITES and BLACKS as shown here:
However, It is my understanding that I could generate bca's as shown here:
However, how could I replicate what I showed in my first line of code? That is how could I generate bootstrapped Confidence Intervals for mean income in each county for whites and blacks separately?
Code:
bysort county: ci mean income if race == 1, level(95) bysort county: ci mean income if race == 2, level(95)
Code:
set seed a bootstrap _b, reps(1000) bca: mean income estat bootstrap
However, how could I replicate what I showed in my first line of code? That is how could I generate bootstrapped Confidence Intervals for mean income in each county for whites and blacks separately?
Comment