Greenwood, Hercowitz and Huffman paper

Hey guys,
I have to replicate the paper Investment, Capacity Utilization, and the Real Business Cycle by Greenwood, Hercowitz and Huffman.
http://www.jstor.org/discover/10.2307/1 ... 2565330227
There are two Problems:
First:
I'm looking for some code. Did anybody do this or has any help for me?
Second:
I have to change the Marcov- Process to an AR(1)-Process. Does anyone know how that works?
Thanks in advance!
I have to replicate the paper Investment, Capacity Utilization, and the Real Business Cycle by Greenwood, Hercowitz and Huffman.
http://www.jstor.org/discover/10.2307/1 ... 2565330227
There are two Problems:
First:
I'm looking for some code. Did anybody do this or has any help for me?
Second:
I have to change the Marcov- Process to an AR(1)-Process. Does anyone know how that works?
Thanks in advance!