Skip to content

Commit ff1e932

Browse files
committed
[Reliability Bayesian pymc-devs#474] trying to fix pre-commit checks
Signed-off-by: Nathaniel <[email protected]>
1 parent e98b9a6 commit ff1e932

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/case_studies/reliability_and_calibration.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,21 @@
6666
"source": [
6767
"## Reliability Statistics \n",
6868
"\n",
69-
"When we want to make inferences about likely failures on a production line. We may have large or small sample data set depending on the industry, nature of the goods or specificifty of the question we're seeking to answer. But in all cases there is a question of cost and a quantity of tolerable failures. In an industry where the line-item cost-profit ratio is clear, the estimation of failure rates is valuable. In an industry where failures are only tangentially related to a bottom line it is arguably even more crucial to correctly predict likely failures - otherwise the uncertainty propagates forward to make the revenue calculations next to impossible. \n",
69+
"When we want to make inferences about likely failures on a production line. We may have large or small sample data set depending on the industry, nature of the goods or specificifty of the question we're seeking to answer. But in all cases there is a question of cost and a quantity of tolerable failures. \n",
7070
"\n",
7171
"A reliability study therefore has to account for the period in which a failure is important to observe, the cost of the failure and cost of running a mis-specified study. The requirements for precision in the definition of the question and the nature of the modelling exercise are paramount. \n",
7272
"\n",
73-
"There are more subtleties about reliability and failure time data such as censoring, accelerated life test data and degradation testing which we'll discuss briefly below. In this notebook we're going to focus on the prediction of failure times and compare the Bayesian notion of a calibrated prediction interval to some frequentist alternatives. \n",
73+
"There are subtleties about reliability and failure time data such as censoring, accelerated life test data and degradation testing which we'll discuss briefly below. In this notebook we're going to focus on the prediction of failure times and compare the Bayesian notion of a calibrated prediction interval to some frequentist alternatives.\n",
74+
"We draw on the work in the book *Statistical Methods for Reliability Data*. \n",
7475
"\n",
7576
"### Types of Prediction\n",
7677
"\n",
7778
"We might want to know:\n",
7879
"\n",
7980
"- Time to failure of a new item\n",
8081
"- Time until k failures in a future sample of m units\n",
81-
"- Number of failures by time t in future sample of m units.\n",
8282
"\n",
83-
"While there are non-parametric and descriptive methods that can be used to assess these kinds of question we're going to focus on the case where we have a probability model i.e. a lognormal distribution of failure times $F(t: \\mathbf{\\theta})$ parameterised by an unknown $\\mathbf{\\theta}$."
83+
"While there are non-parametric and descriptive methods that can be used to assess these kinds of question we're going to focus on the case where we have a probability model e.g. a lognormal distribution of failure times $F(t: \\mathbf{\\theta})$ parameterised by an unknown $\\mathbf{\\theta}$."
8484
]
8585
},
8686
{

myst_nbs/case_studies/reliability_and_calibration.myst.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ az.style.use("arviz-darkgrid")
4949

5050
## Reliability Statistics
5151

52-
When we want to make inferences about likely failures on a production line. We may have large or small sample data set depending on the industry, nature of the goods or specificifty of the question we're seeking to answer. But in all cases there is a question of cost and a quantity of tolerable failures. In an industry where the line-item cost-profit ratio is clear, the estimation of failure rates is valuable. In an industry where failures are only tangentially related to a bottom line it is arguably even more crucial to correctly predict likely failures - otherwise the uncertainty propagates forward to make the revenue calculations next to impossible.
52+
When we want to make inferences about likely failures on a production line. We may have large or small sample data set depending on the industry, nature of the goods or specificifty of the question we're seeking to answer. But in all cases there is a question of cost and a quantity of tolerable failures.
5353

5454
A reliability study therefore has to account for the period in which a failure is important to observe, the cost of the failure and cost of running a mis-specified study. The requirements for precision in the definition of the question and the nature of the modelling exercise are paramount.
5555

56-
There are more subtleties about reliability and failure time data such as censoring, accelerated life test data and degradation testing which we'll discuss briefly below. In this notebook we're going to focus on the prediction of failure times and compare the Bayesian notion of a calibrated prediction interval to some frequentist alternatives.
56+
There are subtleties about reliability and failure time data such as censoring, accelerated life test data and degradation testing which we'll discuss briefly below. In this notebook we're going to focus on the prediction of failure times and compare the Bayesian notion of a calibrated prediction interval to some frequentist alternatives.
57+
We draw on the work in the book *Statistical Methods for Reliability Data*.
5758

5859
### Types of Prediction
5960

6061
We might want to know:
6162

6263
- Time to failure of a new item
6364
- Time until k failures in a future sample of m units
64-
- Number of failures by time t in future sample of m units.
6565

66-
While there are non-parametric and descriptive methods that can be used to assess these kinds of question we're going to focus on the case where we have a probability model i.e. a lognormal distribution of failure times $F(t: \mathbf{\theta})$ parameterised by an unknown $\mathbf{\theta}$.
66+
While there are non-parametric and descriptive methods that can be used to assess these kinds of question we're going to focus on the case where we have a probability model e.g. a lognormal distribution of failure times $F(t: \mathbf{\theta})$ parameterised by an unknown $\mathbf{\theta}$.
6767

6868
+++
6969

0 commit comments

Comments
 (0)