shock decomposition crashes after an estimation restricted to some endogenous variables
The following code crashes:
estimation(...) y W R; shock_decomposition y W R;
This is because the
shock_decomposition command makes the assumption that all endogenous have their smoothed values in
This should be fixed either by giving a more explicit error message or, better, by doing the right thing™.