Example #1
0
 def cdf(self, x):
     return 0.5 * (1. + erf.erf((
         x - broadcast.broadcast_to(self.loc, x.shape))
         / (2 ** 0.5 * broadcast.broadcast_to(self.scale, x.shape))))
Example #2
0
 def cdf(self, x):
     return 0.5 * (1. + erf.erf((
         x - broadcast.broadcast_to(self.loc, x.shape))
         / (2 ** 0.5 * broadcast.broadcast_to(self.scale, x.shape))))
Example #3
0
 def survival_function(self, x):
     return 0.5 * (1. - erf.erf(
         (x - broadcast.broadcast_to(self.loc, x.shape))
         / (2 ** 0.5 * broadcast.broadcast_to(self.scale, x.shape))))
Example #4
0
 def survival_function(self, x):
     return 0.5 * (1. - erf.erf(
         (x - broadcast.broadcast_to(self.loc, x.shape))
         / (2 ** 0.5 * broadcast.broadcast_to(self.scale, x.shape))))