Machine Learning - Save Variable(s) - Discriminant Variables
Jump to navigation
Jump to search
Extensions
Q Technical Reference
Q Technical Reference
Q Technical Reference > Setting Up Data > Creating New Variables
Q Technical Reference > Updating and Automation > Automation Online Library
Q Technical Reference > Updating and Automation > JavaScript > QScript > QScript Examples Library > QScript Online Library
R Online Library
User Interface > Create Classifier
User Interface > Create Machine Learning
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');
saveVariables('Discriminant Variables', 'LDA', 'DiscriminantVariables(', ')', null, null, 'discrim.var', 'LDA');
Extensions
Q Technical Reference
Q Technical Reference
Q Technical Reference > Setting Up Data > Creating New Variables
Q Technical Reference > Updating and Automation > Automation Online Library
Q Technical Reference > Updating and Automation > JavaScript > QScript > QScript Examples Library > QScript Online Library
R Online Library
User Interface > Create Classifier
User Interface > Create Machine Learning