T_bar_individual: T_bar_individual

Description Usage Arguments Value

Description

calculate the mean treatment effect for an individual case

Usage

1

Arguments

beta

the (4k, 1) vector of coefficients ordered [intercept1, intercept2,...,interceptk, slope1, slope2,...,slopek]

c_i

the (4k, 1) vector of multipliers and midpoints for counting up beta coefficients

k

number of complete sub-phase cycles, as in (AB)^k

Value

the average T estimate for one case


fineiskid/scdlintrend documentation built on May 16, 2019, 12:53 p.m.