Drought Calculation in R || Standardized Precipitation Index (SPI) || Export SPI Results to CSV
ฝัง
- เผยแพร่เมื่อ 6 ก.ย. 2024
- Drought Calculation in R || Standardized Precipitation Index (SPI) || Export SPI Results to CSV
SPI3 Calculation in R and export to excel
SPI6 Calculation in R and export to excel
SPI9 Calculation in R and export to excel
SPI12 Calculation in R and export to excel
SPI18 Calculation in R and export to excel
SPI24 Calculation in R and export to excel
SPI30 Calculation in R and export to excel
SPI36 Calculation in R and export to excel
SPI48 Calculation in R and export to excel
Code can be accessed at
www.dropbox.co...
I used the same process as u explained, but still in the results file, for spi-12 first 12 values are showing as NA and for spi-24 first 23 values are showing as NA. How can this problem be solved?
Thanks for your video. May I ask one question? For calculating the SPI, I choose the Gamma distribution which is also default for SPI. And I used the maximum likelihood as the estimated method to calculate the parameters of the fitted Gamma distribution. But all the output are NA. I also change it to plotting position, values still NA. If I choose the default one “un-pmw” as same as the video, I could get right output values. I don’t know why the method maximum likelihood can’t work.
Great work❤, can you share the codes SPI and SPIE
Updated
❤Great
Hello sir I emailed you recently I need your guidance
Sent