www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@linearmodel/MultipleVIF.m

    function v = MultipleVIF(obj)
%MULTIPLEVIF Calculates multiple VIF matrix for the linear model parameters
%
%   STATS = MULTIPLEVIF( LINEARMODEL )
%
% See also mbcmodel.linearmodel.ParameterStatistics

%   Copyright 2006 The MathWorks, Inc.


error( obj.pAssertNotBeingEdited( 'Cannot get parameter statistics while the model is being edited.' ) );
error( obj.pAssertIsFitted() );


m = obj.Object;


% reorder statistics 
Store= get(m,'Store');
m= InitStore2(m,Store.D,Store.y);

v = vifmultiple(m);