Dynare and Matlab codes for 
"Cyclical Part-Time Employment in an Estimated New Keynesian Model with Search Frictions" "
by Toshihiko Mukoyama, Mototsugu Shintani, and Kazuhiro Teramoto
Journal of Money, Credit and Banking. (19-270 R2)

1) Install Dynare, available from
https://www.dynare.org/

2) run programs in the following order:

-----------------------------------------------------------
A. Bayesian Estimation 
-----------------------------------------------------------
[A1] estimation_MST.mod			: main file
[A2] parameter_estimation.mode		: prior distribution
[A3] data_file_est.m			: time series data (see Data_MST.xlsx for the detail construction)

Running estimation_MST.mod produces a new folder estimation_MST that contains MH-results
-----------------------------------------------------------
B. Table and Figure for Estimation Results
-----------------------------------------------------------
[B1] post_dynare_estimation.m		: all m files [B2]-[B].
[B2] bayesian_irf_comparison.m		: Figure 3
[B3] bayesian_irf_counterfactual.m	: Figure 5
[B4] counterfactual_analysis.m		: Figure 6
[B5] data_hours.m			: Section 4.6
[B6] Decomposition_total_hours.m	: Section 4.6
[B7] IRF_decomposition.m		: Table 5
[B8] IRF_hours.m			: Figure 7
[B9] irf_other_variables.m		: Figures C2 and C3
[B9] making_table.m			: Table 3
[B10] rho_USdata.m			: Figure 
[B11] set_variables_index.m		: sub file
[B12] smoother.m			: Figure 4
[B13] Stochastic_simulation.m		: Table 4 and Figure C1
[B14] US_data_NF_NP_U_after2006.cvs	: Figure

 

