|
|
| olsstructure(z)
|
function[res] = olsstructure(z)
% OLS intercept and slope estimates, in a structure
% (Helper function of BSTRAPDEM0)
% EXAMPLE : <none> (Oh, the FEX code metrics..)
y = z(:,1);
x = z(:,2:end);
res.b = regress(y,x);
|
|
Contact us at files@mathworks.com