Skip to content

Commit

Permalink
Added example with CHI2 distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoRianiUNIPR committed May 24, 2024
1 parent 9195c0d commit c4eb9f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions toolbox/graphics/distribspec.m
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,15 @@
%}


%{
% Exmple with the Chi2 distribution with v degrees of freedom.
% Set the degrees of freedom.
v=6;
% Create the Chi2 with v degrees of freedom
pd = makedist('Gamma','a',v/2,'b',2);
p= distribspec(pd,[icdf(pd,0.05) icdf(pd,0.95)])
%}

%% Beginning of code

fittedUsingKernel = false;
Expand Down

0 comments on commit c4eb9f0

Please sign in to comment.