common_beta: Bartlett's Modified Likelihood Ratio Chi-Sq Test for Common...

View source: R/common_beta.R

common_betaR Documentation

Bartlett's Modified Likelihood Ratio Chi-Sq Test for Common Shape

Description

common_beta provides a test for a common shape parameter given multiple systems/processes assumed to come from a Nonhomogeneous Poisson Process (NHPP) following a Power Law Model (Crow-AMSAA model). Small p-values reject null hypothesis of common beta (shape paramter). See: Minitab Methods and formulas for test for equal shapes or scales in Parametric Growth Curve and AMSAA Technical Report No. 138 Reliability Analysis for Complex, Repairable Systems (L.H. Crow 1975).

Usage

common_beta(t, T, fail.trunc = FALSE)

Arguments

t

A list of failure time vectors. Each vector should indicate a different system, i.e. if you have multiple systems each systems' failure times should be in it's own vector.

T

A list of Total Time on Test (TTT) (i.e. test duration) vectors. The vectors in the list should be of length 1, and each vector should indicate a different system, i.e. if you have multiple systems each systems' TTT should be in it's own vector.

fail.trunc

Logical indicating if the test was failure terminated.

Value

The output will be a list with the test statistic, p-value, and degrees of freedom.

See Also

power_law_process, power_law_mcf, mcf, trend_test, ttt

Examples

data(amsaa)

common_beta(
  t = split(amsaa$Time, amsaa$System),
  T = list(200, 200, 200),
  fail.trunc = FALSE) 


jjw3952/mcotear documentation built on Sept. 2, 2023, 10:30 a.m.