Skip to Main Content Skip to Search
Product Documentation

Global Models

What Is Global Level?

When you select a response feature node or one-stage model node in the model tree, this view appears. Both kinds of models have a global icon ( ), to reflect the fact that a global model is fitted, so this is referred to as global level. Plots shown here are referred to as global plots. Child nodes of these models also have global icons. Any node with a global icon produces this view.

For one-stage models, this view shows the functionality available at all model nodes. For two-stage models there are other levels with different functionality for local level and response level models.

This view is similar in format to the local level view, which also contains scatter plots above special plots. The statistical information panes on the right side are different, there is a Removed Data pane, and there are no test number controls. There is an edit box for model comments. See also:

Global Special Plots

The lower plots in the global level view are referred to as special plots, as they can be different for different models (for example, none at all for neural net models).

The special plot at the global level shows a Predicted/Observed plot. Where there is only one input factor, the plot shows the model fit and the data against the input factor (as in most local model special plots, which often have only one input factor).

For response feature models, each data point is the value taken by this response feature for some local model fit (of this two-stage model). Note that response features are not necessarily coefficients of the local curves, but are always derived from them in some way.

When there is more than one input factor it becomes impossible to display the fit in the same way, so the data for the response feature is plotted against the values predicted by the global model. The line of predicted=observed is shown. With a perfect fit, each point would be exactly on this line. The distances of the points from the line (the residuals) show how well the model fits the data.

To examine the fit in more detail, double-click the arrows (indicated in the figure in Global Models) to hide the scatter plot and expand the lower plot. You can also zoom in on parts of the plot by Shift-click-dragging or middle-click-dragging on the place of interest on the plot. Return to full size by double-clicking.

You can select the plot type from the drop-down menu at the top of the plot. Choices here can be:

Global Scatter Plots

The upper plots in the global level view are referred to as scatter plots. They can show various scatter plots of statistics for assessing goodness-of-fit for the current model shown. The upper scatter plots are replaced by an icon if you resize the Browser too small.

The statistics available for plotting are model dependent.

The preceding are the context menus for both plots. On both plots you can manipulate outliers with all the same commands available in the Outliers menu except Outlier Selection Criteria and Copy Outliers. See Outliers Menu (Local Level) for details. For one-stage models you can select Plot Variables on the scatter plot.

You can choose the x- and y-axis factors using the drop-down menus. The available statistics and factors are model dependent. Following is an example.

Shown is an example drop-down menu on the scatter plot for changing x and y factors. In this example knot is the response feature node selected. Therefore the model output is knot, so knot and Predicted knot are available in the menu. (For child nodes of knot, the model output is still knot.) The global inputs, the model output, and the predicted model output are always available in these menus. The observation number is also always available.

The other options are statistics that are model dependent, and can include: Residuals, Weighted Residuals, Studentized Residuals, Leverage, and Cook's Distance. These statistics and the other factors are also used as the available criteria for selection of outliers, so the options in the Outlier Selection Criteria dialog box are similarly model dependent. At global (or one-stage) level these are externally studentized residuals.

Summary Table

Observations

Number of observations used to estimate model

Parameters

Number of parameters in model

Box-Cox

Power transform used for box-cox transformation. A value of zero means a log transform is used. A value of 1 means there is no transformation.

PRESS RMSE

Root mean squared error of predicted errors. The divisor used for PRESS RMSE is the number of observations. The residuals are in untransformed values to enable comparison between alternative models with different Box-Cox transformations.

RMSE

Root mean squared error. The divisor used for RMSE is the number of observations minus the number of parameters. The residuals are in untransformed values, to enable comparison between alternative models with different Box-Cox transformations.

Validation RMSE

(one-stage models only)

Root mean squared error between the one-stage model and the validation data. See Using Validation Data.

Select Model > Summary Statistics to change and add to the Summary Statistics displayed in the Summary Table.

ANOVA Table

 SSdfMS

Regression

SSR

p-1

SSR/(p-1)

Error

SSE

n-p

SSE/(N-p)

Total

SST

n-1

 

This table is not present after you have calculated MLE. See also Toolbox Terms and Statistics Definitions.

Removed Data Pane

