wmat.mammen: Mammen's Wild Bootstrap Weights

View source: R/dCovReg.R

wmat.mammenR Documentation

Mammen's Wild Bootstrap Weights

Description

wmat.mammen generates Mammen's two-point weight for the wild bootstrap.

Usage

wmat.mammen(n, B = 200, seed = NULL, cluster = NULL)

Arguments

n

sample size

B

number of wild bootstrap samples.

seed

seed for reproducibility.

cluster

vector of length n with cluster ids if cluster-robust wild-bootstrap is used

Value

an n by B matrix of two-point weights


estsyawo/bayesprdopt documentation built on April 2, 2024, 2:18 p.m.