Computes the optimal FLCI for the scalar parameter of interest under \(\Delta = \Delta^{SD}(M)\).
findOptimalFLCI(betahat, sigma, M = 0,
numPrePeriods, numPostPeriods,
l_vec = .basisVector(index = 1, size = numPostPeriods),
numPoints = 100, alpha = 0.05, seed = 0)Returns a list containing items
Vector containing lower and upper bounds of optimal FLCI.
Vector of length numPrePeriods + numPostPeriods that contains the vector of coefficients associated with the optimal FLCI.
Vector of length numPrePeriods that contains the vector of coefficients for the optimal FLCI that are associated with the pre-period event study coefficients.
A scalar that equals the half-length of the optimal FLCI.
Value of M at which the FLCI was computed.
Status of optimization.
Vector of estimated event study coefficients.
Covariance matrix of event study coefficients.
Number of pre-periods.
Number of post-periods.
Vector of length numPostPeriods that describes the scalar parameter of interest, theta = l_vec'tau. Default equals to first basis vector, (1, 0, ..., 0)
Tuning parameter for \(\Delta^{SD}(M)\) that governs the degree of non-linearity allowed in the violation of parallel trends. Default equals 0
Number of possible values when optimizing the FLCI. Default equals 100.
Desired size of the FLCI. Default equals 0.05 (corresponding to 95% confidence interval)
Random seed for internal computations; included for reproducibility.
Ashesh Rambachan
Rambachan, Ashesh and Jonathan Roth. "An Honest Approach to Parallel Trends." 2021.