FAQ - Frequently Asked Questions
Issue:
-
How do I see and/or include more than 20 factors in a PLS or PCR model when using Analysis GUI?
Possible Solutions:
-
By default, the Analysis window limits the number of factors latent variables (PLS) or principal components (PCR) to 20. This can be changed using the following guides:
PLS_Toolbox Version 5.0 and above
In the Analysis window:
1) Go to the menu: "Edit > Options > Analysis GUI Options" and select "Advanced" from the User Level menu.
2) In the list of options, locate "Maximumfactors" and set the value to the desired number. Click "OK" at the bottom of the window.
3) Rebuild your model to access the higher number of factors. If you don't notice more factors, try closing and reopening the window.
PLS_Toolbox Version 4.2 and below
This can be changed from the command line using the SETPLSPREF function.
Use the following command to set the maximum number of factors to 30:
setplspref('analysis','maximumfactors',30)
PLS_Toolbox Version 3.5
Use the following command to set the maximum number of factors to 30:
setplspref('reg_guifcn','maximumfactors',30)
setplspref('pca_guifcn','maximumfactors',30)
PLS_Toolbox Version 3.0
Use the following command to set the maximum number of factors to 30:
setplspref('regression','maximumfactors',30)
These settings will be retained from one Matlab session to another. To reset the value to the factor default value, use the command:
setplspref('analysis','maximumfactors','factory') %ver 4.0+
setplspref('reg_guifcn','maximumfactors','factory') %ver 3.5
setplspref('pca_guifcn','maximumfactors','factory') %ver 3.5
setplspref('regression','maximumfactors','factory') %ver 3.0
Still having problems? Check our documentation Wiki or try writing our helpdesk at helpdesk@eigenvector.com