Last active
May 15, 2021 07:35
-
-
Save conormm/1975fd2e23a080fbf52e088275025065 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ev_model = pm.Model() | |
with ev_model: | |
loc = pm.Normal("loc", 5, 10) | |
scale = pm.HalfCauchy("scale", 1) | |
lik = pm.Gumbel("lik", loc, scale, observed=block_maxima_month.wind_speed) | |
ev_trace = pm.sample() | |
norm_model = pm.Model() | |
with norm_model: | |
loc = pm.Normal("loc", 5, 10) | |
scale = pm.HalfCauchy("scale", 1) | |
lik = pm.Normal("lik", loc, scale, observed=block_maxima_month.wind_speed) | |
norm_trace = pm.sample() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment