    \begin{algorithmic}[1]
    \Require Observations, history $d_{1:2} = (d_1, d_2)$, {\tt model} $\in$ {\tt \{full interactions, linear\}}. 
    \If{{\tt model} $=$ {\tt full interactions}}
    \State Estimate $\beta_{d_{1:2}}^{(2)} $ by regressing $Y_{i,2}$ onto $H_{i,2}$ for all $i: (D_{i, 1:2} = d_{1:2})$;
     \State Estimate $\beta_{d_{1:2}}^{(1)} $ by regression $H_{i,2} \hat{\beta}_{d_{1:2}}^2$ onto $X_{i,1}$ for $i$  that has  $D_{i,1} = d_{1}$. 
    \Else 
    \State Estimate $\beta^{(2)} $ by regressing $Y_{i,2}$ onto $(H_{i,2}, D_{i,2})$ for all $i$ (without penalizing $(D_{i,1}, D_{i,2})$) and define $H_{i,2} \hat{\beta}_{d_1, d_2} = (H_{i,2}, d_2) \hat{\beta}^{(2)}$ for all $i: D_{i,1} = d_1$ ;
     \State Estimate $\beta^{(1)} $ by regressing $(H_{i,2}, d_2) \hat{\beta}^2$ onto $(X_{i,1}, D_{i,1})$ for all  $i$ (without penalizing $D_{i,1}$) and define $X_{i,1} \hat{\beta}_{d_1, d_2}^{(1)} = (X_{i,1}, d_1)\hat{\beta}^{(1)}$ for all $i$. 
    \EndIf   
         \end{algorithmic}

\begin{algorithmic}
[1]
\Require Observations, history $d_{1:2} = (d_1, d_2)$, {\tt model} $\in$ {\tt \{full interactions, linear\}}.
\If{{\tt model} $=$ {\tt full interactions}}
\State Estimate $\beta_{d_{1:2}}^{(2)} $ by regressing $Y_{i,2}$ onto $H_{i,2}$ for all $i: (D_{i, 1:2} = d_{1:2})$;
\State Estimate $\beta_{d_{1:2}}^{(1)} $ by regression $H_{i,2} \hat{\beta}_{d_{1:2}}^2$ onto $X_{i,1}$ for $i$ that has $D_{i,1} = d_{1}$.
\Else
\State Estimate $\beta^{(2)} $ by regressing $Y_{i,2}$ onto $(H_{i,2}, D_{i,2})$ for all $i$ (without penalizing $(D_{i,1}, D_{i,2})$) and define $H_{i,2} \hat{\beta}_{d_1, d_2} = (H_{i,2}, d_2) \hat{\beta}^{(2)}$ for all $i: D_{i,1} = d_1$ ;
\State Estimate $\beta^{(1)} $ by regressing $(H_{i,2}, d_2) \hat{\beta}^2$ onto $(X_{i,1}, D_{i,1})$ for all $i$ (without penalizing $D_{i,1}$) and define $X_{i,1} \hat{\beta}_{d_1, d_2}^{(1)} = (X_{i,1}, d_1)\hat{\beta}^{(1)}$ for all $i$.
\EndIf
\end{algorithmic}
{
    "title": "dynamic covariate balancing: estimating treatment effects over time with   potential local projections",
    "id": "2103.01280",
    "abstract": "this paper studies the estimation and inference of treatment histories in panel data settings when treatments change dynamically over time.   we propose a method that allows for (i) treatments to be assigned dynamically over time based on high-dimensional covariates, past outcomes and treatments; (ii) outcomes and time-varying covariates to depend on treatment trajectories; (iii) heterogeneity of treatment effects.   our approach recursively projects potential outcomes' expectations on past histories. it then controls the bias by balancing dynamically observable characteristics. we study the asymptotic and numerical properties of the estimator and illustrate the benefits of the procedure in an empirical application.",
    "categories": "econ.em math.st stat.me stat.ml stat.th",
    "doi": "",
    "created": "2021-03-01",
    "updated": "2024-01-26",
    "authors": [
        "davide viviano",
        "jelena bradic"
    ],
    "affiliation": [],
    "url": "https://arxiv.org/abs/2103.01280"
}
{
    "ToxicityFilter": {
        "text_to_toxicity_attributes": {
            "figures/plot_lowdim1.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/signal1.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/plot_lowdim2.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/treatment_status.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/all_T_main_text_log.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/combined_plot.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/comp_time.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "main_and_appendix.bbl": {
                "toxicity_score": 0.012314741,
                "severe_toxicity_score": 0.0012016296,
                "identity_attack_score": 0.0041067624,
                "insult_score": 0.007797878,
                "profanity_score": 0.015181494,
                "threat_score": 0.007586042,
                "sexually_explicit_score": 0.011264639,
                "flirtation_score": 0.20508216
            },
            "mybibliography.bib": {
                "toxicity_score": 0.016021729,
                "severe_toxicity_score": 0.0028800964,
                "identity_attack_score": 0.0031818156,
                "insult_score": 0.008310881,
                "profanity_score": 0.022149978,
                "threat_score": 0.0066345283,
                "sexually_explicit_score": 0.023708822,
                "flirtation_score": 0.24819614
            },
            "figures/signal2.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/overlap_acemoglu.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "main_and_appendix.tex": {
                "toxicity_score": 0.012126249,
                "severe_toxicity_score": 0.0011730194,
                "identity_attack_score": 0.0038292783,
                "insult_score": 0.0076838774,
                "profanity_score": 0.015488927,
                "threat_score": 0.007598988,
                "sexually_explicit_score": 0.01250316,
                "flirtation_score": 0.21894184
            },
            "figures/all_T.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "figures/acemoglu_final2.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            },
            "main_and_appendix.out": {
                "toxicity_score": 0.011120965,
                "severe_toxicity_score": 0.001964569,
                "identity_attack_score": 0.0014891637,
                "insult_score": 0.007028373,
                "profanity_score": 0.02030538,
                "threat_score": 0.0061296434,
                "sexually_explicit_score": 0.020995872,
                "flirtation_score": 0.40309274
            },
            "figures/fiscal_stimulus_1.eps": {
                "toxicity_score": 0.0058118035,
                "severe_toxicity_score": 0.00071525574,
                "identity_attack_score": 0.0011515582,
                "insult_score": 0.006344369,
                "profanity_score": 0.012175481,
                "threat_score": 0.0060196044,
                "sexually_explicit_score": 0.0072836806,
                "flirtation_score": 0.49011314
            }
        },
        "reason": null
    }
}
{
    "num_done": {
        "figure": 0,
        "algorithm": 3,
        "plot": 0
    }
}
{
    "NonTrivialRenderingFilter": {
        "white_pixels_ratio": 92.06014628602513,
        "hash": "00072ffff7ebf987",
        "most_frequent_color_ratio": 92.06014628602513
    }
}