Learn R Programming

GCCfactor (version 1.0.1)

dwBS: Dependent wild bootstrap for resampling time series

Description

Select an optimal bandwidth parameter and apply the dependent wild bootstrap with Bartlett kernel to obtain the resampled time series.

Usage

dwBS(y)

Value

A \(T\times 1\) matrix of resampled time series.

Arguments

y

A \(T\times 1\) vector of time series to be resampled.

References

Shao, X., 2010. The dependent wild bootstrap. Journal of the American Statistical Association, 105(489), pp.218-235.

Examples

Run this code
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