gecon_par_info-class: 'gecon_par_info' class

Description Slots Methods See Also Examples

Description

The class storing information about parameters selected by the user.

Slots

r_object_name:

a character string. The name of an R object of gecon_model class storing the model from which the information about parameters comes from.

parameters:

a character vector of parameters' names.

gcn_values:

a numeric vector of free parameters' values specified in the .gcn file.

current_values:

a numeric vector of parameters' current values.

calibr_flag:

a logical vector of the length equal to the number of the parameters. If TRUE, a corresponding parameter is a calibrated parameter.

incid_mat:

a object of Matrix class representing the mapping of parameters to equations and calibrating equations.

Methods

print

signature(x = "gecon_par_info"): Prints all the available information (values, types, incidence matrix) about the parameters which were selected when creating a gecon_par_info-class object.

show

signature(object = "gecon_par_info"): Prints all the available information (values, types, incidence matrix) about the parameters which were selected when creating a gecon_par_info-class object.

summary

signature(object = "gecon_par_info"): Prints all the available information (values, types, incidence matrix) about the parameters which were selected when creating a gecon_par_info-class object.

See Also

par_info creates an object of gecon_par_info class. gecon_shock_info-class and gecon_var_info-class are similar classes storing the information about shocks and variables, respectively.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# copy the example to the current working directory
file.copy(from = file.path(system.file("examples", package = "gEcon"),
          "rbc.gcn"), to = getwd())

# make and load the model
rbc <- make_model("rbc.gcn")

# compute the steady state and calibrate alpha
rbc <- steady_state(rbc)
rbc_par_info <- par_info(rbc, all = TRUE)
print(rbc_par_info)
summary(rbc_par_info)
show(rbc_par_info)

gEcon documentation built on May 2, 2019, 6:52 p.m.