boot_optimization_function
solves the optimization problem to find the restricted placebo coefficients, according to Dette & Schumann (2024).
boot_optimization_function(x, y, no_placebos, equiv_threshold, start_val)
A numeric vector containing the restricted placebo coefficients
The double demeaned independent variables.
The double demeaned dependent variable.
The number of placebo coefficients.
The equivalence threshold for the test.
The starting values for the optimization.
Dette, H., & Schumann, M. (2024). "Testing for Equivalence of Pre-Trends in Difference-in-Differences Estimation." Journal of Business & Economic Statistics, 1–13. DOI: tools:::Rd_expr_doi("10.1080/07350015.2024.2308121")