summary_sgmod: summary_sgmod

Description Usage Arguments Value Examples

View source: R/stochastic_growth_model.R

Description

The function summary_sgmod prints a summary for results of the sgmodel function.

Usage

1
summary_sgmod(object, ...)

Arguments

object

A sgmodel object.

...

Additional arguments.

Value

It returns a list with the model parameters. It includes:

Utility function

The type of utility function. See the details of util for the available types

Capital share

The exponent on capital in the Cobb-Douglas production function.

Discount factor

The discount factor used in the model.

Depreciation

The depreciation rate of capital used in the model.

Rho

Autocorrelation of the TFP AR(1) process.

Sigma

Standard deviation of the white noise in the TFP process.

Number of TFP states

Number of states of the TFP process.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
grid <- 200
utiltype <- "CRRA"
utilparam <- 4
A <- 1
depre <- 0.03
discount <- 0.95
prod <- 0.3
states <- 3
m <- 3
rho <- 0.2
sigma <- 0.02
model <- sgmodel(grid, utiltype, utilparam, A, depre, discount, prod, states, m, rho, sigma)
summary_sgmod(model)

thomasvigie/sgmodel documentation built on March 3, 2020, 2:28 p.m.