package_sgmodel {sgmodel} | R Documentation |
The sgmodel package provides three important functions:
sgmod
, util
and Markovmoments
.
sgmodel
functionThe 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.
util
functionIt computes values for various uility functions encountered in economic theory.
Markovmoments
functionIt computes the four moments of a finite state Markov chain: expectation, variance, autocovariance and autocorrelation.