Description Usage Arguments Value

this function classifies test data using a fitted QDA model

1 | ```
predict_QDA(fit, Xtest)
``` |

`fit` |
this is a list with elements pi.hats, mu.hats, and Sigma.hats where pi.hats is a list of C response category sample proportions, mu.hats is a list of C p-dimensional sample mean proportions, Sigma.hats is a list of C p by p Sample covariance matrices |

`Xtest` |
this is a matrix with ntest rows and p column, each row is a test case |

returns a vector of ntest entries, where the ith entry is the estimated response category (some value in 1, ..., C) for the ith test case.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.