rdarob: Robust Regularized Discriminant Analysis

Description Usage Arguments Value Examples

Description

This model utilizes a combination of shrinkage and robust estimation in order to improve the performance of the standard quadratic discriminant. Robustness is obtained by utilizing the minimum covariance determinant covariance estimate. Regularization is performed in two ways: first each within-level covariance matrix is shrunk towards a pooled covariance matrix. The amount of shrinkage for this is controlled by the hyperparameter α. Second, each covariance matrix is shrunk towards an identity matrix scaled by the geometric mean of the diagonal of a respective matrix. This is controlled by the hyperparameter γ. A guide to help interpret how the two hyperparameters interact is given below.

γ = 0 ; α = 0 : Equivalent to robust qda.
γ = 0 ; α = 1 : Equivalent to robust lda.
γ = 1 ; α = 0 : Levels are conditionally independent and within-level covariances are the scaled diagonal.
γ = 1 ; α = 1 : Classification based on robust distance to the nearest mean. Similar to k-means.


Note that the returned object is of class "qdarob" and hence is compatible with its methods.

Usage

1
2
3
4
5
6
7
8
9
rdarob(
  formula,
  data,
  grouping,
  prior = proportions,
  gamma = 0.5,
  alpha = 0.5,
  kappa = 0.75
)

Arguments

formula

a model formula

data

a data frame

prior

a vector of prior probabilities for each class

gamma

within-level covariance shrinkage parameter.

alpha

parameter controlling shrinkage towards pooled covariance.

kappa

the minimum proportion of observations retained in the minimum covariance determinant estimators of the covariances. defaults to 0.75.

Value

A qdarob object

Examples

1
rdarob(Species ~.,iris)

abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.