DiSCo_bc: Function for computing barycenters in the DiSCo method at...

View source: R/DiSCo_bc.R

DiSCo_bcR Documentation

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 \insertCitegunsilius2023distributional;textualDiSCos.

Usage

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

Arguments

controls.q

List with matrices of control quantile functions

weights

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

Value

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

References

\insertAllCited

DiSCos documentation built on Sept. 11, 2024, 6:11 p.m.