solution_w_cpp: solution for region weights

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

To get the solution for the weights from the weights on each predictor variable and the X scaled matrices for the treated unit and control units

Usage

1
solution_w_cpp(solution_v, X0_scaled, X1_scaled)

Arguments

solution_v

the weighte on each predictor

X0_scaled

scaled matrix of control units

X1_scaled

scaled matrix for the treated unit

Value

A vector with the solution with the regional weights

Author(s)

Chandler Lutz


ChandlerLutz/SynthHelpers documentation built on May 6, 2019, 9:56 a.m.