Effacer les filtres
Effacer les filtres

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 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

dpb
dpb le 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.
  1 commentaire
Anudeep
Anudeep le 9 Sep 2018
Yeah, I just checked and there are 192 unique values in my complete dataset. Thanks for the clarification.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by