Learn R Programming

DiSCos (version 0.1.1)

DiSCo_per_rank: DiSCo_per_rank

Description

This function ranks the squared Wasserstein distances and returns the p-values for each time period

Usage

DiSCo_per_rank(distt, distp, T0)

Value

List of p-values for each time period

Arguments

distt

List of squared Wasserstein distances between the target unit and the control units

distp

List of squared Wasserstein distances between the control units