I have a time series daily data points from Jan-1-2007 to March-31-2011 which is 1642 data points. How to plot the CDF of the same?

1 view (last 30 days)
I have tried with ecdf function [f,x] = ecdf(times_Series_data) and in that the range of 'f' and 'x' reduces to 193. May I know why this is happening and how can I plot a CDF curve of the time series data. I can share the data if required too.

Accepted Answer

dpb
dpb on 9 Sep 2018
Because ecdf returns the percentiles at the unique locations in the input vector returned in the optional second output variable. It would seem your 1642 points don't have much resolution to make them unique.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!