How can i calculate PDF and CDF of non-parametric distribution?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Star Strider
2021-7-30
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 个评论
Star Strider
2021-8-27
I honestly have no idea.
I have never heard ot that, and so I have no experience with it.
.
更多回答(1 个)
Bjorn Gustavsson
2021-7-30
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Probability Distributions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!