RKRobert Kirkby

Robert Kirkby

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Robert Kirkby has a total of 7 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Discretizing earnings dynamics: implications of Gaussian-mixture shocks for life-cycle models

    by Robert Kirkby

    The standard AR(1) process with gaussian innovations, commonly used in life-cycle models of earnings dynamics, has proven insufficient. Recent research highlights the age-dependent and non-Gaussian nature of earnings changes. Empirical studies show that an AR(1) process with Gaussian-mixture innovations, along with age-dependent parameters, provides a better fit to this evidence. However, implementing such a model in a life-cycle framework requires discretization. To address this, we extend the Tanaka–Toda method and evaluate its performance. We then apply this method to a standard life-cycle model, discretizing various earnings processes to assess the impact of more realistic earnings dynamics compared to the traditional AR(1) process with gaussian innovations. We find that non-gaussian innovations and non-employment shocks are important to both annual and lifetime inequality. They also improve the performance of life-cycle models on consumption inequality and consumption insurance. Given their important impact on model results and empirical realism, the use of gaussian-mixtures provide an accessible improvement to life-cycle models. We provide Matlab code for the implementation of this discretization method.


  • Open Access

    Computing Quantiles of Functions of the Agent Distribution Using t-Digests

    by Robert Kirkby

    We introduce t-Digests as an accurate and computationally efficient way to calculate the quantiles of functions of the agent distribution for models in which the full distribution is too large to work with directly; e.g., to calculate the Top 1% of the wealth distribution. When it is possible to fit the entire agent distribution (and a function evaluation on it) into memory, the quantiles can easily be calculated directly. Evaluating a function on the agent distribution can be done much faster using a GPU, however this frequently introduces a memory bottleneck as GPU memory is typically an order of magnitude smaller than CPU memory. For Heterogeneous Agent models the full distribution of agents may fit in CPU memory, but not in GPU memory. We partition the agent distribution into (non-overlapping) subspaces and because these subspaces are much smaller we can fit the subspaces in GPU memory one at a time. For each subspace we then evaluate the function and calculate a t-Digest. t-Digests are a form of data structure that are fast to compute, require less memory, and provide high accuracy for the quantiles of the distribution; t-Digests are a ’sketch’ of the subspace. Having computed and stored a t-Digest for each subspace we can then merge them to get a t-Digest for the full agent distribution. The resulting t-Digest is an accurate representation of the quantiles and can form the basis of Lorenz Curves as well as many other distributional and inequality statistics of interest in Economics.


  • Open Access

    Quantitative Macroeconomics: Lessons Learned from Fourteen Replications

    by Robert Kirkby

    I replicate all tables and figures from fourteen papers in Quantitative Macroeconomics, with an emphasis on incomplete market heterogeneous agent models. I report three main findings: (i) all (non-welfare related) major findings of the papers replicate, (ii) welfare findings based on linear approximation methods—1st-order perturbation, linear and log-linearization around steady-state, and linear-quadratic methods—should be treated as quantitatively suspect, (iii) decisions around methods for discretizing exogenous shocks have a large and unappreciated influence on results and should be prominently discussed in papers. While some smaller aspects of the papers do not replicate exactly, rather than nitpick in the body of this paper I instead describe some lessons learnt that may be useful for practitioners working with Quantitative Macroeconomic models. The replications use global methods allowing for non-linearities and I argue that these are important and need to be more widely used. I provide a checklist that researchers can use when trying to check that their work will be more easily reproducible. Matlab codes implementing the replications using the VFI Toolkit are provided, and full results of all replications are given in the online appendix. I conclude with three core points for best practice: (i) codes be made directly available (e.g., on github, not only ’on request’, and not just inside a zip file), (ii) report not just baseline parameters but also hyperparameters, equilibrium values, non-baseline parameters and initial conditions, and (iii) replication means rewriting codes from scratch, not just re-running available codes.


  • Are Housing Wealth Effects Asymmetric in Booms and Busts?

    by Mairead de Roiste, Apostolos Fasianos, Robert Kirkby, Fang Yao


  • Open Access

    Cryptocurrencies and Digital Fiat Currencies

    by Robert Kirkby

    Current generations of cryptocurrencies are not money, but future ones may be. While Bitcoin performs poorly as a store of value, it is actually on par with the Venezuelan bolívar over the last decade, and the Argentinian peso over the decade from 1986. I evaluate arguments in favour of central banks issuing digital fiat currency—intended to replace cash—and digital fiat money—intended to replace money more broadly. Digital fiat currency appears a natural step forward, but digital fiat money would be a bad idea as it makes the central bank responsible for the entire money supply.


  • BEWLEY–HUGGETT–AIYAGARI MODELS: COMPUTATION, SIMULATION, AND UNIQUENESS OF GENERAL EQUILIBRIUM

    by Robert Kirkby

    This paper provides conditions under which an algorithm for the computation and simulation of Bewley–Huggett–Aiyagari models, based on state-space discretization, will converge to all true solutions. These conditions are shown to be satisfied in two standard examples: the Aiyagari model and its extension to endogenous labor. Bewley–Huggett– Aiyagari models are general equilibrium models with incomplete markets and idiosyncratic, but no aggregate, shocks. The algorithm itself is based on discretization, while the theory importantly allows for making simulations using the approximate computational solution of the value function problem rather than the true model solution. The numerical results of applying the algorithm to both models are provided and investigated in terms of replication, revealing that the Aiyagari model overestimates the degree of precautionary savings in the high-risk-and-high-risk-aversion case. The results also show that both models almost certainly have a unique general equilibrium. Theoretically, the existence of equilibria was known, but uniqueness remained an open question.


  • Accounting for Uncertainty in Public Debt Targets

    by Martin Fukač, Robert Kirkby


  • Business cycle accounting for New Zealand

    by Thakshila Gunaratna, Robert Kirkby

    Business cycle accounting is performed to identify the kinds of macroeconomic models that best explain economic fluctuations in New Zealand. We estimate four wedges and then create counterfactuals to distinguish the wedges that are important in accounting for fluctuations. The labour wedge plays the main role in explaining output and hours worked, while the net export wedge remains largely irrelevant. An existing equivalence result relates different kinds of macroeconomic dynamic stochastic general equilibrium models to the different wedges. Models that incorporate foreign shocks in the standard manner are equivalent to the wedge relating to net exports. The implication is that while foreign shocks may be important in explaining New Zealand's economic fluctuations, macroeconomists need to move away from modelling them in ways that work via the net export wedge.