Dear All,
We have a a dataset and we need to do the following:
We are interested to compute a 90 % confidence interval for the 3rd quartile. This has to be done in the following steps:
Take 200 samples of size 40 from the hotels data. Compute each time Q3 (the 3rd quartile).
Compute now the median and corresponding 90 % confidence interval as the (P5;P95); P=percentile
We also want to repeat tehe above step for different sample sizes (ranging from 10 until 50) and at each time make a plot of the 3rd quartile (with CI) against the sample sizes.
Any suggestion will be highly appreciated.
Thank you.
Tim
|