I have a set of data in Matlab, a matrix 6256x48, that I have found the mean, std dev, and CI intervals for. This was done using:
[muhat1,sigmahat1,muci1,sigmaci1] = normfit(data);
My question is, how can I find the number of results or data points in each column of the original data that are within the confidence intervals within the muci1
array.
The muci1
array is 2 rows of 48 points, the top row being the lower bound and the bottom row being the upper bound.