Learn R Programming

carx (version 0.7.1)

ot.carx: Detecting outliers in a carx model.

Description

This is an internal function. It tests for additional outlier one at a time, for each time point, as described in Wang and Chan (2015), adjusted for multiplicity of testing. If the test result is significant, the function augments the location of the most significant outlier to the vector of outlier indices, i.e, the outlier.indices in the object returned by the function.

Usage

ot.carx(object)

Arguments

object

a carx object

Value

a possibly updated object which will have an attribute outlier.indices denoting the indices of outliers with the new index of outlier appended, if any outlier is detected.