필터 지우기
필터 지우기

I have a dataset containing daily rainfall values which has some zero values in it. Can i fit lognormal, exponential, gamma, beta distributions to this? How to do so stepwise?

조회 수: 1 (최근 30일)
I have a dataset containing daily rainfall values which has some zero values in it. Can i fit lognormal, exponential, gamma, beta distributions to this? How to do so stepwise?

답변 (1개)

Walter Roberson
Walter Roberson 2023년 8월 11일
  • lognormal: NO, the log(0) will ruin the calculations
  • exponential: NO unless it is exponential plus constant rather than pure exponential. Exponential can only exactly equal zero at -infinity
  • gamma: NO, gamma(0) is infinity and that will ruin the calculations
  • beta: the PDF for the beta distribution at the (fixed) lower bound should be 0, and you will have a non-trivial number of 0's, leading to a PDF at your zero samples that is distinctly non-zero. Beta is not going to fit well. Also, beta distribution requires a fixed upper bound, but rainfall distribution does not have a fixed upper bound. You could, I suppose, use 1.825m as your fixed upper bound (Reunion Island, 1966), but with climate change it is far from certain that will remain the record. I don't think you could possibly get a reasonable beta distribution with that kind of long tail.

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by