# Tag Archive for 'LaTeX'

### Changing the typesetting margins in Scientific Workplace

At least half of the LSE economics department uses Scientific Workplace, but an absurdly large fraction of all PDFs they produce have two-inch margins so they end up wasting half the page.

I finally got sufficiently annoyed to discover how to change it:

1. Open a SW tex file
2. Under the ‘Typeset’ menu, choose ‘Options and Packages…’
3. Under the ‘Packages’ tab, add the ‘geometry’ package
4. Under the ‘Typeset’ menu, choose ‘Preamble…’
5. Add a line at the end specifying the margins.

For example:

\geometry{left=1in,right=1in,top=1in,bottom=1in}

Units of measurement available are listed on the webpage where I got this:  http://www.mackichan.com/index.html?techtalk/370.htm

### Deriving the New Keynesian Phillips Curve (NKPC) with Calvo pricing

The Phillips Curve is an empirical observation that inflation and unemployment seem to be inversely related; when one is high, the other tends to be low.  It was identified by William Phillips in a 1958 paper and very rapidly entered into economic theory, where it was thought of as a basic law of macroeconomics.  The 1970s produced two significant blows to the idea.  Theoretically, the Lucas critique convinced pretty much everyone that you could not make policy decisions based purely on historical data (i.e. without considering that people would adjust their expectations of the future when your policy was announced).  Empirically, the emergence of stagflation demonstrated that you could have both high inflation and high unemployment at the same time.

Modern Keynesian thought – on which the assumed efficacy of monetary policy rests – still proposes a short-run Phillips curve based on the idea that prices (or at least aggregate prices) are “sticky.”  The New Keynesian Phillips Curve (NKPC) generally looks like this:

$\pi_{t}=\beta E_{t}\left[\pi_{t+1}\right]+\kappa y_{t}$

Where $y_{t}$ is the (natural) log deviation – that is, the percentage deviation – of output from its long-run, full-employment trend and $\beta$ and $\kappa$ are parameters.  Notice that (unlike the original Phillips curve), it is forward looking.  There are criticisms of the NKPC, but they are mostly about how it is derived rather than its existence.

What follows is a derivation of the standard New Keynesian Phillips Curve using Calvo pricing, based on notes from Kevin Sheedy‘s EC522 at LSE.  I’m putting it after this vile “more” tag because it’s quite long and of no interest to 99% of the planet.

### LaTeX

I’ve installed the Latex for WordPress plugin, so now I can freak people out by writing stuff like this:

$$P_{it}^{\ast }=\left( \frac{\gamma }{\gamma -1}\right) ce^{s_{it}}$$