www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregunispline/diagnosticStats.m

    function [data,factors,specialPlots,olIndex]= diagnosticStats(m,X,Y)
%DIAGNOSTICSTATS
%
%  [data,factors,specialPlots,olIndex]= diagnosticStats(m,X,Y);
%
%  This is an overloaded function to return stats and factors for the
%  diagnostic plots

%  Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc.


% get internal model
m = get(m,'xreg3xspline');
% This gets the standard statistics
[data,factors]= diagnosticStats(m,X,Y);

% This is a list of special plots. This can be empty
specialPlots= {'Predicted/Observed',...
    'Normal plot'};

% outlier index
olIndex= outliers(m,data,factors);