package_sgmodel: sgmodel: A package for computating the solutions to a generic stochastic growth model.
Description
The sgmodel package provides three important functions:
sgmod, util and Markovmoments.
Arguments
The <code>sgmodel</code> function
The sgmodel function solves a standard stochastic growth model using value function iteration. The stochastic component follows an autoregressive process of order one, and is discretized by a finite state Markov process.
The <code>util</code> function
It computes values for various uility functions encountered in economic theory.
The <code>Markovmoments</code> function
It computes the four moments of a finite state Markov chain: expectation, variance, autocovariance and autocorrelation.