Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of Gamma distribution for SPEI calculations #190

Closed
s-m-t-c opened this issue Oct 3, 2018 · 2 comments
Closed

Use of Gamma distribution for SPEI calculations #190

s-m-t-c opened this issue Oct 3, 2018 · 2 comments

Comments

@s-m-t-c
Copy link

s-m-t-c commented Oct 3, 2018

I was just re-reading the key paper on SPEI1 and noted the authors statement:

"Although the SPI can be calculated using a two-parameter distribution, such as the gamma distribution, a three-parameter distribution is needed to calculate the SPEI. In two-parameter distributions, the variable x has a lower boundary of zero (0>x<∞), whereas in three-parameter distributions,, x can take values in the range (y>x<∞), where y is the parameter of origin of the distribution; consequently, x can have negative values, which are common in D series."

D here refers to the difference in Di = Pi - PETi

Building on this their R package2 implements the gamma distribution as default for the SPI but uses a log-logistic distribution for SPEI.

I've been using the gamma distribution in climate_indices for my SPEI calculations but their paper indicates that two-parameter distributions such as this shouldn't be implemented for the SPEI. Comparisons of my results using both Gamma and Pearson III distributions show pretty negligible differences between the two

Do you have any thoughts on this?

Thanks in advance for your time and maintenance on this package!

1Vicente-Serrano, S. M., S. Beguería, et al. (2009). "A Multiscalar Drought Index Sensitive to Global Warming: The Standardized Precipitation Evapotranspiration Index." Journal of Climate 23(7): 1696-1718.

2https://cran.r-project.org/web/packages/SPEI/SPEI.pdf

@monocongo
Copy link
Owner

This is an open issue, #106. Any assistance implementing this approach would be very helpful. Can we maybe put together a short summary of the math involved before focusing on the implementation? Thanks in advance for any help with this issue!

@monocongo
Copy link
Owner

Closing since this is a duplicate of issue #106.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants