In this directory are files used in computing equilibria for ``The Effects of Goverment Purchases on Employment and Hours.'' The main fortran files are cu3da.f and cumc3da.f. To compile and run cu3da.f or cumc3da.f and its subroutines, do: vi comp # fill in name of Main routine comp a.out For an iterative Ax=b solver, use cu3db.f or cumc3db.f instead of cu3da.f or cumc3da.f. The main results are *.out where * is the name of the main routine. If Matlab is available, run the Matlab script file ``cu3d'' or ``cumc3d'' to see time series simulations. Warcu3d.m and cumc3d.m read in a data file that is written by the fortran programs. Here is a summary of the files in this directory: caputil1.tex TeX file with paper (version: July 16, 1993) caputil2.tex TeX file with paper (version: October 11, 1993) comments.doc Comments on the paper comp Script file with f77 compilation commands cu3d.m Matlab file that is used to analyze results of cu3d*.f cu3da.f Main Fortran file for case with varying employment and hours cu3da.inp Input file for cu3da.f cu3da.inp.1 Input file for results in caputil1.tex cumc3d*.f Main Fortran file for model with moving costs added cumc3d*.inp Input file for cumc3d*.f cumc3da.inp.1 Input file for results in caputil1.tex cumc3da.inp.2 Input file for case in caputil1 with alpha=0.5 cumc3da.inp.kp Input file for cumc3da.f with Kydland/Prescott parameters cumcchk.f Main Fortran file that checks derivatives in cumc3d*.f cumcder.f Subroutine with derivatives (called by cumcchk.f) data.m Quarterly time series (1948.1-1991.1) - see file for series jhest.m Probs. of being in states 1-4 (estimated by Hamilton method) jhest.out Output from Hamilton's program penalty.doc Code for alternative penalty functions simil.mat 10 simulations of Hamilton estimates slides1.tex Slides for presentation at 1993 NBER summer institute sscu.m Matlab file to compute steady state for cu3d sscumc.m Matlab file to compute steady state for cumc3d todo.doc Tasks to finish (* = a or b) and in the subdirectory ./figures: ./figures emp.eps Employment decision functions (in caputil1) hours.eps Hours decision functions (in caputil1) hpwpce.eps Plot of Kendrick's hours/worker and fraction employed mcest.ps Military employment and Markov chain estimates (in caputil1) modhremp.eps Simulation of fraction employed and hours (in caputil1) newfig2.eps Figure 2 in caputil2.tex newfig3.eps Figure 3 in caputil2.tex newfig4.eps Figure 4 in caputil2.tex newfig5.eps Figure 5 in caputil2.tex newfig6.eps Figure 6, panel a in caputil2.tex newfig7.eps Figure 6, panel b in caputil2.tex newfig8.eps Figure 6, panel c in caputil2.tex survdat.ps Per-capita employment and hours per worker, both surveys table1.ps Table 1 for caputil1.tex Additional files that are needed: Directory Files --------- ----- ~erm/tex hoover.tex,fonts.tex (TeX input files) ~erm/ftools/linpack/d blas.f,dgeco.f,dgefa.f,dgesl.f (Fortran subroutines) ~erm/ftools/kahaner dgefs.f,machcon.f,xerror.f (Fortran subroutines) ~erm/ftools/misc arnoldi.f,qgausl.f (Fortran subroutines) Ellen McGrattan, 6-3-93 erm@ellen.mpls.frb.fed.us