plots dfbetas
plt_dfb(res)
* res = the results typed list of function dfbeta
* nothing (printed on a graphic window)
exo = grand(100,6,'nor',0,1); exo(:,1) = ones(100,1); exo(:,3) = exo(:,2) + grand(100,1,'nor',0,1)*0.05; bet = ones(6,1); endo = exo*bet + grand(100,1,'nor',0,1); // now add a few outliers endo(50,1) = 10.0; endo(70,1) = -10.0; // run dfbeta without printing and plotting the results res = dfbeta('endo','exo','noprint'); // now plot the result plt_dfb(res) | ![]() | ![]() |