Description Usage Arguments Value Author(s)
View source: R/jubilee-macro-cost-method.R
This utility calculates the cost function of the macro model according to the squared error sum with penaty parameter. This utility can be used to experiment more sophisticated optimization schemes.
1 2 | jubilee.macro_cost(dtb, rs, penalty = c(1, 1, 1), new.tb3ms = NA,
new.gs10 = NA)
|
dtb |
data table, usually this is the reg.dtb of the jubilee object |
rs |
the list returned from |
penalty |
numeric, the penalty vector for the 6 models.
Default is |
new.tb3ms |
numeric, vector of new |
new.gs10 |
numeric, vector of new |
The data table containing the "macro.cost" column
Stephen H. Lihn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.