how to calculate mean,5 percentile of first quartile q5, 50 percentile of second quartile q50 and 95 percentile of third quartile q95

I have thirty years of rainfall dataset and i have to calculate it's mean,5 percentile of first quartile q5, 50 percentile of second quartile q50 and 95 percentile of third quartile q95. If I have observed and modeled data of thirty years I have to make a plot which is attached. I have no idea about percentile and quartiles.Can anyone help me? In this plot red is observed data.

回答 (1 件)

Star Strider
Star Strider 2018 年 3 月 18 日
For the quantiles, use the Statistics and Machine Learning Toolbox quantile (link) function. Another option is the prctile (link) function. For the plot, use the boxplot (link) function.

タグ

質問済み:

2018 年 3 月 18 日

回答済み:

2018 年 3 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by