Description Usage Arguments Value References Examples
This function fits a Grubbs' model (using the parameterization of Theobald and Mallison, 1978) considering heavy-tailed distributions. This provides some degree of robustness to outliers.
1 |
y |
a formula or a numeric matrix or an object that can be coerced to a numeric matrix. |
data |
an optional data frame (or similar: see |
family |
a description of the error distribution to be used in the model. By default the Student-t distribution with 4 degrees of freedom is considered. |
subset |
an optional expression indicating the subset of the rows of data that should be used in the fitting process. |
na.action |
a function that indicates what should happen when the data contain NAs. |
control |
a list of control values for the estimation algorithm to replace
the default values returned by the function |
A list with class "heavyGrubbs"
containing the following components:
call |
a list containing an image of the |
family |
the |
center |
final estimate of the center parameters (related with the additive biases). |
phi |
final estimate of the dispersion parameters. |
z |
estimated latent variables. |
logLik |
the log-likelihood at convergence. |
numIter |
the number of iterations used in the iterative algorithm. |
weights |
estimated weights corresponding to the assumed heavy-tailed distribution. |
distances |
estimated squared Mahalanobis distances. |
acov |
asymptotic covariance matrix of the center estimate. |
Osorio, F., Paula, G.A., Galea, M. (2009). On estimation and influence diagnostics for the Grubbs' model under heavy-tailed distributions. Computational Statistics and Data Analysis 53, 1249-1263.
1 2 3 | data(thermocouples)
fit <- heavyGrubbs(100 * thermocouples, family = Student(df = 4))
fit
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.