Tests you have removed (using the Remove Outliers menu item) are shown in a list. Select Outliers > Restore Removed Data to select some or all of these to restore. Tests marked with an asterisk (*) are not restorable here (at global level). Such tests cannot be restored because the entire test has been removed at the local level (using the Remove All Data menu item), or the local model could not be fitted. Removed tests can only be restored at the local level.

Double-click on any removed test number to display a plot of the test in a figure window.

Models Comments

You can enter comments in the edit box.

Models List

Here is a list of any child models of the currently selected global model. This list is empty if there are no child nodes to compare. If there are child nodes you can click the Select button here to enter the Model Selection window to compare the child models and choose the best.

Click New to add a new child global model (or Delete to remove one). For more information see the Test Plans List Pane. The contents of this pane change in different views; it always contains the child nodes of the node selected in the model tree (and the New, Delete, and Select buttons). At the global level it contains a list of any child models.

The list view displays the number of parameters and observations, the value of any Box-Cox transformation (1 indicates no transform), and the values of PRESS RMSE (for linear models only) and RMSE for each child model.

If you are viewing a one-stage model and are using validation data, Validation RMSE is displayed. See Using Validation Data.

Use these statistics to compare the fit of different child models and help you choose the best. For definitions of RMSE and PRESS RMSE, see Summary Table and Model Selection Guide. For other statistics see Model Menu (Global Level). For information on Box-Cox transforms, see Box-Cox Transformation.

Note that the Summary Statistics settings are inherited from parent global models and from the test plan level only if set before the current node was created, when they also appear in the bottom list pane if there are child nodes to compare.

Global Level: Toolbar

This toolbar appears when a response feature node or one-stage model node (both have a global icon) is selected in the model tree. Note that for one-stage models all model child nodes of the one-stage test plan are of this type.

Further buttons appear on the right depending on the type of model at the node selected. See Global Level: Model-Specific Tools.

The eight left icons remain constant throughout the levels. They are for project and node management, Help, and here the print icon is enabled, as there are plots in this view. See Project Level: Toolbar for details on these buttons.

These four toolbar icons appear for every global model node (although Box-Cox is not enabled for neural net models). The icons that appear to the right are model specific.

Global Level: Model-Specific Tools

All twelve left buttons (up to View Modeling Data) appear for all response feature models and one-stage models. See Global Level: Toolbar for details on these buttons. The right buttons change according to model type.

Linear Model and Multiple Linear Models

Free-Knot Spline Models

Free knot spline models do not have any model-specific tools, just the standard View Model, Box-Cox Transform, Build Models and View Modeling Data.

Radial Basis Function Models

Hybrid RBFs have the same toolbar buttons as linear models.

MLE Models

This toolbar appears when you select any response feature that is an MLE model (purple icon). See Global Models for other functionality in this view.

At this point the New child node, Box-Cox and Build Models buttons are disabled.

Neural Networks

Neural net models have the View Model, Build Models, and Update Fit tools.

Global Level: Menus

File

Only the New (child node) and Delete (current node) functions change according to the node level currently selected. Otherwise the File menu remains constant.

See File Menu.

Window and Help Menus

The Window and Help menus have the same form throughout the Model Browser.

See Window Menu and Help Menu.

Model Menu (Global Level)

View Menu (Global Level)

Model Definition Dialog Box.  You can open this dialog box for any model to view the parameters and coefficients of the model formula and the coding details. You can view the Model Definition dialog box at the local, global, and response levels. For any radial basis function model you can see the kernel type, number of centers, width, and regularization parameter, as shown in the following example.

For radial basis function models, see also How to Find RBF Model Formula.

Outliers Menu (Global Level)

This is the same as the local level Outliers menu, except that there is no Remove All Data command. All items are duplicated in the right-click context menu on the plots, except Selection Criteria and Copy Outliers. See Outliers Menu (Local Level).

At global level, as at local level, the Restore Removed Data item opens the Restore Removed Data dialog box, where you can choose the points to restore from the list, or restore all available points. Select points in the left list and use the buttons to move points between the lists. Note that entire tests removed at the local level (using the Remove All Data item) cannot be restored at global level.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS