View source: R/utility_functions.R
get_bw | R Documentation |
Automatic bandwidth selection of Andrews (1991) using Bartlett kernel.
get_bw(y)
y |
A |
A numeric.
Andrews, D.W., 1991. Heteroskedasticity and autocorrelation consistent covariance matrix estimation. Econometrica: Journal of the Econometric Society, pp.817-858.
panel <- UKhouse # load the data
est_multi <- multilevel(panel, ic = "BIC3", standarise = TRUE, r_max = 5,
depvar_header = "dlPrice", i_header = "Region",
j_header = "LPA_Type", t_header = "Date")
lT_G <- get_bw(est_multi$G)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.