Description Usage Arguments Value References Examples

This is a wrapper function calling C++ code that executes a pivotal analysis. The P-Value (prr) is the percentile at which the provided Explained Variation (Rsqr) exists in a large random sampling of the model distribution based on pivotal parameters. The 90

1 |

`x` |
The quantity of complete failures for evaluation, or an event vector |

`Rsqr` |
The variance (R squared) from a linear regression of a data sample of interest having size=x or event vector represented by x. |

`S` |
The number of random samples to be drawn for Monte Carlo simulation. S must be a multiple of 10, not less than 1,000. The default of 10^4 is adequate for most instances. S is implemented as an unsigned int in C++ code. The maximum limit is 4x10^9 if system memory permits. |

`model` |
A character string representing the model of interest. The default value of "w2" is for the 2-parameter Weibull. "ln2" or "n" for 2-parameter lognormal or normal, executed by the same code. |

`seed` |
an integer used to set the RNG seed. Default = 1234 |

`options` |
An optional list such as constructed by wiebulltoolkit::wb.options including the named item methods.rank for which only a value of "qbeta" has been implemented to alter the otherwise default Benard's approximation for determing point estimates for plotting positions. |

`ProgRpt` |
A boolean value to control the generation of percent completion feedback in the R terminal. |

Returns a single line dataframe holding the P-value and 90 and the model argument.

Dr. Robert B. Abernethy, (2008) "The New Weibull Handbook, Fifth Edition"

1 | ```
GoodnessOfFit<-prrVal(12,0.9745088)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.