% Technology 4 (Growth)
% Preferences 3 (Habit persistence)
% We modify the Jones-Manuelli example to get a version of Hall's
% model
gam=.10
gamma=[gam 0]'
phic=[1 0]'
phig=[0 1]'
phi1=.001
phii=[1 -phi1]'
deltak=.95
%deltak=.96;
thetak=1
beta=1/1.05
ud=[5 1 0 0 0 0 0; 0 0 0 0 0 0 0]
a22=[1 0 0 0 0 0 0; 0 .8 0 0 .0 0 0;zeros(5,1) , [eye(4); zeros(1,4)]...
      ,zeros(5,2)];
a22(7,7)=0
nnc=3;
c2=[0 1 0 0 0 0 0; 0 0 0 0 0 0 1]'
lambda=0;
pih=1
deltah=.9
thetah=(1-deltah)
ub=[30 0 0 0 0 0 .250]        %  we've modified to add a shock to preferences
%ub=[30 0 0 0 0 0 0]
x0=[3 207 1 0 0 0 0 0 0]
