Learn R Programming

DiSCos (version 0.1.1)

DiSCo_bc: Function for computing barycenters in the DiSCo method at every time period

Description

Compute barycenters in the DiSCo method at every time period, as in Definition 1, Step 4 in gunsilius2023distributional;textualDiSCos.

Usage

DiSCo_bc(controls.q, weights, evgrid = seq(from = 0, to = 1, length.out = 101))

Value

The quantile function of the barycenter associated with the "weights" evaluated at the vector "evgrid"

Arguments

controls.q

List with matrices of control quantile functions

weights

Vector of optimal synthetic control weights, computed using the DiSCo_weights_reg function.

References