Filter löschen
Filter löschen

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 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

dpb
dpb am 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by