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")
G_star <- dwBS(est_multi$G)
Run the code above in your browser using DataLab