Partial fix for #1837.
parent
1edb8ba7ba
commit
a08de9e661
|
@ -379,9 +379,9 @@ if isequal(expectationmodelkind, 'pac') && growth_correction
|
|||
variable = sprintf('%s.lag(%u)', variable, -transformations{k,2});
|
||||
elseif isequal(transformations{k,1}, 'diff')
|
||||
if isempty(transformations{k,2})
|
||||
variable = sprintf('%s.%s()', variable, transformations{k,1});
|
||||
variable = sprintf('%s.diff()', variable);
|
||||
else
|
||||
variable = sprintf('%s(-%u).%s()', variable, transformations{k,2}, transformations{k,1});
|
||||
variable = sprintf('%s.lag(%u).diff()', variable, transformations{k,2});
|
||||
end
|
||||
else
|
||||
variable = sprintf('%s.%s()', variable, transformations{k});
|
||||
|
@ -440,9 +440,9 @@ if isequal(expectationmodelkind, 'pac') && growth_correction
|
|||
variable = sprintf('%s.lag(%u)', variable, -transformations{k,2});
|
||||
elseif isequal(transformations{k,1}, 'diff')
|
||||
if isempty(transformations{k,2})
|
||||
variable = sprintf('%s.%s()', variable, transformations{k,1});
|
||||
variable = sprintf('%s.diff()', variable);
|
||||
else
|
||||
variable = sprintf('%s(-%u).%s()', variable, transformations{k,2}, transformations{k,1});
|
||||
variable = sprintf('%s.lag(%u).diff()', variable, transformations{k,2});
|
||||
end
|
||||
else
|
||||
variable = sprintf('%s.%s()', variable, transformations{k});
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8c528f4f9a15baf73c014e1c3e55bc13583ca09d
|
||||
Subproject commit d149d3a76c7527608e55b7b73b6509dc3b4af097
|
|
@ -531,6 +531,7 @@ ECB_MODFILES = \
|
|||
pac/var-11e/example1.mod \
|
||||
pac/var-12/example1.mod \
|
||||
pac/var-12/example2.mod \
|
||||
pac/var-12/example3.mod \
|
||||
pac/var-12/example4.mod \
|
||||
pac/var-12/example11.mod \
|
||||
pac/var-12/example12.mod \
|
||||
|
|
|
@ -58,12 +58,6 @@ model;
|
|||
|
||||
end;
|
||||
|
||||
shocks;
|
||||
var ex = 1.0;
|
||||
var ey = 1.0;
|
||||
var ez = 1.0;
|
||||
end;
|
||||
|
||||
// Initialize the PAC model (build the Companion VAR representation for the auxiliary model).
|
||||
pac.initialize('pacman');
|
||||
|
||||
|
|
|
@ -39,12 +39,6 @@ model;
|
|||
|
||||
end;
|
||||
|
||||
shocks;
|
||||
var ex = 1.0;
|
||||
var ey = 1.0;
|
||||
var ez = 1.0;
|
||||
end;
|
||||
|
||||
// Initialize the PAC model (build the Companion VAR representation for the auxiliary model).
|
||||
pac.initialize('pacman');
|
||||
|
||||
|
|
|
@ -40,12 +40,6 @@ model;
|
|||
|
||||
end;
|
||||
|
||||
shocks;
|
||||
var ex = 1.0;
|
||||
var ey = 1.0;
|
||||
var ez = 1.0;
|
||||
end;
|
||||
|
||||
// Initialize the PAC model (build the Companion VAR representation for the auxiliary model).
|
||||
pac.initialize('pacman');
|
||||
|
||||
|
|
|
@ -39,12 +39,6 @@ model;
|
|||
|
||||
end;
|
||||
|
||||
shocks;
|
||||
var ex = 1.0;
|
||||
var ey = 1.0;
|
||||
var ez = 1.0;
|
||||
end;
|
||||
|
||||
// Initialize the PAC model (build the Companion VAR representation for the auxiliary model).
|
||||
pac.initialize('pacman');
|
||||
|
||||
|
|
|
@ -58,12 +58,6 @@ model;
|
|||
|
||||
end;
|
||||
|
||||
shocks;
|
||||
var ex = 1.0;
|
||||
var ey = 1.0;
|
||||
var ez = 1.0;
|
||||
end;
|
||||
|
||||
// Initialize the PAC model (build the Companion VAR representation for the auxiliary model).
|
||||
pac.initialize('pacman');
|
||||
|
||||
|
|
Loading…
Reference in New Issue