Code
More information about some of the code posted below is available at sydney.edu.au/arts/open-economy-model-hub as part of the Global Perpectives on Economic Policy initiative at sydney.edu.au/arts/global-perspectives
“Trend-Cycle Decomposition after COVID” CAMA Working Paper and “Intuitive and Reliable Estimates of the Output Gap from a Beveridge-Nelson Filter” Review of Economics and Statistics with Gunes Kamber and Benjamin Wong
bnfiltering.com (website that implements BN filter for any time series)
BN_Filter_R.zip (zip file contains R code and data)
BN_Filter_Matlab.zip (zip file contains Matlab code and data)
EViews add-in (link to blog post with information about EViews add-in for Kamber, Morley, and Wong, 2018)
Harvard Dataverse (link to replication files for Matlab code and data for Kamber, Morley, and Wong, 2018)
“A Simple Correction for Misspecification in Trend-Cycle Decompositions with an Application to Estimating r*” Journal of Business & Economic Statistics with Trung Duc Tran and Benjamin Wong
MTW_code_to_apply_correction.zip (zip file contains Matlab code to apply correction using Bayesian methods or MLE given a preliminary estimated trend)
MTW_code_to_apply_correction_MLE.zip (zip file contains Matlab code to apply correction using MLE given a preliminary estimated trend)
JBES supplemental materials (link to Matlab replication code and online appendix)
“Did Marginal Propensities to Consume Change with the Housing Boom and Bust?” Journal of Applied Econometrics with Yunho Cho and Aarti Singh
JAE archive (link to files for Matlab and Gauss code and data, including full replication files)
CMS2_Matlab.zip (zip file contains Matlab code)
CMS2_Gauss.zip (zip file contains Gauss code)
CMS2_code_data_files.zip (zip file contains full replication files in Gauss, large file >120MB)
“Does the Survey of Professional Forecasters help predict the shape of recessions in real time?” Economics Letters with Yunjong Eo
EM23_Matlab.zip (zip file contains Matlab replication code and data)
Economics Letters download (link to Matlab replication code and data zip file on journal website)
“Nowcasting the Output Gap” Journal of Econometrics with Tino Berger and Benjamin Wong
BMW22_Matlab_replication.zip (zip file from Ben Wong's website contains Matlab replication code and data)
BMW22_Matlab_nowcast.zip (zip file from Ben Wong's website contains Matlab code to calculate latest nowcast with updated data)
“Why Has the U.S. Economy Stagnated since the Great Recession?” Review of Economics and Statistics with Yunjong Eo
Harvard Dataverse (link to files for code and data)
EM22_Matlab.zip (zip file contains Matlab replication code and data)
EM22_Gauss.zip (zip file contains Gauss replication code and data)
“When Is Discretionary Fiscal Policy Effective?” Studies in Nonlinear Dynamics & Econometrics with Steve Fazzari and Irina Panovska
FMP21_Gauss.zip (zip file link from journal website contains Gauss code and data)
“Estimating Household Consumption Insurance” Journal of Applied Econometrics with Arpita Chatterjee and Aarti Singh
JAE archive (link to files for R, Matlab, and Gauss code and data, full Gauss replication files, and online appendix) (original link)
CMS21_R.zip (zip file contains R code and data)
CMS21_Matlab.zip (zip file contains Matlab code and data)
CMS21_Gauss.zip (zip file contains Gauss code and data, including full replication files)
“Is Business Cycle Asymmetry Intrinsic in Industrialized Economies?” Macroeconomic Dynamics with Irina Panovska
MP20_Gauss.zip (zip file contains Gauss code and data)
“A Factor Model Analysis of the Australian Economy and the Effects of Inflation Targeting” The Economic Record with Luke Hartigan
HM20_R.zip (zip file link from journal website contains R code and data)
“Estimating and Accounting for the Output Gap with Large Bayesian Vector Autoregressions” Journal of Applied Econometrics with Benjamin Wong
JAE archive (link to files for Matlab code and data, and online appendix) (original link)
“Improving Likelihood-Ratio-Based Confidence Intervals for Threshold Parameters in Finite Samples” Studies in Nonlinear Dynamics & Econometrics with Luiggi Donayre and Yunjong Eo
DEM18_Gauss.zip (zip file from journal website contains Gauss code and data)
“Estimating Estimating DSGE Models with Zero Interest Rate Policy” Journal of Monetary Economics with Mariano Kulish and Tim Robinson
KMR17_Matlab.zip (zip file contains Matlab code and data)
“Testing Stationarity with Unobserved Components Models” Macroeconomic Dynamics with Irina Panovska and Tara Sinclair
MPS17_Gauss.zip (zip file from Irina Panovska's website contains Gauss code and data)
“Likelihood-Ratio-Based Confidence Sets for the Timing of Structural Breaks” Quantitative Economics with Yunjong Eo
EM15_R.zip (zip file contains R code and data)
EM15_Gauss.zip (zip file contains Gauss code and data)
EM15_Gauss_BaiPerron.zip (zip file contains Gauss code and instructions on how to use in conjunction with Bai and Perron procedures and EViews)
“State-Dependent Effects of Fiscal Policy” Studies in Nonlinear Dynamics & Econometrics with Steve Fazzari and Irina Panovska
FMP15_Gauss.zip (zip file link from journal website contains Gauss code and data)
“Reproducing Business Cycle Features: Are Nonlinear Dynamics a Proxy for Multivariate Information?” Studies in Nonlinear Dynamics & Econometrics with Jeremy Piger and Pao-Lin Tien
MPT13_Gauss.zip (zip file contains Gauss code and data)
“The Asymmetric Business Cycle” Review of Economics and Statistics with Jeremy Piger
Harvard Dataverse (link to files for Gauss code and data)
“Changes in U.S. Inflation Persistence,” Studies in Nonlinear Dynamics & Econometrics with Kyu Ho Kang and Chang-Jin Kim
KKM09_Gauss.zip (zip file contains Gauss code and data)
“The Slow Adjustment of Aggregate Consumption to Permanent Income,” Journal of Money, Credit, and Banking
M07_R.zip (zip file contains R code and data)
M07_Matlab.zip (zip file contains Matlab code and data)
M07_Gauss.zip (zip file contains Gauss code and data)
“Detecting Shift-Contagion in Currency and Bond Markets,” Journal of International Economics with Toni Gravelle and Maral Kichian
GKM06_Gauss.zip (zip file contains Gauss code and data)
“Nonlinearity and the Permanent Effects of Recessions,” Journal of Applied Econometrics with Chang-Jin Kim and Jeremy Piger
KMP05_Gauss.zip (zip file contains Gauss code and data)
“Is There A Positive Relationship between Stock Market Volatility and the Equity Premium?” Journal of Money, Credit, and Banking with Chang-Jin Kim and Charles R. Nelson
KMN04_Gauss.zip (zip file contains Gauss code and data)
“Why Are the Beveridge-Nelson and Unobserved-Components Decompositions of GDP So Different?” Review of Economics and Statistics with Charles R. Nelson and Eric Zivot
MNZ03_R.zip (zip file contains R code and data)
MNZ03_Matlab.zip (zip file contains Matlab code and data)
MNZ03_Gauss.zip (zip file contains Gauss code and data)
“Does an Intertemporal Tradeoff Between Risk and Return Explain Mean Reversion in Stock Prices?” Journal of Empirical Finance with Chang-Jin Kim and Charles R. Nelson
KMN01_Gauss.zip (zip file contains Gauss code and data)