MATLAB: 95% confidence interval of the mean of a populationsample

confidence interval

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

Best Answer

If the sample follows a particular distribution and you have the stats TB, then you can estimate the parameters with the confidence intervals you want.
Give a look at normfit
Oleg