proper propagation of variance through the Gaussian likelihood

This commit is contained in:
James Hensman 2013-02-04 12:18:14 +00:00
parent 049e60f16b
commit 9b69b04933

View file

@ -42,8 +42,8 @@ class Gaussian(likelihood):
"""
mean = mu*self._std + self._mean
true_var = (var + self._variance)*self._std**2
_5pc = mean + - 2.*np.sqrt(var)
_95pc = mean + 2.*np.sqrt(var)
_5pc = mean + - 2.*np.sqrt(true_var)
_95pc = mean + 2.*np.sqrt(true_var)
return mean, _5pc, _95pc
def fit_full(self):