package_sgmodel {sgmodel}R Documentation

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.

The sgmodel 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 util function

It computes values for various uility functions encountered in economic theory.

The Markovmoments function

It computes the four moments of a finite state Markov chain: expectation, variance, autocovariance and autocorrelation.


[Package sgmodel version 0.1.2 Index]