parent
52b6618bae
commit
6815624a6a
|
@ -147,7 +147,7 @@ while noconvergence
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
PACExpectations = PACExpectations+correction;
|
PACExpectations = PACExpectations+correction;
|
||||||
YDATA = data{M_.endo_names{M_.pac.(pacmodl).lhs_var}}(range).data-correction-PACExpectations;
|
YDATA = data{M_.endo_names{M_.pac.(pacmodl).lhs_var}}(range).data-PACExpectations;
|
||||||
% Do OLS
|
% Do OLS
|
||||||
params1 = XDATA\YDATA;
|
params1 = XDATA\YDATA;
|
||||||
r = YDATA-XDATA*params1;
|
r = YDATA-XDATA*params1;
|
||||||
|
|
Loading…
Reference in New Issue