95% confidence interval of the mean of a populationsample
Show older comments
Hi,
Have not been able to locate an answer on this forum to this (seemingly, but for me unsolvable) simple question: how to calculate a 95% confidence interval of the mean of a populationsample, i.e. what is the absolute range of values that fall within 95% of all values.
Jan
Accepted Answer
More Answers (1)
Germán
on 20 Mar 2011
0 votes
Another good option, if you have a reasonably "large" data set and dont know the underlying distribution, is to use bootstrap. The function is bootci. Personally, I favor the bca confidence interval because it works on non-normal cases; unimodality is still a requisite though.
Bootstrap is a resampling statistic, it takes your data as an accurate depiction of the population and samples it (with replacement) to estimate the distribution of a particular statistic you are interested in, e.g. the mean.
Categories
Find more on Resampling Techniques in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!