print.summary_sgmod {sgmodel}R Documentation

print.summary_sgmod

Description

The function print.summary_sgmod prints a summary for a sgmodel object.

Usage

## S3 method for class 'summary_sgmod'
print(x, ...)

Arguments

x

An object of class sgmod.

...

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

grid <- 200
utiltype <- "CRRA"
utilparam <- 4
A <- 1
depre <- 0.03
discount <- 0.95
prod <- 0.3
states <- 3
m <- 4
rho <- 0.2
sigma <- 0.02
model <- sgmodel(grid, utiltype, utilparam, A, depre, discount, prod, states, m, rho, sigma)
summary_sgmod(model)

[Package sgmodel version 0.1.2 Index]