How to Plot Residuals at the Command Line
The following table summarizes commands that generate residual-analysis plots for linear and nonlinear models. For detailed information about this command, see the corresponding reference page.
Command | Description | Example |
---|---|---|
pe | Computes and plots model prediction errors. | To plot the prediction errors for the model pe(model,data) |
resid | Performs whiteness and independence tests on model residuals, or prediction errors. Uses validation data input as model input. | To plot residual correlations for the model resid(data,model) |