 A. Software to solve problem B.
 
 	The main program is jedc6.f, 
 
 	which uses the BFGS-MINIMIZER subroutine (v030392 copyright p. spellucci): 
 	
 		1. domin.f, the main program
 		2. domincom.inc, the common variables of the optimization procedure
 		3. dominpar.inc, specifies the parameter of the optimization procedure
 
        You need the following INPUT files: 
        
        	1. bigcoef.new, solutions of the indidual parameters
		2. bigpar.b33,  specifies the parameter values, and the lower and upper bound of each aggregate state variable
		3. cheb0.dat,   Chebyshev nodes for 1st,2sd,...30th order Chebyshev polynomial
		4. cheb50.dat,  Chebyshev nodes for 50th order Chebyshev polynomial
		5. bigagg.new,  solutions of the laws of motion of the state variables
		6. solunemp.new, initial parameter solution of the cross-sectional distribution of the unemployed
		7. solemp.new, initial parameter solution of the cross-sectional distribution of the employed	
		
        TO IMPLEMENT THE PROGAM, if you work with gnu fortran 77, you should write
        the following instruction: g77 jedc6.f domin.f		
		
B. Sofware to simulate the economy with a continuum of agents

	The main program is dosim_computational_comparison_project.f	
	
	which uses Dzbren IMSL subroutine to calculate the level of capital holdings
	at which the agent chooses kappa_i
	
        You need the following INPUT files: 
        
        	1. bigcoef.new, solutions of the indidual parameters (same as above)
		2. bigpar.b33,  specifies the parameter values, and the lower and upper bound of each aggregate state variable (same as above)
		3. trans.txt, specifies the transition probabilities
		4. agg_switch.txt, realizations of aggregate shocks(given by Wouter)
		5. ind_switch.txt, realizations of individual shock consistent with aggregate shock file given above (given by Wouter)
		6. distwealth.txt, specifies the initial distribution of wealth for employed and unemployed agents (given by Wouter)

 
 
 