max.imb: Allocate treatment based on Hu and Hu (2012)'s version of...

Description Usage Arguments Value

View source: R/minimization.R

Description

Allocate treatment based on Hu and Hu (2012)'s version of minimization. Hu and Hu (2012) imbalance measure (only applicable for one continuous covariate) Compute imbalance measure proposed in Hu and Hu (2012): sort list of currently assigned treatments according to the covariate consider all subsets containing the current patient k Find difference in number of patients who have been given treatment 1 vs treatment 0 Find the maximum difference across all subsets

Usage

1
2
## S3 method for class 'imb'
max(T01, k)

Arguments

T01

vector of assigned treatments, sorted according to the covariate

k

position of the current patient in the sorted list T01

Value

max.imb


mst1g15/biasedcoin documentation built on Nov. 26, 2019, 4:01 a.m.