How can i calculate PDF and CDF of non-parametric distribution?
조회 수: 8 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!