Description Usage Arguments Value Examples
View source: R/cesBoundaryModels.R
The boundary models are given in Table 2 of Heun, et al "An Empirical Investigation of the Role of Energy in Economic Growth"
1 | cesBoundaryModels(formula, data, nest, method = "nlm", subset = TRUE)
|
formula |
a CES formula in the form |
data |
historical time series data |
nest |
a permutation of the integers 1 to the number of factors describing how to nest and permute the variables in the formula. |
a list of boundary models.
1 2 3 4 5 | if (require(EconData) & require(dplyr)) {
cesBoundaryModels(iGDP ~ iK + iL + iQp + iYear, data=Calvin %>% filter(Country=="US"), nest=c(1,2,3))
cesBoundaryModels(iGDP ~ iK + iL + iQp + iYear, data=Calvin %>% filter(Country=="US"), nest=c(2,3,1))
cesBoundaryModels(iGDP ~ iK + iL + iYear, data=Calvin %>% filter(Country=="US"), nest=c(1,2))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.