# How can i calculate PDF and CDF of non-parametric distribution?

3 views (last 30 days)

Show older comments

##### 0 Comments

### Accepted Answer

Star Strider
on 30 Jul 2021

### More Answers (1)

Bjorn Gustavsson
on 30 Jul 2021

You get some start towards estimates of the PDF/CDF from histogram and ksdensity. See the help and documentation to those functions. The next step (possibly) for you would then be to convert those estimates into a form (interpolating+extrapolating function?) that suits your forecast implementation - this might be trivial or "challenging" depending on circumstances - but those functions should give you first estimates.

HTH

##### 0 Comments

### See Also

### Community Treasure Hunt

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

Start Hunting!