QDA: Quadratic Discriminant Analysis

Description Usage Arguments Value

View source: R/LDA.R

Description

this function fit the QDA model

Usage

1
QDA(X, y, method = c("MLE", "diagonal", "ridge"), lam = NULL)

Arguments

X

n x p matrix where the ith row is the values of the predictor for the ith case

y

n entry response vector where the ith entry is the response category in 1, ..., C for the ith case

method

estimation method

lam

optional tuning parameter specification

Value

returns a list with the parameter estimates


MGallow/statr documentation built on Aug. 2, 2018, 4:50 a.m.