Function to simplify weight computations. For more details on the methodology, see:
Bellego, Benatia, and Dortet-Bernadet (2024), "The Chained Difference-in-Differences",
Journal of Econometrics, https://doi.org/10.1016/j.jeconom.2023.11.002.
Usage
gg(x, thet)
Value
A numeric vector representing the computed weights based on the predictors and parameters.