Calculating the constrained variance of the residuals for the Boostrap approaches in the EquiTrends Maximum Equivalence Testing procedure, according to Dette & Schumann (2024).
sigma_hathat_c(parameter, x, y, ID, time)
The estimated constrained variance of the residuals.
The constrained coefficients.
The double demeaned independent variables.
The double demeaned dependent variable.
The ID variable.
The time variable.
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")