package_sgmodel: sgmodel: A package for computating the solutions to a generic...

package_sgmodelR 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.


sgmodel documentation built on May 29, 2024, 5:35 a.m.