block_sample: Block re-sampling for block bootstrap

Description Usage Arguments Value

View source: R/orddid-functions.R

Description

Block re-sampling for block bootstrap

Usage

1
block_sample(dat, id_cluster, id_unique, J, max_cluster_size)

Arguments

dat

a data frame with Ynew, Yold and treat.

id_cluster

a cluster id vector of length n.

Value

a list of resampled data.


soichiroy/orddid documentation built on Oct. 3, 2020, 5:10 a.m.