Classifier - Save Variable(s) - Discriminant Variables

From Q
Jump to: navigation, search

*** Classifier functions are being renamed Machine Learning ***

This page will soon be removed, please see the relevant Machine Learning page.

Creates a new question containing the discriminant variables from Classifier - Linear Discriminant Analysis.

Example

A table of discriminant variables.

Technical details

Unlike the defaults in most R packages, this implementation predicts values for observations not in the estimation sample.

Code

includeWeb("QScript R Output Functions");

main();
 
function main() {
    saveVariables("Discriminant Variables", "LDA", 
    "DiscriminantVariables(", ")", null);
}