Machine Learning - Save Variable(s) - Discriminant Variables
Jump to navigation
Jump to search
Create a new variable set containing the discriminant variables from a linear discriminant analysis
Creates a new question containing the discriminant variables from Machine Learning - 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, null, "discrim.var", "LDA");
}