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

8 views (last 30 days)

Show older comments

israt fatema
on 30 Jul 2021

Commented: israt fatema
on 27 Aug 2021

##### 0 Comments

### Accepted Answer

Star Strider
on 30 Jul 2021

##### 11 Comments

Star Strider
on 27 Aug 2021

I honestly have no idea.

I have never heard ot that, and so I have no experience with it.

.

### 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

### Categories

### Community Treasure Hunt

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

Start Hunting!