You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the returns_geo is log (St/S0), the mean of the likelihood's mean is prior_mean - 0.5 * prior_vol **2. Right now, the code finds the likelihood distribution mean and in post processing tries to find the value of the true mean, but that results in the fitting not accounting for variance in the return. If you do the following instead:
that deterministic random variable (which might be a newer feature in pymc) will account for the proper stochastic mixing of variance and mu, and it will accurately estimate mu from the data.
The text was updated successfully, but these errors were encountered:
Awesome write up, thanks - I learned a lot!
I found why the MCMC result couldn't find the right mean if you set it to a non-zero value. The current model_gbm is
When the returns_geo is log (St/S0), the mean of the likelihood's mean is prior_mean - 0.5 * prior_vol **2. Right now, the code finds the likelihood distribution mean and in post processing tries to find the value of the true mean, but that results in the fitting not accounting for variance in the return. If you do the following instead:
that deterministic random variable (which might be a newer feature in pymc) will account for the proper stochastic mixing of variance and mu, and it will accurately estimate mu from the data.
The text was updated successfully, but these errors were encountered: