Model Building: Plotting Scores: Difference between revisions
imported>Jeremy No edit summary |
imported>Jeremy No edit summary |
||
| Line 6: | Line 6: | ||
For most analysis methods, the Analysis window toolbar contains a Plot scores and sample statistics button [[Image:Plot_scores_sample_statistics_icon.png|16x19px]]. Scores are the coordinates of the samples in the new principal component or factor coordinate system. A Scores plot shows the relationship among the samples in plots that are displayed in a multiplot Figure window. The Plot Controls window lists the options that can be plotted. The options that are available for plotting depend on the analysis that was carried out. To change the information that is plotted, select a different X value, a different Y value, or both in the Plot Controls window. The figure below shows some of the possible Scores plots for a PCA analysis in which three principal components were retained. | For most analysis methods, the Analysis window toolbar contains a Plot scores and sample statistics button [[Image:Plot_scores_sample_statistics_icon.png|16x19px]]. Scores are the coordinates of the samples in the new principal component or factor coordinate system. A Scores plot shows the relationship among the samples in plots that are displayed in a multiplot Figure window. The Plot Controls window lists the options that can be plotted. The options that are available for plotting depend on the analysis that was carried out. To change the information that is plotted, select a different X value, a different Y value, or both in the Plot Controls window. The figure below shows some of the possible Scores plots for a PCA analysis in which three principal components were retained. | ||
''Possible Scores plots for a PCA analysis in which three principal components were retained'' | ::''Possible Scores plots for a PCA analysis in which three principal components were retained'' | ||
[[Image:ModelBuilding_PlottingScores.25.1.2.jpg|564x328px]] | ::[[Image:ModelBuilding_PlottingScores.25.1.2.jpg|564x328px]] | ||
:: | |||
:: | |||
:: | |||
Note: For information about the Plot Controls window and Plot window, see [[PlotControlsWindow_Layout|Plot Controls Window]]. | Note: For information about the Plot Controls window and Plot window, see [[PlotControlsWindow_Layout|Plot Controls Window]]. | ||
| Line 20: | Line 24: | ||
| | | | ||
* [[ModelBuilding_PlottingScores#Changing the plot display|Changing the plot display]]. | * [[ModelBuilding_PlottingScores#Changing the plot display|Changing the plot display]]. | ||
|} | |||
{| | |||
|- | |- | ||
| Line 38: | Line 46: | ||
| | | | ||
* You can select an individual Y metric to plot, or you can CTRL-click to select multiple Y metrics to plot. | * You can select an individual Y metric to plot, or you can CTRL-click to select multiple Y metrics to plot. | ||
|} | |||
{| | |||
|- | |- | ||
| Line 43: | Line 55: | ||
| | | | ||
* You can double-click on a plot in the multiplot Figure window to open the plot in its own Figure window, or you can select the plot in the multiplot Figure window, and on the Plot Controls window, click View > Subplots. | * You can double-click on a plot in the multiplot Figure window to open the plot in its own Figure window, or you can select the plot in the multiplot Figure window, and on the Plot Controls window, click View > Subplots. | ||
|} | |||
{| | |||
|- | |- | ||
| Line 48: | Line 64: | ||
| | | | ||
* You can view the labels or classes that are associated with the samples in your original data. On the Plot Controls window menu, click View > Labels or View > Classes. | * You can view the labels or classes that are associated with the samples in your original data. On the Plot Controls window menu, click View > Labels or View > Classes. | ||
|} | |||
{| | |||
|- | |- | ||
| Line 53: | Line 73: | ||
| | | | ||
* You can overlay Sample IDs/numbers on a plot. On the Plot Controls menu, click View > Numbers. | * You can overlay Sample IDs/numbers on a plot. On the Plot Controls menu, click View > Numbers. | ||
|} | |||
{| | |||
|- | |- | ||
| Line 92: | Line 116: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 103: | Line 125: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 114: | Line 134: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 125: | Line 143: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 136: | Line 152: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 144: | Line 158: | ||
| | | | ||
* Double-click on a variable in a Q con and or T con plot to generate a separate trend plot for the variable. | * Double-click on a variable in a Q con and or T con plot to generate a separate trend plot for the variable. | ||
|} | |||
{| | |||
|- | |- | ||
| Line 153: | Line 171: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 166: | Line 182: | ||
::Note: "Lasso" is the most flexible tool for selecting samples. | ::Note: "Lasso" is the most flexible tool for selecting samples. | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 189: | Line 203: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 200: | Line 212: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 211: | Line 221: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 223: | Line 231: | ||
:: | :: | ||
{| | {| | ||
| Line 234: | Line 241: | ||
:: | :: | ||
{| | {| | ||
| Line 241: | Line 247: | ||
| | | | ||
* To select only the new samples (and deselect the previously selected samples), click Select on the Plot Controls window, and then click and drag your cursor around the new samples to select them. (Do not hold down the Shift key while selecting this new samples.) | * To select only the new samples (and deselect the previously selected samples), click Select on the Plot Controls window, and then click and drag your cursor around the new samples to select them. (Do not hold down the Shift key while selecting this new samples.) | ||
|} | |||
{| | |||
|- | |- | ||
| Line 250: | Line 260: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 261: | Line 269: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
| Line 274: | Line 280: | ||
:'''Note:''' After you exclude samples from a DataSet, point your mouse cursor on a control in which you have loaded data. Tooltip text opens indicating that number of samples that are being included in the model. | :'''Note:''' After you exclude samples from a DataSet, point your mouse cursor on a control in which you have loaded data. Tooltip text opens indicating that number of samples that are being included in the model. | ||
''Tooltip text indicating that number of samples that are being included in the model'' | ::''Tooltip text indicating that number of samples that are being included in the model'' | ||
[[Image:ModelBuilding_PlottingScores.25.1.6.jpg|284x117px]] | ::[[Image:ModelBuilding_PlottingScores.25.1.6.jpg|284x117px]] | ||
:: | |||
: | :: | ||
:: | |||
{| | {| style="margin-left:18pt" | ||
|- | |- | ||
| Line 289: | Line 297: | ||
|} | |} | ||
{| style="margin-left:18pt" | |||
{| | |||
|- | |- | ||
Revision as of 10:52, 29 July 2010
Table of Contents | Previous | Next
Plotting Scores and Statistical Values for a Calibration Model
For most analysis methods, the Analysis window toolbar contains a Plot scores and sample statistics button
. Scores are the coordinates of the samples in the new principal component or factor coordinate system. A Scores plot shows the relationship among the samples in plots that are displayed in a multiplot Figure window. The Plot Controls window lists the options that can be plotted. The options that are available for plotting depend on the analysis that was carried out. To change the information that is plotted, select a different X value, a different Y value, or both in the Plot Controls window. The figure below shows some of the possible Scores plots for a PCA analysis in which three principal components were retained.
- Possible Scores plots for a PCA analysis in which three principal components were retained
Note: For information about the Plot Controls window and Plot window, see Plot Controls Window.
Options are available for changing the plot display and for examining and refining the model by excluding certain samples and/or variables to enhance the model performance. See:
Changing the plot display
Note: The examples listed here are not meant to be an exhaustive list of all of the available Plot Controls options for changing a Scores plot display. Instead, it is simply to provide representative examples of some of the more commonly used options when building a model.
|
|
|
|
|
- Note: The phrase "Decluttered" appears in the lower left hand corner of a decluttered plot.
|
- Note: Confidence Limits for PC versus PC plots are indicated by either a straight dashed line or an ellipse around the plotted data. As you change the value for the Confidence Limit, line moves in position or the ellipse expands or contracts in size accordingly. Data points that are inside the line or the ellipse, therefore, fall within the specified confidence limits. Conversely, data points that are outside the line or the ellipse exceed the specified confidence limits.
Refining the model by excluding samples
Typically, when using Scores plots to refine a model, you identify samples that you consider to be unusual for the plotted data and then carry out a series of steps to determine whether to include the samples in the model, or to exclude the samples from the model.
Note: Typically, if you want to refine a model by removing variables, you use the information in a Loads plot. See Plotting Loads and Variable Statistics for a Calibration Model.
Note: The examples listed here are not meant to be an exhaustive list of all of the available Plot Controls options for refining a model using a Scores plot. Instead, it is simply to provide representative examples of some of the more commonly used options when building a model.
| 1. | Initially, you can do one or more of the following to review your samples, and determine which samples, if any, require further investigation: |
|
|
|
|
|
| 2. | For samples that you have determined require further investigation, you can do the following: |
- Note: "Lasso" is the most flexible tool for selecting samples.
- The color of the selected samples is changed, not only in the currently active plot, but also, in any other open plots that contain the samples.
| 3. | With the selected samples now highlighted in the plot, you can do one or more of the following to place the focus on the selected samples and glean further information about the selected samples before deciding to include them or exclude them for the model: |
|
|
|
|
| 4. | To exclude all of the selected samples from the model in a single step, on the Plot Controls window main menu, click Edit > Exclude Selection. |
|
|
- Note: After you exclude samples from a DataSet, point your mouse cursor on a control in which you have loaded data. Tooltip text opens indicating that number of samples that are being included in the model.
- Tooltip text indicating that number of samples that are being included in the model
|
|
At this point, you should iteratively repeat the steps of recalculating the model and then examining the model and refining the model by including or excluding samples until you are satisfied with the model. You can then do one of the following:
|
- Note: See Exporting_Models
|

