主要内容

accelfactor

Acceleration factors of accelerated life model

Since R2026a

Description

tbl = accelfactor(mdl) returns the acceleration factors of the unique stressor levels in mdl.StressorLevels relative to the baseline stressor level mdl.BaselineStressorLevel, where mdl is an AcceleratedLifeModel object. You cannot use this syntax if mdl.BaselineStressorLevel is empty.

example

tbl = accelfactor(mdl,baseline) returns acceleration factors relative to the baseline stressor level baseline.

Examples

collapse all

Load the partFailure data set, which contains simulated observations of failure times for an assembly line part at specific humidity and temperature levels.

load partFailure.mat

Fit an accelerated life model to the data in the partFailure table using the fitacclife function. Use the FailureTime table variable as the failure times, and the other table variables as the stressors. Set the baseline stressor level to a humidity of 50% and a temperature of 20 degrees Celsius.

mdl = fitacclife(partFailure,"FailureTime",BaselineStressorLevel=[50 20]);

Display the mean failure times of the model at each stressor level in the data.

meanfailtime(mdl)
ans=41×3 table
    Humidity    Temperature    MeanFailureTime
    ________    ___________    _______________

       90           35             1.3928     
       90           30             1.4516     
       90           25             1.5382     
       90           20             1.6777     
       90           15              1.939     
       90           12              2.241     
       90            8             3.2181     
       90            5             6.1729     
       80           35             1.3886     
       80           30             1.4473     
       80           25             1.5335     
       80           20             1.6727     
       80           15             1.9332     
       80           12             2.2343     
       80            8             3.2084     
       80            5             6.1543     
      ⋮

Create a table of acceleration factors for the unique stressor levels in mdl.

tbl = accelfactor(mdl)
tbl=41×4 table
    Humidity    Temperature    MeanFailureTime    AccelerationFactor
    ________    ___________    _______________    __________________

       90           35             1.3928               1.1815      
       90           30             1.4516               1.1336      
       90           25             1.5382               1.0699      
       90           20             1.6777              0.98087      
       90           15              1.939              0.84869      
       90           12              2.241              0.73432      
       90            8             3.2181              0.51136      
       90            5             6.1729              0.26659      
       80           35             1.3886               1.1851      
       80           30             1.4473               1.1371      
       80           25             1.5335               1.0731      
       80           20             1.6727              0.98383      
       80           15             1.9332              0.85125      
       80           12             2.2343              0.73654      
       80            8             3.2084              0.51291      
       80            5             6.1543               0.2674      
      ⋮

Each acceleration factor is the ratio of the mean failure time at the baseline stressor level to the mean failure time at the stressor level.

Create a 3-D scatter plot showing the acceleration factors of different stressor levels.

scatter3(tbl,"Humidity","Temperature","AccelerationFactor")

Figure contains an axes object. The axes object with xlabel Humidity, ylabel Temperature contains an object of type scatter.

Input Arguments

collapse all

Accelerated life model, specified as an AcceleratedLifeModel object created using fitacclife.

Baseline stressor level, specified as a numeric row vector with the same length as mdl.StressorNames.

Output Arguments

collapse all

Acceleration factors, returned as a table with a variable for each stressor in mdl.StressorNames, a variable MeanFailureTime for the mean failure times, and a variable AccelerationFactor for the acceleration factors. The acceleration factor is the ratio of the mean failure time at the baseline stressor level to the mean failure time at the stressor level.

Version History

Introduced in R2026a