Skip to content

Commit

Permalink
version 0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewReid854 committed May 25, 2022
1 parent 3c88784 commit 2800cd8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions reliability/Distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5658,9 +5658,10 @@ def plot(self, xvals=None, xmin=None, xmax=None):
pdf = ss.fisk.pdf(X, self.beta, scale=self.alpha, loc=self.gamma)
cdf = ss.fisk.cdf(X, self.beta, scale=self.alpha, loc=self.gamma)
sf = ss.fisk.sf(X, self.beta, scale=self.alpha, loc=self.gamma)
hf = (self.beta / self.alpha) * ((X - self.gamma) / self.alpha) ** (
self.beta - 1
)
hf = (
(self.beta / self.alpha)
* ((X - self.gamma) / self.alpha) ** (self.beta - 1)
) / (1 + ((X - self.gamma) / self.alpha) ** self.beta)
hf = zeroise_below_gamma(X=X, Y=hf, gamma=self.gamma)
chf = np.log(1 + ((X - self.gamma) / self.alpha) ** self.beta)
chf = zeroise_below_gamma(X=X, Y=chf, gamma=self.gamma)
Expand Down

0 comments on commit 2800cd8

Please sign in to comment.