<< nan_boxplot Statistical Visualization nan_ecdfhist >>

NaN Toolbox >> NaN Toolbox > Statistical Visualization > nan_cdfplot

nan_cdfplot

plots empirical commulative distribution function

Calling Sequence

nan_cdfplot(X)
nan_cdfplot(X, FMT)
nan_cdfplot(X, PROPERTY, VALUE,...)
h = nan_cdfplot(...)
[h,stats] = nan_cdfplot(...)

Parameters

X:

contains the data vector (matrix data is currently changed to a vector, this might change in future)

FMT,PROPERTY,VALUE :

are used for formating; see HELP PLOT for more details

h:

is the handle to the cdf curve

stats:

is a struct containing various summary statistics like mean, std, median, min, max, etc.

Examples

y=grand(100,1,'gam',1,1);
nan_cdfplot(y);
x = 0:0.1:7;
f = cdfgam("PQ",x',ones(71,1),ones(71,1));
plot(x,f,'m');
legend('Empirical','Theoretical','Location','NW');

See also

Authors


Report an issue
<< nan_boxplot Statistical Visualization nan_ecdfhist >>