pick_lambda: Choose regularisation parameter that minimises...

View source: R/CVXSynth.R

pick_lambdaR Documentation

Choose regularisation parameter that minimises pseudo-treatment prediction error for Doudchenko Imbens (2016) estimator

Description

Choose regularisation parameter that minimises pseudo-treatment prediction error for Doudchenko Imbens (2016) estimator

Usage

pick_lambda(j, Y, lambdas, T0)

Arguments

j

index of pseudo-treatment unit

Y

matrix of control outcomes (wide, where each column is a series)

lambdas

sequence of lambda parameters

T0

number of pre-treatment periods

Value

value of lambda that minimises prediction error for pseudo-treatment


apoorvalal/CVXSynth documentation built on May 16, 2023, 11:03 p.m.