Temporary tax shocks
Posted: Sun Jan 11, 2015 5:58 am
Hey Johannes,
When you have time, there's a question regarding to a temporary tax shock that I'm trying to introduce in a paper that I returned to after some months -- it's the one you've seen last year when I asked questions about the steady state. (Long story short, I found a great way to compute steady states using a combination of knitro and matlab with explicit jacobians.)
Here's the odd part. While I've looked online and I seemed to follow the basics for introducing temporary shocks (in my model, periods 1 -500 out of the total simulated 1000), I get a result that doesn't make sense. Since it's a paper on externalities in general equilibrium, I consider a temporary environmental tax of 20% -- but it seems to induce values for energy inputs that are higher than my benchmark with a flat 5% tax.
In case you want to run the file, just copy the following into a script after adjusting for 'yourfolder':
clear all; close all; clc;
cd 'yourfolder'
% Load parameters
P = parameters; %make sure these are updated
%rename for convenience
iota=P.iota; theta_e=P.theta_e; theta_k=P.theta_k; theta_h=P.theta_h; gamma=P.gamma;
alpha=P.alpha; mu=P.mu; phi=P.phi; psi=P.psi; chi_h=P.chi_h; chi_e=P.chi_e; beta=P.beta;
theta=P.theta; delta=P.delta; nu=P.nu; xi=P.xi; eta=P.eta; ga=P.ga; ge=P.ge;
tau_c=P.tau_c; tau_x=P.tau_x; tau_h=P.tau_h; tau_k=P.tau_k; tau_marg=P.tau_marg; tau_d=P.tau_d;
rho_k=P.rho_k; rho_e=P.rho_e; rho_s=P.rho_s; rho_p=P.rho_p; rho_taud=P.rho_taud;
sig_k=P.sig_k; sig_e=P.sig_e; sig_s=P.sig_s; sig_p=P.sig_p; sig_taud=P.sig_taud;
%save in location of dynare file
cd 'yourfolder'
save parameterfile iota theta_e theta_k theta_h gamma alpha mu phi psi chi_h chi_e beta ...
theta delta nu xi eta ga ge tau_c tau_x tau_h tau_k tau_marg tau_d...
rho_k rho_e rho_s rho_p rho_taud sig_k sig_s sig_e sig_p sig_taud;
When you have time, there's a question regarding to a temporary tax shock that I'm trying to introduce in a paper that I returned to after some months -- it's the one you've seen last year when I asked questions about the steady state. (Long story short, I found a great way to compute steady states using a combination of knitro and matlab with explicit jacobians.)
Here's the odd part. While I've looked online and I seemed to follow the basics for introducing temporary shocks (in my model, periods 1 -500 out of the total simulated 1000), I get a result that doesn't make sense. Since it's a paper on externalities in general equilibrium, I consider a temporary environmental tax of 20% -- but it seems to induce values for energy inputs that are higher than my benchmark with a flat 5% tax.
In case you want to run the file, just copy the following into a script after adjusting for 'yourfolder':
clear all; close all; clc;
cd 'yourfolder'
% Load parameters
P = parameters; %make sure these are updated
%rename for convenience
iota=P.iota; theta_e=P.theta_e; theta_k=P.theta_k; theta_h=P.theta_h; gamma=P.gamma;
alpha=P.alpha; mu=P.mu; phi=P.phi; psi=P.psi; chi_h=P.chi_h; chi_e=P.chi_e; beta=P.beta;
theta=P.theta; delta=P.delta; nu=P.nu; xi=P.xi; eta=P.eta; ga=P.ga; ge=P.ge;
tau_c=P.tau_c; tau_x=P.tau_x; tau_h=P.tau_h; tau_k=P.tau_k; tau_marg=P.tau_marg; tau_d=P.tau_d;
rho_k=P.rho_k; rho_e=P.rho_e; rho_s=P.rho_s; rho_p=P.rho_p; rho_taud=P.rho_taud;
sig_k=P.sig_k; sig_e=P.sig_e; sig_s=P.sig_s; sig_p=P.sig_p; sig_taud=P.sig_taud;
%save in location of dynare file
cd 'yourfolder'
save parameterfile iota theta_e theta_k theta_h gamma alpha mu phi psi chi_h chi_e beta ...
theta delta nu xi eta ga ge tau_c tau_x tau_h tau_k tau_marg tau_d...
rho_k rho_e rho_s rho_p rho_taud sig_k sig_s sig_e sig_p sig_taud;