rca(gdp1, time1, gdp2, time2, output = "all", sigma.measure = "cv",
sigma.log = TRUE, sigma.norm = FALSE, sigma.weighting = NULL, digs = 5)
output = "all"
(default), the function returns a list
containing the results. If output = "data"
, the function only returns the input variables and their transformations in a data.frame
. If output = "lm"
, an lm
object of the (linearized) model is returned.
output = "cv"
, which means that a coefficient of variation is used. If output = "sd"
, the standard deviation is used.
sigma.log = TRUE
), also in the sigma convergence analysis, the economic variables are transformed by natural logarithm. If the original values should be used, state sigma.log = FALSE
digs = 5
)
output = "all"
: a list
containing the items
output = "data"
: a data.frame
containing the columns
output = "lm"
: A lm
object of the estimated OLS modeloutput = "all"
, it returns the estimation results of beta convergence and, if \(-1 < \beta < 0\), also the calculations of \(\lambda\) and \(H\) related to \(\beta\). The sigma convergence is operationalized as the difference between the dispersions of the regared variable (ln-transformed if sigma.log = TRUE
): \(\sigma_t - \sigma_{t+T}\). If this value is positive, there is sigma convergence with respect to these points in time. The dispersions can be calculated as (weighted or non-weighted, standardized or non-standardized) standard deviation or coefficient of variation (see the function cv
), to be stated by the function parameters sigma.measure
, sigma.norm
and sigma.weighting
. State output = "lm"
for the underlying regression model (lm
object) only or output = "data"
for the transformed dataset. As yet, the function only allows absolute beta convergence.cv
# Regional disparities / beta and sigma convergence in Germany
data(gdppc)
# GDP per capita for German counties (Landkreise)
rca (gdppc$gdppc2005, 2005, gdppc$gdppc2009, 2009, digs=5)
# returns a list
convergence <- rca (gdppc$gdppc2005, 2005, gdppc$gdppc2009, 2009, digs=5)
beta <- convergence$beta
# Beta convergence value
Run the code above in your browser using DataLab