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

process 'storms' for the multi-site temporal model #18

Open
JavierDiezSierra opened this issue Jun 25, 2022 · 0 comments
Open

process 'storms' for the multi-site temporal model #18

JavierDiezSierra opened this issue Jun 25, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JavierDiezSierra
Copy link
Collaborator

JavierDiezSierra commented Jun 25, 2022

The option process 'storms', for the multi-site model, simulates series with lower values of cross correlation for some set of hiperparameters.

The main problem resides in the fact that the scale parameter (obtained from the function xi_months) is the same for both storms in the current implementation. The function to calculate the scale parameter use the mean rainfall per gauge, but when 2 independently storms are used it is not clear which amount of rainfall assign to each one of them.

The following options underestimate the variance and skewness:

def scale_funtion_normal(x, landa, ipsilon, eta, alpha):
    return (((landa*mt.gamma(2)*ipsilon))/(x*eta))

def scale_funtion_storms(x, landa1, landa2, ipsilon1, ipsilon2, eta1, eta2, alpha1, alpha2):
    return ((((landa1*mt.gamma(2)*ipsilon1))/(eta1)) + (((landa2*mt.gamma(2)*ipsilon2))/(eta2)))*(1/x)

Another option might be obtain two different scale parameters, one per storm, and calculate each one with Rainfall_mean/2

@JavierDiezSierra JavierDiezSierra self-assigned this Jun 25, 2022
@JavierDiezSierra JavierDiezSierra added the enhancement New feature or request label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant