fn_v_cpp: Synth Optimization func for predictor variable weights

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

The Optimization function for the synthetic control implemented using Rcpp

Usage

1
fn_v_cpp(variables_v, X0_scaled, X1_scaled, Z0, Z1)

Arguments

variables_v

The weights on the Synth predictor variables

X0_scaled

scaled matrix of control units

X1_scaled

scaled matrix for the treated unit

Z0

matrix of outcome observations for the control units

Z1

matrix of outcome observations for the treated unit

Value

the loss from the parameter optimizaiton

Author(s)

Chandler Lutz


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