residualSimilarityModel
Residual comparison-based similarity model for estimating remaining useful life
Description
Use residualSimilarityModel to estimate the remaining
            useful life (RUL) of a component using a residual comparison-based similarity model.
            This model is useful when you have degradation profiles for an ensemble of similar
            components, such as multiple machines manufactured to the same specifications, and you
            know the dynamics of the degradation process. The historical data for each member of the
            data ensemble is fitted with a model of identical structure. The degradation data of the
            test component is used to compute 1-step prediction errors, or residuals, for each
            ensemble model. The magnitudes of these errors indicate how similar the test component
            is to the corresponding ensemble members.
To configure a residualSimilarityModel object, use fit,
            which trains and stores the degradation model for each data ensemble member. Once you
            configure the parameters of your similarity model, you can then predict the remaining
            useful life of similar components using predictRUL. For similarity models, the RUL of the test component is
            estimated as the median statistic of the lifetime span of the most similar components
            minus the current lifetime value of the test component. For a basic example illustrating
            RUL prediction, see 
            Update RUL Prediction as Data Arrives.
For general information on predicting remaining useful life, see Models for Predicting Remaining Useful Life.
Creation
Syntax
Description
mdl = residualSimilarityModel
mdl = residualSimilarityModel(initModel)residualSimilarityModel object
                        initModel.
mdl = residualSimilarityModel(___,Name,Value)residualSimilarityModel('LifeTimeUnit',"days") creates a
                    residual comparison-based similarity model that uses days as a lifetime unit.
                    You can specify multiple name-value pairs. Enclose each property name in
                    quotes.
Input Arguments
Properties
Object Functions
| predictRUL | Estimate remaining useful life for a test component | 
| fit | Estimate parameters of remaining useful life model using historical data | 
| compare | Compare test data to historical data ensemble for similarity models | 
Examples
Extended Capabilities
Version History
Introduced in R2018a