Question
In the command window output when using fitdist there are vectors in connection to the parameter values that look like they might contain confidence intervals (a vector containing two values for each parameter). However they are not mentioned at all in the documentation for fitdist and when I look among the properties for the created probability distribution they are nowhere to be found. What are they? They need to be mentioned in the documentation. For example, refer to MATLABs own example code for using fitdist (run following line in MATLAB command window): openExample('stats/FitaNormalDistributiontoDataExample')
Expert Answer
John Michell
PhD Expert
Answered Aug 25, 2026
Your interpretation is correct. It is necessary to go ‘diving’ into the related documentation that (through prob.NormalDistribution (link)) eventually leads to the prob.ToolboxFittableParametricDistribution (link) that lists the relevant functions to get the necessary information as scalars and matrices, and to use elsewhere in your code.
Example —
load hospital x = hospital.Weight; pd = fitdist(x,'Normal') pd_mean = mean(pd) % Function References pd_std = std(pd) pd_ci = paramci(pd) pd_mean = pd.mean % Structure References pd_std = pd.std pd_ci = pd.paramci
The information is inconveniently buried in the documentation, but it is all available. Additional documentation, including that necessary to change the confidence interval probabilities from the default 95%, is available in the paramci page.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related AI Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →