Machine Learning - Save Variable(s) - Discriminant Variables

From Q
Jump to: navigation, search

Creates a new questionvariable set containing the discriminant variables from Machine Learning - Linear Discriminant Analysislinear discriminant analysis.


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.


includeWeb("QScript R Output Functions");

function main() {
    saveVariables("Discriminant Variables", "LDA", 
    "DiscriminantVariables(", ")", null, null, "discrim.var");