| gof | R Documentation |
Computes numerical goodness-of-fit statistics for a fitted Reliability Growth
Analysis (RGA) model using the time-transformation approach. For a
Crow-AMSAA (Power Law NHPP) model with parameters \beta and
\lambda, the transformed values
W_i = (t_i / t_n)^{\beta}
should follow a Uniform(0, 1) distribution if the model fits. The
Cramér-von Mises and Kolmogorov-Smirnov statistics are computed against
this null distribution.
gof(x, ...)
## Default S3 method:
gof(x, ...)
## S3 method for class 'rga'
gof(x, ...)
x |
An object for which a goodness-of-fit method is defined. |
... |
Additional arguments passed to methods. |
An object of class gof.
Other goodness-of-fit:
ppplot.rga(),
print.gof(),
qqplot.rga()
times <- c(5, 10, 15, 20, 25)
failures <- c(1, 2, 1, 3, 2)
fit <- rga(times, failures)
g <- gof(fit)
print(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.