Asked by Jules Ray
on 1 Apr 2013

Hey dudes...

i have a question about to create confidence intervals from a number of points.

i have a table named "sea", contains 2 rows the first one is the time and the second one is the elevation

sea=

1000 -45 1100 -40 1200 -30 1300 -25 1400 -10 1500 0 1600 -30 1700 -65 1800 -40 1900 -55 2000 -40

what i need is to calculate the upper and lower confidential intervals (99%, 95%, 90% and 60% of confidence), and then plot this intervals using this function.

http://www.mathworks.com/matlabcentral/fileexchange/13103-plot-confidence-intervals

thanxs in advance for any idea

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 1 Comment

## Tom Lane (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/69403#comment_140683

First you should think "confidence intervals for what?" I assume you will treat time as fixed. Are you fitting a model of elevation over time, and you want confidence intervals for parameters of that model? Or are the times just different observations, and you want to fit a probability distribution to the elevation values and compute confidence intervals for parameters of that distribution? Or ...?