How can i calculate PDF and CDF of non-parametric distribution?
6 views (last 30 days)
Show older comments
israt fatema
on 30 Jul 2021
Commented: israt fatema
on 27 Aug 2021
I want to do probabilistic forecast from point forecast. I do have error distribution (non parametric) from point forecast. How can i calculate PDF and CDF of non-parametric distribution?
0 Comments
Accepted Answer
Star Strider
on 30 Jul 2021
I am not certain what your data are. If ,they are appropriate for the function, I would begin with the ecdf function, since it is intended to do exactly what it appears that you want to do. It is usually easier to get the CDE first, then diferentiate it to get the PDF. See the See Also section of that documentation for similar functions.
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
Find more on Probability Distributions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!