Last-In First-Out Oligopoly Dynamics

by Jaap H. Abbring and Jeffrey R. Campbell

This zip file contains the Matlab programs required to reproduce Jaap Abbring and Jeff Campbell's paper Last-In First-Out Oligopoly Dynamics. All of the computations are produced using Matlab (Version 7.6.0.324 (R2008a)), and the text was written in LaTeX and processed using pdfLaTeX and BibTeX. The LaTeX file automatically creates figures and tables from the computed results. Matlab is commercial software, but any reasonable research institution should have a license. To get pdfLaTeX and BibTeX for your Windows-based computer, install the free MikTeX distribution (available at www.miktex.org). The LaTeX file uses the TikZ/PGF package (Version 2.0) and the PGFPlots package (Version 1.1) to create the paper's figures. This may require updating the version of MikTeX on your computer. The MikTeX distribution contains both packages' most recent versions.

Code Browsing

The publish command in Matlab produces uses a program's comments to create an html version of it. We have produced these for all of this paper's scripts. Please see the file compute/codebrowseA.html for a list of these programs and links to their html versions..

Replication

To replicate the computations for and compilation of Last-In First-Out Oligopoly Dynamics, start Matlab on your machine and run the script goA.m. (Alternatively, you can run the script by clicking the previous link from withing the Matlab browser.) This runs all of the programs required to produce the paper and then calls pdfLaTeX and bibTeX to create its .pdf file. Before running the programs, it checks to ensure that your system has these two programs. It does not ensure that the required LaTeX packages are installed. We have tested this file on Windows computers and Linux-based computers running X-windows.

Output

After replication, this directory should contain ac2a.pdf. The .pdf file for Last-In First-Out Oligopoly Dynamics. (The previous link will not work until replication is completed.)