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
The residuals should be with respect to the scaled (bias-corrected) value (E in Schoups and Vrugt, 2010, Eq. 1). They are currently computed with respect to the unscaled value (Y_h in Schoups and Vrugt, 2010, Eq. 2) using the __calcSimpleDeviation function.
A new function is needed, similar to the following:
def __calcSimpleDeviation_bias(data, comparedata, mu_h):
__standartChecksBeforeStart(data, comparedata)
d = np.array(data)
c = np.array(comparedata)
#Adjust c for multiplicative bias parameter:
mu_t = np.exp(mu_h * c)
Et = c * mu_t
return d - Et
The residuals should be with respect to the scaled (bias-corrected) value (E in Schoups and Vrugt, 2010, Eq. 1). They are currently computed with respect to the unscaled value (Y_h in Schoups and Vrugt, 2010, Eq. 2) using the __calcSimpleDeviation function.
A new function is needed, similar to the following:
def __calcSimpleDeviation_bias(data, comparedata, mu_h):
__standartChecksBeforeStart(data, comparedata)
d = np.array(data)
c = np.array(comparedata)
#Adjust c for multiplicative bias parameter:
mu_t = np.exp(mu_h * c)
Et = c * mu_t
return d - Et
The function is called in Line 432.
The text was updated successfully, but these errors were encountered: