decompose_Y: Decompose Y into components F, M, and E as described in...

View source: R/placebo-simulations.R

decompose_YR Documentation

Decompose Y into components F, M, and E as described in Section 3.1.1 also computes a set of 'unit factors': the first rank left singular vectors from SVD(Y)

Description

Decompose Y into components F, M, and E as described in Section 3.1.1 also computes a set of 'unit factors': the first rank left singular vectors from SVD(Y)

Usage

decompose_Y(Y, rank)

Arguments

Y,

the outcomes

rank,

the assumed rank of the signal component L=F+M

Value

a list with elements F, M, E, and unit_factors


synth-inference/synthdid documentation built on Jan. 26, 2024, 7:21 a.m.