EconBase
← Back to paper

Estimation of Optimal Dynamic Treatment Assignment Rules under Policy Constraints

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

118,511 characters · 15 sections · 83 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Estimation of Optimal Dynamic Treatment Assignment Rules under Policy Constraints

\setstretch{1.2}

abstract\begin{spacing}{1.2} Many policies involve dynamics in their treatment assignments, where individuals receive sequential interventions over multiple stages. We study estimation of an optimal dynamic treatment regime that guides the optimal treatment assignment for each individual at each stage based on their history. We propose an empirical welfare maximization approach in this dynamic framework, which estimates the optimal dynamic treatment regime using data from an experimental or quasi-experimental study while satisfying exogenous constraints on policies. The paper proposes two estimation methods: one solves the treatment assignment problem sequentially through backward induction, and the other solves the entire problem simultaneously across all stages. We establish finite-sample upper bounds on worst-case average welfare regrets for these methods and show their optimal $n^{-1/2}$ convergence rates. We also modify the simultaneous estimation method to accommodate intertemporal budget/capacity constraints. \end{spacing} \begin{spacing}{1.5} Keywords: Dynamic treatment effect, dynamic treatment regime, individualized treatment rule, empirical welfare maximization.\\ JEL codes: C22, C44, C54. \end{spacing}

\setstretch{1.5}

Introduction

Many policies involve dynamics in their treatment assignments. Some policies assign a series of treatments to each individual across multiple stages, such as job training programs consisting of multiple stages Lechner_2009,Rodriguez_et_al_2018. Some policies are characterized by when to start/stop consecutive treatment assignment, such as unemployment insurance programs that reduce benefit level after a certain duration Meyer_1995,Kolsrud_et_al_2018. Examples of dynamic treatment assignments also include sequential medical interventions, educational programs, and marketing strategies.

When implementing a dynamic policy, policymakers aim to optimize treatment assignments across multiple stages to maximize its social impact. The effects of treatment at each stage are usually heterogeneous with respect to past treatments, intermediate outcomes, and individual characteristics. Hence, to maximize its social impact, treatment assignment to each individual at each stage should depend on the individual's accumulated information up to the corresponding stage.\footnote{ For example, in the context of a sequential job training program, the interest is in which training regimen to be assigned to each individual at each stage depending on their history of prior training participation, associated labor outcomes, and other observed characteristics. An important question in the unemployment insurance policy context is when and to whom to reduce the insurance level, given a recipient's characteristics and past effort toward a job search. }

This paper proposes a statistical decision approach to solve dynamic treatment choice problems using data from an experimental or quasi-experimental study. We assume dynamic unconfoundedness Robins_1997, meaning that the treatment assignment at each stage is independent of current and future potential outcomes given the history of treatment assignments and state variables. Under this assumption, we construct an approach to estimate the optimal dynamic treatment regime (DTR)\footnote{Borrowing from the terminology of statistics literature, we call the dynamic treatment assignment rule DTR.} building upon the concept of empirical welfare maximization (EWM) Kitagawa_Tetenov_2018a. We call it the dynamic empirical welfare maximization (DEWM). The DEWM approach estimates the optimal DTR by maximizing empirical welfare, a sample mean of propensity-score-weighted outcomes, over a pre-specified class of feasible DTRs. True (estimated) propensity scores are used in the experimental (observational) data setting.

When designing public policy, considering external constraints such as interpretability or fairness in treatment allocation is crucial. The DEWM approach offers favorable features to accommodate exogenous policy constraints by restricting the class of feasible DTRs. Moreover, it can be applied to various dynamic treatment choice problems, such as optimal starting and stopping problems, by properly constraining the class of DTRs.

We present two approaches to estimate the optimal DTR. The first estimates the optimal DTR through backward induction, which solves the treatment choice problem from the final to the first stage, supposing at each stage that the optimal treatments are chosen in future stages. The second estimates the optimal DTR simultaneously across all stages, solving the empirical welfare maximization problem at once for the entire DTR.\footnote{Without specifying the direct and indirect effects of the treatment on future outcomes, each approach accounts for these effects within its EWM process.}

We reveal that the two approaches complement each other. The backward estimation method is computationally efficient; however, its consistency is ensured only when a pre-specified class of DTRs contains the first-best rule that assigns the best treatment for any history at each stage (except the first stage). Conversely, the simultaneous estimation method consistently estimates the optimal DTR on a pre-specified class of DTRs, irrespective of the feasibility of the first-best rule, at the cost of computational efficiency.

In practical terms, dynamic policies often impose budget or capacity constraints on treatment allocation over time. An ideal DTR should allocate limited resources effectively across stages to maximize welfare. We extend the simultaneous estimation method to problems with intertemporal budget/capacity constraints. We show that the resulting DTR approximately maximizes welfare while satisfying these constraints.

We evaluate the statistical properties of the DEWM approaches in terms of average welfare regret.\footnote{The average welfare regret is the average welfare loss relative to the maximum welfare achievable in the pre-specified class of DTRs.} We derive finite-sample and distribution-free upper bounds on the average welfare regret of the DTR estimated by each of the backward-induction and simultaneous optimization methods. The resulting bounds depend on the sample size $n$ and a measure of complexity of the class of DTRs. Our main theorem shows that the average welfare regret for each method converges to zero at rate $n^{-1/2}$ in the experimental data setting. Furthermore, we show that this convergence rate is optimal.\footnote{To my knowledge, this is the first work to formally show the minimax rate optimality of welfare regrets in estimating optimal DTRs.} For the budget/capacity constrained problem, we also analyze the excess implementation cost of the estimated DTR relative to the actual budget/capacity. We derive finite-sample and distribution-free upper bounds on both the welfare regret and the excess cost of the estimated DTR.

Related Literature

This paper contributes to the literature on statistical decision of treatment choice, although much of existing work focuses on the static problem.\footnote{A partial list of works in that literature includes Manski_2004, Dehejia_2005, Hirano_Porter_2009, Stoye_2009,Stoye_2012, Bhattacharya_Dupas_2012, Chamberlain_2012, Tetenov_2012, Kitagawa_Tetenov_2018a, Athey_Wager_2020, Kitagawa_Tetenov_2018b, Mbakop_Tabord-Meehan_2019, and kitagawa_et_al_2021.} Policy learning methods by Kitagawa_Tetenov_2018a, Athey_Wager_2020, and Mbakop_Tabord-Meehan_2019 build on the similarity of the empirical welfare maximizing treatment choice and the empirical risk-minimizing classification. Athey_Wager_2020 apply doubly robust estimators to static policy learning, and show that an $n^{-1/2}$-asymptotic upper bound on regret can be achieved even in the observational data setting.

In the dynamic treatment framework, Han_2018 relaxes the sequential randomization assumption, allowing for noncompliance, and studies point identification of the average dynamic treatment effects and optimal non-additive DTR. Han_2019 proposes a method to characterize the sharp partial ordering of the counterfactual welfares of DTRs in an instrumental variable setting. Heckman_Navarro_2007 and Heckman_et_al_2016 use exclusion restrictions to identify the dynamic treatment effect, but their focus do not extend to the identification of the optimal DTRs.

Estimation of the optimal DTRs has been widely studied in the biostatistics and statistics literature.\footnote{Chakraborty_Moodie_2013, Chakraborty_Murphy_2014, Laber_et_al_2014, and Tsiatis_et_al_2019 review the developments in this field.} Some dominant approaches exist, such as G-estimation Robins_1989,Robins_et_al_1992 and Q-learning Murphy_2005,Moodie_et_al_2012. A potential drawback of these approaches is the risk of misspecification of the models relevant to the counterfactual outcomes. By contrast, the DEWM approach does not need to specify any model relevant to the counterfactual outcomes.

Building on the similarity between treatment choice and classification, Zhao_et_al_2015 develop estimation methods for the optimal DTRs using the support vector machine with propensity score weighted outcomes. Their approach is computationally efficient because it uses a convex surrogate loss. However, it cannot accommodate exogenous constraints on a class of DTRs.\footnote{The hinge loss approach in Zhao_et_al_2015 loses consistency and computational efficiency, for example, under budget or fairness constraints. Moreover, Laha_et_al_2024 show that using a smooth convex surrogate loss or hinge loss in the simultaneous maximization approach can fail to consistently estimate the optimal DTRs.} In contrast, our focus lies on estimating the optimal DTRs with exogenous constraints on the class of DTRs, a scenario more commonly encountered in public policy-making.\footnote{In the static setting, kitagawa_et_al_2021 show that the surrogate hinge loss approach has consistency in constrained treatment choice problems, which could be extended to our dynamic setting. Their main result for consistency applies when constraints are imposed on the level set of a treatment rule, whereas we consider more general constraints on the functional form of treatment rules.} Beyond the results of Zhao_et_al_2015, we reveal a tradeoff between imposing constraints on the dynamic treatment choice and the consistency of the backward-induction approach, and formally show the minimax rate optimality of the proposed methods in the context of dynamic treatment choice.

This work is also related to the literature on optimal stopping van_1976,Rust_1987,Jacka_1991,Goel_et_al_2017,Nie_et_al_2019. Most works in the literature rely either on a known stochastic model van_1976,Rust_1987,Jacka_1991 or on a generator of system dynamics Goel_et_al_2017.\footnote{Nie_et_al_2019 propose doubly robust estimation method for the optimal stopping/starting problem.} The methods proposed in our study can estimate the optimal stopping/starting policies from batch data by properly specifying the class of DTRs.

Finally, the dynamic treatment framework we study differs from the bandit problem, for example, studied by Kock_Thyrsgaard_2018. In the bandit problem, different individuals receive treatment at different stages. By contrast, in our dynamic framework, the same individuals progress through different stages and receive sequential treatment interventions across these stages. Additionally, in bandit problems, the treatment effect is explored and exploited across sequential stages, whereas, in our framework, the effects of sequential treatments are estimated before the allocation task.\footnote{The bandit problem is an online learning problem, whereas we study an off-line learning problem.}\footnote{Kallus_2020 study the bandit problem with DTRs, considering the problem of developing and exploiting the optimal DTR in an online setting.}

Structure of the Paper

The remainder of this paper proceeds as follows. Section (ref) defines the dynamic treatment choice problem. Section (ref) presents the two DEWM methods and shows their statistical properties. Section (ref) extends the simultaneous estimation method to accommodate intertemporal budget/capacity constraints. Section (ref) proposes estimation methods for the observational data setting. Section (ref) shows the results of a simulation study. In Section (ref), we apply the proposed methods to the Project STAR (Steps to Achieving Resilience) data, where we estimate an optimal DTR to allocate each student to a class with or without a teacher aide in multiple grades. Section (ref) concludes this paper.

Setup

Section (ref) introduces the dynamic treatment framework, following Robins's dynamic counterfactual outcomes framework Robins_1986,Robins_1997. Subsequently, we define the dynamic treatment choice problem in Section (ref). In this study, we denote by $E_{P}\left[\cdot\right]$ the expectation with respect to a distribution function $P$.

Dynamic Treatment Framework

We suppose $T$ $(T < \infty)$ stages of binary treatment assignment. Let $D_{t}\in \left\{ 0,1\right\}$, for $t=1,\ldots,T$, denote the binary treatment at stage $t$. At the end of each stage $t$, we observe an outcome $Y_{t}$. Let $X_{t}$ be a $k$-dimensional vector of covariates observed before treatment assignment at stage $t$. The distribution of $X_{t}$ may depend on past treatments, outcomes, and covariates. $X_{1}$ represents pre-treatment information, containing individuals' demographic characteristics observed before policy implementation. Throughout this paper, for any time-dependent object $A_{t}$, we denote by $\text{\ensuremath{\text{\ensuremath{\underline{A}}}}}_{t}\equiv \left(A_{1},\ldots,A_{t}\right)$ a history of the object up to stage $t$, and denote by $\text{\ensuremath{\underline{A}}}_{s:t} \equiv \left(A_{s},\ldots,A_{t}\right)$, for $s\leq t$, a partial history of the object from stage $s$ up to stage $t$. For example, the treatment history up to stage $t$ is denoted by $\text{\ensuremath{\underline{D}}}_{t}=\left(D_{1},\ldots,D_{t}\right)$. Let $Z \equiv \left(\underline{D}_T,\underline{Y}_T,\underline{X}_T\right)$ be the vector containing all observed variables. We define the history in stage $t$ by $H_{t} \equiv \left(\underline{D}_{t-1},\underline{Y}_{t-1},\underline{X}_t\right)$, which is available information for the policymaker when she chooses a treatment assignment at stage $t$. Note that $H_{s}\subseteq H_{t}$ for any $s\leq t$, and $H_{1}=\left(X_{1}\right)$. We denote the support of $H_{t}$ and $Z$ by ${\cal H}_{t}$ and $\mathcal{Z}$, respectively.

We illustrate the dynamic treatment framework with an example of a sequential job training from Rodriguez_et_al_2018. They study the effect of sequential training in Chile's “Franquicia Tributaria” program, where a worker can sequentially participate in multiple training sessions. They consider two stages ($T=2$) with “$D_1=1$” and “$D_2=1$” indicating participation in the first and second stages, respectively. $Y_1$ and $Y_2$ are the monthly salaries observed after training for each stage. $X_1$ includes age, gender, initial wage, and education variables, while there are no time-varying covariates $X_2$.

To formalize our results, we employ the framework of dynamic potential outcomes Robins_1986,Murphy_2003. Let $Y_{t}\left(\text{\ensuremath{\underline{d}}}_{t}\right)$ denote the potential outcome of $\underline{d}_t \in \{0,1\}^t$ at stage $t$, representing the outcome for stage $t$ that is realized when the history of treatment up to stage $t$ coincides with $\underline{d}_{t}$. We implicitly assume that the potential outcomes are not influenced by future treatments, that is, a no-anticipation condition. Given that the covariates $X_t$ may be influenced by past treatments, we define potential covariates as $X_t(\underline{d}_{t-1})$ for each $t \geq 2$ and $\underline{d}_{t-1} \in \{0,1\}^{t-1}$. We denote $X_{1}(\underline{d}_{0})=X_1$ when $t=1$. The observed outcomes and covariates are defined as $Y_t \equiv Y_t(\underline{D}_t)$ and $X_t \equiv X_t(\underline{D}_{t-1})$, respectively. Denoting $\underline{Y}_{t}(\underline{d}_{t}) \equiv (Y_1(d_1),\ldots,\underline{Y}_{t}(\underline{d}_{t}))$ and $\underline{X}_{t}(\underline{d}_{t-1}) \equiv (X_1,X_2(d_1),\ldots,\underline{X}_{t}(\underline{d}_{t-1})$, a vector $H_t(\underline{d}_{t-1}) \equiv \left(\underline{d}_{t-1},\underline{Y}_{t-1}(\underline{d}_{t-1}),\underline{X}_{t}(\underline{d}_{t-1})\right)$ represents the potential history that is realized when prior treatments are $\underline{d}_{t-1}$. We denote $H_{1}(\underline{d}_{0}) = H_1$ when $t=1$. The observed history is defined as $H_{t} \equiv H_t(\underline{D}_{t-1})$. Let $P$ be the distribution of all underlying variables $\left(\underline{D}_T,\{\underline{Y}_{T}(\underline{d}_{T})\}_{\underline{d}_{T} \in \{0,1\}^{T}},\{\underline{X}_{T}(\underline{d}_{T-1})\}_{\underline{d}_{T-1} \in \{0,1\}^{T-1}}\right)$.

From an experimental or observational study, we observe $Z_{i}\equiv \left(D_{it},Y_{it},X_{it}\right)_{t=1}^{T}$ for individuals $i=1,\ldots,n$, where $Y_{it} \equiv Y_{it}(\underline{D}_{it})$ and $X_{it} \equiv X_{it}(\underline{D}_{i,t-1})$ with $Y_{it}(\underline{d}_{t})$ and $X_{it}(\underline{d}_{t-1})$ being a potential outcome and covariates for individual $i$ at stage $t$. We suppose that the vectors of underlying random variables $V_i \equiv \left(\underline{D}_{iT},\{\underline{Y}_{iT}(\underline{d}_{T})\}_{\underline{d}_{T} \in \{0,1\}^{T}},\{\underline{X}_{iT}(\underline{d}_{T-1})\}_{\underline{d}_{T-1} \in \{0,1\}^{T-1}}\right)$, $i=1,\ldots,n$, are independent and identically distributed (i.i.d) with the distribution $P$. We denote by $P^{n}$ the joint distribution of $\left\{V_i:i=1,\ldots,n\right\}$.

Let $e_{t}\left(d_{t},h_{t}\right)\equiv \Pr\left(D_{t}=d_{t}\mid H_{t}=h_{t}\right)$ be a propensity score of treatment at stage $t$ given the history up to that point. We suppose that the propensity scores are known in the experimental study but are unknown in the observational study. These settings are considered in Sections (ref)-(ref) and Section (ref), respectively.

In this study, we suppose that the following assumptions hold.

assumption[Sequential Independence Assumption] For any $t=1,\ldots,T$ and $\text{\ensuremath{\underline{d}}}_{T}\in\left\{ 0,1\right\} ^{T}$, $ \left(Y_{t}\left(\text{\ensuremath{\underline{d}}}_{t}\right),\dots,Y_{T}\left(\text{\ensuremath{\underline{d}}}_{T}\right),X_{t+1}\left(\underline{d}_t\right),\ldots,X_{T}\left(\underline{d}_{T-1}\right)\right) \perp \!\!\! \perp D_{t} \mid H_{t} \mbox{\ a.s.} $
assumption[Bounded Outcomes] There exists $M_{t}<\infty$ such that the support of $Y_{t}$ is contained in $\left[-M_{t}/2,M_{t}/2\right]$ for $t=1,\ldots,T$.

Assumption (ref) is known as a dynamic unconfoundedness assumption or sequential/dynamic conditional independence assumption elsewhere, and is commonly used in the literature on dynamic treatment effect analysis Robins_1997,Murphy_2003. This assumption means that the treatment assignment at each stage is independent of the current and future potential outcomes and future covariates conditional on the history up to that point. This is typically satisfied in sequential randomization experiments. In observational studies, this assumption is often controversial but can be satisfied if a sufficient set of confounders is available. Assumption (ref) is a common assumption in the literature on statistical treatment choice Manski_2004,Stoye_2009,Kitagawa_Tetenov_2018a.

Dynamic Treatment Choice Problem

We aim to develop methods to estimate the optimal DTRs from experimental or observational data with sequential treatment assignment. We denote a treatment rule for each stage $t$ by $g_{t}:{\cal H}_{t}\mapsto\left\{ 0,1\right\} $, a map from the history up to stage $t$ to a binary treatment. We define the DTR by $g\equiv\left(g_{1},\ldots,g_{T}\right)$, a sequence of stage-specific treatment rules. The DTR guides policymakers in selecting treatment for each individual at each stage based on their history up to that point.

We define the counterfactual outcome of a sequence of treatment rules $\underline{g}_t$ for each stage $t$ as $\widetilde{Y}_t\left(\underline{g}_t \right) \equiv \sum_{\underline{d}_{t} \in \{0,1\}^t} Y_t(\underline{d}_t)\cdot \prod_{s=1}^{t}1\left\{g_s\left(H_{s}(\underline{d}_{s-1})\right) = d_s\right\}$. This is the counterfactual outcome for stage $t$ that is realized when the sequential treatment assignment up to stage $t$ follows the sequence of treatment rules $\underline{g}_t$.

We then define the welfare of a DTR $g$ by the population mean of a weighted sum of outcomes as follows:

align[align omitted — 259 chars of source]

where the weight $\gamma_{t}$, for $t=1,\ldots,T$, lies in $\left[0,1\right]$ and is chosen by the policy-maker. If the policymaker targets a time-discounted welfare, the weight at each stage is $\gamma_{t}=\gamma^{T-t}$ with $\gamma$ being a time-discount factor that lies in $\left(0,1\right)$. If the policymaker targets the outcome for the last stage only, $\gamma_{T}=1$ and $\gamma_{t}=0$ for all $t \neq T$.

Given the propensity scores $\left\{ e_{t}\left(d_{t},h_{t}\right)\right\} _{t=1}^{T}$ and under Assumption (ref), the welfare function can be identified by the observables only:

align[align omitted — 237 chars of source]

We suppose that the policymaker chooses a DTR from a pre-specified class of feasible DTRs, denoted by ${\cal G}\equiv{\cal G}_{1}\times\cdots\times{\cal G}_{T}$, where ${\cal G}_{t}$ is a class of feasible treatment rules at stage $t$ (i.e., a class of measurable functions $g_{t}:\mathcal{H}_{t}\rightarrow \{0,1\}$). Therefore, the ultimate goal of the analysis is to choose an optimal DTR that maximizes the welfare function $W\left(\cdot\right)$ over $\mathcal{G}$. \footnote{ In the context of sequential job training Lechner_2009,Rodriguez_et_al_2018, $g_t(h_t)$ decides whether an individual with history $h_t$ should receive job training at stage $t$. The history $h_t$ may include information on past trainings, pre-training and intermediate wages, and educational backgrounds. When $Y_t$ represents the wage at stage $t$, the optimal DTR is the optimal sequence of treatment rules for determining participation in job training at each stage, to maximize the population mean of the total weighted wages $W(g)$. }

In this study, we constrain the complexity of the class of feasible DTRs in terms of VC-dimension.\footnote{The definition of VC-dimension is given in Definition (ref) in Appendix along with some examples.} The following assumption restricts the complexity of the class of feasible DTRs $\mathcal{G}$ in terms of the VC-dimension of $\mathcal{G}_t$ for each $t=1,\ldots,T$.

assumption[VC-class] The class of feasible DTRs $\mathcal{G}$ has the form of $\mathcal{G}=\mathcal{G}_1 \times \cdots \times \mathcal{G}_T$. For $t=1,\ldots,T$, ${\cal G}_{t}$ is a VC-class of functions and has VC-dimension $v_{t}<\infty$.

This assumption restricts the complexity of the class of DTRs $\mathcal{G}$ by restricting the class of feasible treatment rules $\mathcal{G}_{t}$ for each specific stage. By restricting the complexity, we can select a DTR that is simple to explain/interpret DTR, and can keep estimated DTRs from overfitting the data. Although Assumption (ref) excludes nonparametric classes of $\mathcal{G}_t$, our framework can accommodate nonparametric approaches by appropriately controlling the growth rate of VC-dimension with the sample size $n$.

We can incorporate arbitrary exogenous policy constraints for ethical or political reasons into DTRs by specifying the form of $\mathcal{G}_{t}$ for each $t$.\footnote{Although a treatment rule $g_{t}(h_t)$ depends on the full-history of covariates $\underline{x}_{t}$ from stage 1 to t, we can also consider treatment rules that do not depend on the past covariates $\underline{x}_{t-1}$ by restricting the class $\mathcal{G}_t$ such that for any $g_t \in \mathcal{G}_t$, $g_{t}(h_t) = g_{t}(h_{t}^\prime)$ for any $h_t$ and $h_{t}^{\prime}$ such that $h_{t} \backslash \underline{x}_{t-1} = h_{t}^{\prime} \backslash \underline{x}_{t-1}^{\prime}$. Similar constraints can also be imposed for the treatment history $\underline{d}_t$ and outcome history $\underline{y}_{t}$.} Some examples of practically relevant classes of DTRs are linear treatment rules and decision tree rules.

comment\begin{example}[Linear Treatment Rules] The class of DTRs based on linear treatment rules is ${\cal G}={\cal G}_{1}\times\cdots\times{\cal G}_{T}$ with ${\cal G}_{t}$, $t=1,\ldots,T$, denoted as follows: \begin{align*} {\cal G}_{t}= \left\{ 1\left\{ \beta_{1t}^{\prime}x_{t}+\beta_{2t}^{\prime}\ensuremath{d}_{t-1}+\beta_{3t}^{\prime}\ensuremath{y}_{t-1}\geq c_{t}\right\} :\left(\beta_{1t}^{\prime},\beta_{2t}^{\prime},\beta_{3t}^{\prime},c_{t}\right)^{\prime}\in\mathbb{R}^{k+2t-1}\right\}. \end{align*} Under this class of DTRs, treatment assignment at each stage relies on whether the linear eligibility score ( $\beta_{1t}^{\prime}\text{x}_{t}+\beta_{2t}^{\prime}\text{\ensuremath{\underline{d}}}_{t-1}+\beta_{3t}^{\prime}\text{\ensuremath{\underline{y}}}_{t-1}$) exceeds a certain threshold value $c_{t}$. The main objective of data analysis using this class is to construct an eligibility score (i.e., to decide $\left(\beta_{1t}^{\prime},\beta_{2t}^{\prime},\beta_{3t}^{\prime},c_{t}\right)_{t=1,\ldots,T}$) such that the resulting DTR maximizes the welfare $W(\cdot)$ over $\mathcal{G}$. In this example, each ${\cal G}_{t}$ has VC-dimension of at most $k+2t-1$. \end{example}
comment\begin{example}[Decision Tree] The decision tree representation of $g_t$ is a tree representing partition of $\mathcal{H}_t$, which predicts treatment $0$ or $1$ by traveling from a root node to a leaf node of a tree . For any integer $L \geq 1$, a depth-$L$ decision tree has $L$ layers, in which the first $L-1$ layers consist of branch nodes, and the $L$-th layer consists of leaf nodes. Let $p_{t}$ denote the dimension of $H_{t}$. Each branch node in the $\ell$-th layer is specified by a splitting variable $H_{tj}\in H_{t}$ for some $j=1,\ldots,p_{t}$, a threshold value $c \in \mathbb{R}$, and left and right child nodes in the $(\ell+1)$-th layer. If $H_{tj} \geq c$, the left child node is followed; otherwise, the right child node is followed. Every path terminates at a leaf node, each of which assigns $g(h_t)=0$ or $1$. From Lemma 4 of Zhou_et_al_2023, the depth-$L$ decision tree class of $\mathcal{G}_t$ on $\mathcal{H}_{t}$ has VC-dimension bounded on the order of $VC(\mathcal{G}_t)=\widetilde{\mathcal{O}}(2^{L}log(p_{t}))$.\footnote{The notation $f(n)=\widetilde{\mathcal{O}}(g(n))$ means that there is a function $h(\cdot)$ that scales poly-logarithmically in its argument for which $f(n)\leq h(g(n))g(n)$. See Athey_Wager_2020 and Zhou_et_al_2023 for detail.} \end{example}

Aside from the constraint on the functional form, we can specify various dynamic treatment choice problem by restricting the intertemporal relationship of treatment rules across stages. Some examples are as follows.

example[Optimal Starting/Stopping Problem] If the policymaker aims to decide when to start consecutive treatment assignments for each individual, the restriction $d_{s}\leq g_{t}(\cdot)$ for all $s\leq t$ should be imposed on ${\cal G}_{t}$. Similarly, the problem of deciding when to stop consecutive treatment assignments can be specified by imposing the restriction $d_{s}\geq g_{t}(\cdot)$ on ${\cal G}_{t}$ for all $s\leq t$.
example[One-Shot Treatment] If the problem is to decide when to assign a one-shot treatment to each individual, the analyst should impose the restriction $\sum_{s=1}^{t-1}d_{s}+g_{t}(\cdot)\leq1$ on ${\cal G}_{t}$ for each $t$.

The VC-dimension of an additionally restricted class does not exceed that of the original class.

Given a class of feasible DTRs $\mathcal{G}$, we assume the following overlap condition holds for the propensity scores $\{e_{t}(d_{t},h_{t})\}_{t=1}^{T}$.

assumption[Overlap Condition] For $t=1,\ldots,T$, there exists $\kappa_{t} \in (0,1)$ for which $\kappa_{t} \leq e_{t}(d_{t},h_{t})$ holds for any pair $(d_{t},h_{t}) \in \{0,1\}\times \mathcal{H}_{t}$ such that there exists $g_{t} \in \mathcal{G}_{t}$ that satisfies $g_{t}(h_{t})=d_{t}$.

When $\mathcal{G}$ is structurally constrained, Assumption (ref) is weaker than a common overlap condition that requires the overlap $e_{t}(d_{t},h_{t}) \in (0,1)$ for all $(d_{t},h_{t})\in \{0,1\}\times \mathcal{H}_{t}$ and $t=1,\ldots,T$.\footnote{For example, in the optimal stopping problem, Assumption (ref) does not require $e_{t}(1,h_{t})>0$ for any $h_t$ such that $d_s$ in $h_t$ is equal to $0$ for some $s < t$.} This assumption also guides how to design experiments given $\mathcal{G}$; that is, in an experiment, the treatment $d_t$ does not need to be assigned to individuals with any $h_t$ such that $d_t$ is not achievable by $g_t(h_t)$ for any $g_t \in \mathcal{G}_t$ (i.e., $d_t \neq g_{t}(h_t)$ for any $g_t \in \mathcal{G}_t$).\footnote{For example, in the optimal stopping problem, $d_t = 1$ does not need to be assigned to any individuals who were already untreated (i.e., individuals with $d_s = 0$ for some $s < t$).} Assumption (ref) is satisfied in the experimental data setting, for example, when the treatment $D_t$ is randomly assigned without any dependence on the history $H_t$.

We denote the highest welfare that is attainable in the class of feasible DTRs ${\cal G}$ by

align[align omitted — 106 chars of source]

We consider estimating the optimal DTR that maximizes the welfare $W(\cdot)$ over $\mathcal{G}$ from the sample $\left\{ Z_{i}:i=1,\ldots,n\right\} $. In the subsequent section, we present two methods to estimate the optimal DTR, and show their statistical properties.

Dynamic Empirical Welfare Maximization

This section proposes two DEWM methods. One method employs backward induction to solve the dynamic treatment choice problem sequentially from the final to initial stage. The other method involves the simultaneous maximization of $W\left(\cdot \right)$ over the entire class of DTRs $\mathcal{G}$ across all stages. The backward-induction approach is computationally efficient; however, we will see that it may not consistently estimate the optimal DTR when $\mathcal{G}_{t}$ does not contain the first-best treatment rule for all $t \geq 2$. By contrast, the simultaneous maximization method can consistently estimate the optimal DTR irrespective of whether $\mathcal{G}_{t}$ contains the first-best rule at each stage $t$, though it is computationally less efficient.\footnote{It is worth noting that our study, focused on the consistent estimation of the optimal DTR, differs from the literature on “dynamic (in)consistency” in economics Epstein_et_al_2003,Hansen_Sargent_2022, because the notions of consistency are different between our work and works regarding “dynamic (in)consistency” in economics.} We explain the backward-induction and simultaneous-maximization methods in Sections (ref) and (ref), respectively.

Backward Dynamic Empirical Welfare Maximization

We first explain the backward-induction approach. To present the idea, we here suppose that the generative distribution function $P$ is known and the pair $\left(P,{\cal G}\right)$ satisfies Assumptions (ref) and (ref).

The backward-induction approach in the population problem proceeds as follows. First, for the final stage $T$, we obtain

align[align omitted — 170 chars of source]

where $Q_{T}\left(h_{T},d_{T}\right)\equiv E_{P}\left[\gamma_{T}Y_{T}\mid H_{T}=h_{T},D_{T}=d_{T}\right]$ is the conditional mean of the weighted final outcome $\gamma_{T}Y_{T}$ given the history $h_{T}$ and treatment $d_T$.

Then, recursively, from $t=T-1$ to $1$, we obtain

align[align omitted — 164 chars of source]

with $Q_{t}\left(h_{t},d_{t}\right) \equiv E_{P}\left[\gamma_{t}Y_{t}+Q_{t+1}\left(H_{t+1},g_{t+1}^{\ast}(H_{t+1})\right)\mid H_{t}=h_{t},D_{t}=d_{t}\right].$ The function $Q_{t}\left(h_{t},d_{t}\right)$ is the action value function for stage $t$ and represents the expected welfare that is realized when the history is $h_{t}$, the treatment at stage $t$ is $d_t$, and the future treatments follow $(g_{t+1}^{\ast},\ldots,g_{T}^{\ast})$.

Given the propensity scores $\left\{ e_{t}\left(d_{t},h_{t}\right)\right\} _{t=1}^{T}$ and under Assumption (ref), $E_{P}\left[Q_{t}\left(H_{t},g_{t}(H_t)\right)\right]$ can be identified as

align*[align* omitted — 144 chars of source]

where

align[align omitted — 279 chars of source]

Hence, the objective function $E_P[Q_t(H_t,g_t)]$ can be expressed by the observables only.

Using the inverse propensity score weighting, we propose the estimation method based on the empirical analogue of the above backward induction procedure. We refer to this method as the backward DEWM method. The backward DEWM method first estimates $g_{T}^{\ast}$ by

align*[align* omitted — 140 chars of source]

Then, recursively, from $t=T-1$ to $1$, the method estimates $g_{t}^{\ast}$ by

align[align omitted — 218 chars of source]

We denote by $\hat{g}^{B}\equiv \left(\hat{g}_{1}^{B},\ldots,\hat{g}_{T}^{B}\right)$ the DTR obtained from this procedure.

The resulting DTR $\hat{g}^{B}$ does not necessarily have consistency to the optimal one, $g_{opt}^{\ast} \in \mathop{\rm arg~max}\limits_{g \in \mathcal{G}} W(g)$, unless the class $\mathcal{G}_t$ of treatment rules for each $t\geq 2$ contain the first-best rule that globally maximizes $E_{p}[Q_t(H_t,g_t(H_t))]$ over all measurable functions of $g_t$. For any $s<t$, let

align*[align* omitted — 304 chars of source]

which is the outcome in stage $t$ that is realized when the treatment assignments from stage $1$ to stage $s$ are fixed to $\underline{d}_{s}$, and the subsequent sequential treatment assignment follows $\underline{g}_{(s+1):t}$.\footnote{We denote $\widetilde{Y}_{t}\left(\underline{d}_{t},\underline{g}_{(t+1):t}\right) = Y_{t}\left(\underline{d}_{t}\right)$ when $s=t$.} To ensure consistent estimation with a given distribution $P$, the following assumption requires that the first-best treatment rule is attainable at all but the first stage.

assumption[First-Best Treatment Rule] For any $t=2,\ldots,T$, there exists $g_{t,FB}^{\ast}\in{\cal G}_{t}$ such that the following holds: \begin{align*} &E_{P}\left[\sum_{s=t}^{T}\gamma_{s}\widetilde{Y}_{s}\left(D_{t-1},g_{t:s,FB}^{\ast}\right) \middle| H_{t}\right] \geq \max_{d_t \in \{0,1\}}E_{P}\left[\sum_{s=t}^{T}\gamma_{s}\widetilde{Y}_{s}\left(D_{t-1},d_t,g_{(t+1):T,FB}^{\ast}\right) \middle| H_{t} \right] \mbox{\ a.s.} \end{align*}

We refer to $g_{t,FB}^{\ast}$, which satisfies Assumption (ref), as the first-best treatment rule at stage $t$. The first-best rule $g_{t,FB}^{\ast}$ always chooses the best treatment for any history $h_t$ given that the first-best rules are followed in the future stages. Assumption (ref) is satisfied when $\mathcal{G}_{t}$, $t=2,\ldots,T$, are rich enough or are correctly specified in the sense that they contain the first-best rule. Note that there is a trade-off between the simplicity of a class of DTRs and the feasibility of Assumption (ref); while a simpler class of DTRs is often preferable in practice, it is less likely to contain the first-best rule.\footnote{A tension also exists between restrictions on information sets versus restrictions on functional classes. Imposing functional restrictions can restrict the information set, potentially causing dynamic inconsistency.} Assumption (ref) does not require the class of treatment rules for the first stage $\mathcal{G}_1$ to contain the first-best.

When the first-best rule is not attainable in $\mathcal{G}_{t}$ for some $t\geq 2$, the solution $g_{s}^{\ast}$ of the backward induction for $s\leq t$ does not necessarily correspond to the optimal treatment rule. We illustrate this issue with a simple example in the following remark (and also in the simulation study in Section (ref)).

remarkSuppose that $T=2$ and the data-generating process (DGP) $P$ satisfies the following: \begin{align} & E_{P}[Y_{2}(1,1)]=1.0,\ E_{P}[Y_{2}(1,0)]=0.5,\ E_{P}[Y_{2}(0,1)]=0.0,\ E_{P}[Y_{2}(0,0)]=0.6; \nonumber \\ & $D_{1}$ and $D_{2}$ are independently distributed as $Ber(1/2)$. \end{align} We set the target welfare to $$W(g) = E_P\left[\widetilde{Y}_2(g_1,g_2)\right] =E_{P}\left[\sum_{(d_1,d_2)\in \{0,1\}^2}Y_2\left(d_1,d_2\right)\cdot 1\{g_1(H_1) = d_1,g_2(H_2(d_1))=d_2\}\right].$$ Suppose that the history information are $H_1 = \emptyset$ and $H_2 = (D_1)$. As an example of a constrained class of DTRs, we consider a class of uniform DTRs; that is $\mathcal{G}_t = \{c_{t}^{0},c_{t}^{1}\}$, for $t=1,2$, where $c_{t}^{0}$ and $c_{t}^{1}$ denote constant functions such that $c_{t}^{0}(h_t)=0$ and $c_{t}^{1}(h_t)=1$ for any $h_t$. Under the supposed DGP $P$, the first-best rule for $t=2$ is $g_{2,FB}^{\ast}(d_1)=d_1$. Hence $\mathcal{G}_2$ does not contain the first-best. The optimal DTR over the class of constant DTRs is \begin{align*} (g_{1,opt}^{\ast},g_{2,opt}^{\ast}) = \mathop{\rm arg max}\limits_{(g_1,g_2) \in \{c_{1}^{0},c_{1}^{1}\} \times \{c_{2}^{0},c_{2}^{1}\}} E\left[\widetilde{Y}_{2}(g_1,g_2)\right] = (c_{1}^{1},c_{2}^{1}), \end{align*} and its welfare is $W(g_{1,opt}^{\ast},g_{2,opt}^{\ast})=E[Y_2(1,1)]=1.0$. On the other hand, the solution $(g_{1}^{\ast},g_{2}^{\ast})$ of the backward-induction approach is $(c_{1}^{0},c_{2}^{0})$ because \begin{align*} (1st step)\ \ \ \ g_{2}^{\ast} &= \mathop{\rm arg max}\limits_{g_2 \in \{c_{2}^{0},c_{2}^{1}\}}E_{P}\left[\widetilde{Y}_2(D_1,g_2)\right] = c_{2}^{0}; \nonumber \\ (2nd step)\ \ \ \ g_{1}^{\ast} &= \mathop{\rm arg max}\limits_{g_1 \in \{c_{1}^{0},c_{1}^{1}\}}E_{P}\left[\widetilde{Y}_2(g_1,g_{2}^{\ast})\right] = c_{1}^{0}. \end{align*} Hence, the backward-induction solution $g^{\ast}=(c_{1}^{0},c_{2}^{0})$ differs from the optimal solution $g_{opt}^{\ast}=(c_{1}^{1},c_{2}^{1})$ over $\mathcal{G}$, resulting in a suboptimal welfare $W(g^{\ast})=E[Y_2(0,0)]=0.6$. The above example suggests that when the first-best rule is not feasible in $\mathcal{G}_{t}$ ($t\geq 2$), the backward-induction solution does not necessarily correspond to the optimal one. This happens because the backward-induction solution $g_{t}^{\ast}$ depends on the DGP $P$ of the observed data in which the distribution of treatment assignments $(D_1,D_2)$ is decided by the experimental design. This DGP differs from the DGP that arises when the treatment assignments, except for stage $t$, follow the optimal treatment rules. However, when the first-best rule is feasible in $\mathcal{G}_{t}$ for each $t \geq 2$, the backward-induction solution $g_{t}^{\ast}$ at each stage corresponds to the first-best rule, under the overlap condition, irrespective of the distribution of $(D_1,D_2)$. Finally, note that the infeasibility of the first-best rule does not necessarily cause the suboptimality of the backward-induction approach for a fixed DGP. Suppose that the DGP $P$ satisfies the condition ((ref)) with $E_P[Y_2(0,1)]=0.0$ replaced by $E_P[Y_2(0,1)]=0.4$. In this case, the backward-induction solution becomes $g^{\ast}=(c_{1}^{1},c_{2}^{1})$ and corresponds to the optimal one $g_{opt}^{\ast} = (c_{1}^{1},c_{2}^{1})$.\footnote{There is also another example. Consider decision rules that rely solely on a discretized version of the history space. In such a scenario, backward induction can still achieve the optimal decision rule within this discretized class, treating the discretized history space as a new set of covariates.}

Simultaneous Dynamic Empirical Welfare Maximization

The second approach is a sample analogue of the entire welfare maximization problem ((ref)). We refer to the proposed method as the simultaneous DEWM method, as it simultaneously estimates the optimal treatment rules across all stages. The method estimates the optimal DTR through the maximization of the sample analogue of ((ref)):

align[align omitted — 247 chars of source]

where $\underline{g}_{t} \equiv (g_1,\ldots,g_{t})$ is the vector of treatment rules up to stage $t$ and

align*[align* omitted — 229 chars of source]

In equation ((ref)), $n^{-1}\sum_{i=1}^{n}w_{t}^{S}(Z_{i},\text{\ensuremath{\underline{g}}}_{t})$ corresponds to the sample analogue of the $t$-th term in ((ref)). We denote by $\hat{g}^{S}\equiv \left(\hat{g}_{1}^{S},\ldots,\hat{g}_{T}^{S}\right)$ the DTR obtained from this procedure. Theorem (ref) below shows that this method can consistently estimate the optimal DTR on $\mathcal{G}$ even when $\mathcal{G}_t$ does not contain the first-best rule for some $t$ (i.e., Assumption (ref) does not hold).

remark[Optimization] When $\mathcal{G}_{t}$ ($t=1,\ldots,T$) are classes of the linear treatment rules, the optimization problems ((ref)) for the backward DEWM and ((ref)) for the simultaneous DEWM can be formulated as mixed integer linear programming (MILP) problems. Appendix (ref) gives details.
remark[Q-learning] The Q-learning method is also based on the idea of backward induction Murphy_2005,Moodie_et_al_2012. In the first step, the method estimates Q-function for stage $T$, $Q_{T}^{\dagger}\left(h_{t},d_{t}\right) \equiv E_{P}[Y_{T}| H_{T}=h_{T},D_{T}=d_{t}]$, through regression of $Y_T$ on $(H_T,D_{T})$ and obtain its estimate $\widehat{Q}_{T}^{\dagger}\left(h_{t},d_{t}\right)$. Then it estimates the optimal treatment rule for stage $T$ as $\hat{g}_{T}^{Q}(h_{T}) = \mathop{\rm arg~max}\limits_{d_{T} \in \{0,1\}} \widehat{Q}_{T}^{\dagger}\left(h_{t},d_{t}\right)$. Recursively, from $t=T-1$ to $1$, the method estimates the Q-function (optimal action-value function) for stage $t$, $Q_{t}^{\dagger}(h_t,d_{t}) \equiv E_{P}\left[Y_{t} + \gamma_{t+1}\max_{d_{t+1}}Q_{t+1}^{\dagger}(h_{t+1},d_{t+1})| H_{t}=h_{t},D_{t}=d_{t}\right]$, by regressing $Y_{t} + \gamma_{t+1}\max_{d_{t+1}}\widehat{Q}_{t+1}^{\dagger}(h_{t+1},d_{t+1})$ on $(H_{t},D_{t})$, and obtain its estimate $\widehat{Q}_{t}^{\dagger}(h_t,d_{t})$.\footnote{Linear regression is typically used to estimate the Q-functions.} Then it estimates the optimal treatment rule for stage $t$ as $\hat{g}_{t}^{Q}(h_{t}) = \mathop{\rm arg~max}\limits_{d_{t} \in \{0,1\}} \widehat{Q}_{t}^{\dagger}\left(h_{t},d_{t}\right)$. The method yields a DTR $\hat{g}^{Q}\equiv \left(\hat{g}_{1}^{Q},\ldots,\hat{g}_{T}^{Q}\right)$. Q-learning is simple to implement and computationally tractable. Moreover, it does not require overlap conditions of propensity scores. However, it requires the correct specification of the Q-functions for consistent estimation of the optimal DTRs, even when experimental data is used. Our proposed methods do not require the specification of the Q-functions; instead, they use the propensity scores. Additionally, while the backward DEWM requires the specified class of DTRs to include the first-best rules, the simultaneous DEWM does not.
remark[Non-Linear Social Welfare] So far we have considered the linear form ((ref)) of the welfare function. However, some important social welfare criteria (e.g., Gini social welfare Blackorby_Donaldson_1978,Weymark_1981) are represented by non-linear social welfare functions. In Appendix (ref), we consider the equality-minded rank-dependent social welfare functions introduced by Meyer_1995 and Weymark_1981 and studied by Kitagawa_Tetenov_2021: \begin{align} W_{\Lambda}(F) \equiv \int_{0}^{\infty}\Lambda(F(y))dy, \end{align} where $F(y)$ is the distribution of an outcome and $\Lambda(\cdot):[0,1] \rightarrow [0,1]$ is a non-increasing, non-negative function with $\Lambda(0)=1$ and $\Lambda(1)=0$. An important family of social welfare functions represented by ((ref)) is the extended Gini family Donaldson_Weymark_1980,Donaldson_Weymark_1983,Aaberge_et_al_2013: $W_k(F) \equiv \int_{0}^{\infty}(1 - F(y))^{k-1}dy$. When $k=3$, $W_k(F)$ corresponds to the standard Gini social welfare function Blackorby_Donaldson_1978,Weymark_1981: $W_{Gini}(F) = E(Y)(1 - I_{Gini}(F))$ with $I_{Gini}(F) = 1 - (\int_{0}^{1}F^{-1}(\tau)\cdot 2(1-\tau)d\tau)/E(Y)$. For any DTR $g=(g_1, \ldots, g_T)$, let $F_{g}(\cdot)$ denote the distribution of $\sum_{t=1}^{T}\gamma_{t} \widetilde{Y}_{t}(\underline{g}_{t})$, and we define the rank-dependent SWF of $g$ by $W_{\Lambda}(g) \equiv W_{\Lambda} (F_g)$. Appendix (ref) presents a simultaneous DEWM approach to estimate the optimal DTR that maximizes the non-linear social welfare function $W_{\Lambda}(g)$ over $\mathcal{G}$, and shows its statistical properties.
remark[Multiple Treatment] We have so far considered DTRs with binary treatment in each stage. Suppose that there are $K$ treatments in each stage. The discussion so far and the presented procedures are easily extendable to the multiple treatment setting by replacing the binary treatment class $\{0,1\}$ with the multiple one $\{1,\ldots,K\}$. In this case, the treatment rule $g_t$ becomes a map from $\mathcal{H}_t$ to $\{1,\ldots,K\}$. Appendix (ref) elaborates on this extension.

Statistical Properties

As in much of the literature that follows Manski (2004), we evaluate the statistical properties of the two DEWM methods in terms of the average welfare regret, that is, the average welfare loss relative to the maximum feasible welfare $W_{\mathcal{G}}^{\ast}$. Following Kitagawa_Tetenov_2018a, we focus on the non-asymptotic upper bounds of the worst-case average welfare regret, $\sup_{P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)}E_{P^{n}}\left[W_{{\cal G}}^{\ast}-W\left(\hat{g}\right)\right]$, where ${\cal P}\left(M, \kappa, \mathcal{G}\right)$ is a class of distributions of $\left(\underline{D}_T,\{\underline{Y}_{T}(\underline{d}_{T})\}_{\underline{d}_{T} \in \{0,1\}^{T}},\{\underline{X}_{T}(\underline{d}_{T-1})\}_{\underline{d}_{T-1} \in \{0,1\}^{T-1}}\right)$ that satisfy Assumptions (ref), (ref), and (ref) with $M\equiv\left(M_{1},\ldots,M_{T}\right)^{\prime}$, $\kappa\equiv\left(\kappa_{1},\ldots,\kappa_{T}\right)^{\prime}$, and a fixed $\mathcal{G}$.

The following theorem provides a finite-sample upper bound on the worst-case average welfare regret and shows its dependence on the sample size $n$, the VC-dimension of $\mathcal{G}_{t}$ for each $t$, and the number of stages $T$.

theoremSuppose that Assumptions (ref), (ref), and (ref) hold for any distribution $P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)$ and Assumption (ref) holds for $\mathcal{G}$.\\ (i) For the simultaneous DEWM method, there holds \begin{align*} \sup_{P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)}E_{P^{n}}\left[W_{{\cal G}}^{\ast}-W\left(\hat{g}^{S}\right)\right] & \leq C\sum_{t=1}^{T}\left\{ \frac{\gamma_{t}M_{t}}{\prod_{s=1}^{t}\kappa_{s}}\sqrt{\frac{\sum_{s=1}^{t}v_{s}}{n}}\right\} , \end{align*} where $C$ is some universal constant.\\ (ii) Suppose, in addition, that Assumption (ref) holds for a pair of $\mathcal{G}$ and any $P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)$. Then, for the backward DEWM method, there holds \begin{align*} \sup_{P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)}E_{P^{n}}\left[W_{{\cal G}}^{\ast}-W\left(\hat{g}^{B}\right)\right] & \leq C\sum_{t=1}^{T}\left\{ \frac{\gamma_{t}M_{t}}{\prod_{s=1}^{t}\kappa_{s}}\sqrt{\frac{\sum_{s=1}^{t}v_{s}}{n}}\right\} \\ & +C\sum_{t=2}^{T}\frac{2^{t-2}}{\prod_{s=1}^{t-1}\kappa_{s}}\left(\sum_{s=t}^{T}\left\{ \frac{\gamma_{s}M_{s}}{\prod_{\ell=t}^{s}\kappa_{\ell}}\sqrt{\frac{\sum_{\ell=t}^{s}v_{\ell}}{n}}\right\} \right), \end{align*} where $C$ is the same universal constant.
proofSee Appendix (ref).

This theorem shows that the convergence rates of the worst-case average welfare regrets of the two methods are not slower than $n^{-1/2}$. The upper bounds increase with the VC-dimension of $\mathcal{G}_{t}$, implying that as the candidate treatment rules become more complex, the estimated DTR tends to overfit the data (the distribution of welfare regret becomes more dispersed).\footnote{ When the VC-dimension $v_t$ increases with the sample size $n$, Theorem (ref) implies that the rate of convergence of the welfare regrets depends on this growth rate.} The upper bound for the backward DEWM method is greater than that for the simultaneous DEWM method, though neither bound is necessarily sharp. Technically, the difference between these bounds arises from the property of the sequential estimation of the backward DEWM, which leads to additional uncertainty in the estimation.

The next theorem shows a lower bound on the maximum average welfare regret for any data-driven DTR. To present the theorem formally, let $v_{s:t}$, for $s\leq t$, denote the VC-dimension of the following class of indicator functions on $\mathcal{Z}$:

align*[align* omitted — 208 chars of source]

Note that $v_{s:t}\leq\sum_{\ell=s}^{t}v_{\ell}$ holds (see Lemma (ref)).

theoremSuppose that Assumptions (ref), (ref), and (ref) hold for any distribution $P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)$ and Assumption (ref) holds for ${\cal G}$. Then, for any DTR $\hat{g}\in\mathcal{G}$ as a function of $\left(Z_{1},\ldots,Z_{n}\right)$, there holds \begin{align*} \sup_{P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)}E_{P^{n}}\left[W_{{\cal G}}^{\ast}-W\left(\hat{g}\right)\right] & \geq \frac{1}{2}\exp\left(-4\right)\max_{t \in \{1,\ldots,T\}}\left\{ \gamma_{t}M_{t}\sqrt{\frac{v_{1:t}}{n}}\right\} \end{align*} for all $n\geq16v_{1:T}$. This result holds irrespective of whether or not Assumption (ref) additionally holds for a pair of $\mathcal{G}$ and any $P \in \mathcal{P}(M, \kappa, \mathcal{G})$.
proofSee Appendix (ref).

This theorem, along with Theorem (ref), shows that both $\hat{g}^{S}$ and $\hat{g}^{B}$ are minimax rate optimal over the class of DGPs $\mathcal{P}\left(M, \kappa, \mathcal{G}\right)$. Optimality here means that the convergence rates of the upper bounds of the worst-case average welfare regrets in Theorem (ref) align with the convergence rate of the universal lower bound concerning the sample size $n$. The convergence rate is also optimal with respect to the VC-dimension $v_{t}$ for each $t$. In Theorem (ref), the maximum of $\gamma_{t}M_{t}\sqrt{v_{1:t}/n}$ over $t=1,\ldots,T$, rather than its summation over $t=1,\ldots,T$, appears in the lower bound, which is due to the simplicity of the derivation of the lower bound in its proof.

remarkThe finite sample optimization problems ((ref)) and ((ref)) are not invariant to adding a constant, which can affect the estimated DTR by manipulating the outcome variables. Following Kitagawa_Tetenov_2018a, we suggest using the demeaned outcomes $Y_{it}-(1/n)\sum_{i=1}^{n}Y_{it}$, instead of the original ones $Y_{t}$, in the optimization problems ((ref)) and ((ref)), because it is invariant to adding a constant to the original outcome.

Budget/Capacity Constraints

We consider budget/capacity constraints that limit the proportion of the population receiving treatment. In dynamic treatment policy, these constraints may be imposed intertemporally, meaning that they affect treatment assignment across multiple stages. A policymaker faces an intertemporal budget/capacity constraint when managing a budget that spans across multiple stages or a fixed amount of treatment to distribute over multiple stages.\footnote{In the static setting, Bhattacharya_Dupas_2012 propose a method to estimate the optimal treatment rule under a budget constraint. As its application, they estimate the optimal allocation policy for subsidies of anti-malaria bed nets under budget constraints.} For instance, the job training program studied by Rodriguez_et_al_2018 subsidizes training courses at off-site providers across multiple stages, where, when the subsidy budget is limited, the program faces intertemporal budget constraints, limiting the number of individuals participating in training across multiple stages.

Similar to the definition of $\widetilde{Y}_{t}\left(\underline{g}_{t}\right)$, we define a counterfactual history as

align*[align* omitted — 230 chars of source]

which is the counterfactual history in stage $t$ that is realized when the prior treatments $\underline{d}_{t-1}$ are decided by $\underline{g}_{t-1}$. We denote $\widetilde{H}_{1}\left(\underline{g}_0\right) = H_1$ when $t=1$. We suppose that the policymaker faces the following $B$ constraints:

align[align omitted — 187 chars of source]

where $K_{tb}\in\left[0,1\right]$ and $C_{b}\geq0$. As a scale normalization, we assume $\sum_{t=1}^{T}K_{tb}=1$ for all $b$. The left-hand side of equation ((ref)) represents the implementation cost of the DTR $g$, where the weights $K_{1b},\ldots,K_{Tb}$ represent the relative costs of treatments across stages, and $C_{b}$ represents the total budget or capacity. If at least two of $K_{1b},\cdots,K_{Tb}$ take non-zero values, the $b$-th constraint is an intertemporal budget/capacity constraint; otherwise, the $b$-th constraint is a temporal one. In the context of the two-stage job training program with an intertemporal budget constraint ($B=1$), $k_{11}$ and $k_{21}$ represent costs of job training for the first and second stages, respectively, and $C_{1}$ represents the intertemporal budget of the program.\footnote{In reality, the time periods of individuals receiving the treatment would not be aligned. For example, different individuals take job training (for each stage) at different times. In such cases, the formulation ((ref)) of budget constraints can be considered as follows. Suppose that a provider of the treatments (e.g., government) has a fixed budget that can be expended in a fixed fiscal period. The provider (correctly) predicts the number of participants of the program during the fiscal period. We also suppose that the budget can be expended on treatment for any stage for those who participate in the program in any time during the fiscal period. Subsequently, given the budget, the provider can decide the fraction of people who can receive treatment at each stage, as formulated as ((ref)).}

Our aim is to maximize the welfare $W(g)$ under the budget/capacity constraints ((ref)) across the class of feasible DTRs $\mathcal{G}$. The population welfare maximization problem is then formulated as

align[align omitted — 281 chars of source]

The goal of the analysis is to choose a DTR from ${\cal G}$ that maximizes the welfare $W(\cdot)$ subject to the budget/capacity constraints ((ref)).

To this end, we incorporate the sample analogues of the budget/capacity constraints ((ref)) into the simultaneous DEWM.\footnote{We here do not consider the backward DEWM with the budget/capacity constraints because the first-best rule is likely to be unachievable under such constraints.} The simultaneous DEWM method with the budget/capacity constraints solves the following problem:

align[align omitted — 461 chars of source]

where

align*[align* omitted — 333 chars of source]

We denote $\hat{g}^{bdgt} \equiv \left(\hat{g}_{1}^{bdgt},\dots,\hat{g}_{T}^{bdgt}\right)$.

The inequality constraints ((ref)) are empirical budget/capacity constraints, where $\alpha_{n}$ is a tuning parameter dependent on the sample size $n$. $\alpha_{n}$ may be either positive or negative, and converges to zero as $n$ increases. As $\alpha_{n}$ decreases, the empirical budget/capacity constraints become tighter. A sufficiently large value of $\alpha_{n}$ ensures that the optimal DTR (a solution of ((ref))) is attainable under the empirical budget/capacity constraints with high probability. When $\mathcal{G}_{t}$ is the class of linear treatment rules for all $t$, the optimization problem ((ref)) can be formulated as an MILP problem (see Appendix (ref)).

Subsequently, we evaluate the resulting welfare regret $W_{{\cal G}}^{\ast,bdgt}-W\left(\hat{g}^{bdgt}\right)$ and the budget excess $\sum_{t=1}^{T}K_{tb}E_{P}\left[\hat{g}_{t}^{bdgt}\left(H_{t}\left(\underline{\hat{g}}_{t-1}^{bdgt}\right)\right)\right]-C_b$ of the estimated DTR with high probability, rather than evaluating their expected values, $E_{P^n}\left[W_{{\cal G}}^{\ast,bdgt}-W\left(\hat{g}^{bdgt}\right)\right]$ and $\sum_{t=1}^{T}K_{tb}E_{P^{n}}\left[E_{P}\left[\hat{g}_{t}^{bdgt}\left(H_{t}\left(\underline{\hat{g}}_{t-1}^{bdgt}\right)\right)\right]\right]-C_b$.\footnote{Note that $W\left(\hat{g}^{bdgt}\right)$ and $E_{P}\left[\hat{g}^{bdgt}\left(H_{t}\left(\underline{\hat{g}}_{t-1}^{S}\right)\right)\right]$ are random variables depending on the random sample $\{Z_i:i=1,\ldots,n\}$. } We adopt this approach because the actual value of the budget excess is typically of greater concern than its expected value in practice.

The following theorem shows the finite-sample properties of the welfare regret and the budget excess of $\hat{g}^{bdgt}$.

theoremSuppose that the underlying distribution $P$ satisfies Assumptions (ref) and (ref), $\mathcal{G}$ satisfies Assumption $\ref{asm:vc-class}$, and that the pair $(P,\mathcal{G})$ satisfies Assumption (ref). Let $W_{{\cal G}}^{\ast,bdgt}$ be defined in ((ref)) and $\hat{g}^{bdgt}$ be a solution of ((ref)) subject to ((ref)). Let $\delta$ be any value in $(0,1)$ and $C$ be the same constant as in Theorem (ref). Let $k_{(B,n,\delta)} := \sqrt{\log\left(6B/\delta\right)/\left(2n\right)}$, and $W_{\mathcal{G},\alpha_{n}}^{\ast,bdgt}$ be the optimal value of the optimization problem ((ref)) with $C_{b}$ replaced by $C_{b} - k_{(B,n,\delta)} + \alpha_n$, assuming that such an optimal value exists. Then the following holds with probability at least $1-\delta$: \begin{align} \left|W_{{\cal G}}^{\ast,bdgt}-W\left(\hat{g}^{bdgt}\right)\right| &\leq \left(W_{{\cal G}}^{\ast,bdgt}-W_{\mathcal{G},\alpha_{n}}^{\ast,bdgt}\right) \notag \\ & + \frac{1}{\sqrt{n}} \sum_{t=1}^{T}\left[\left(\frac{\gamma_{t}M_{t}}{\prod_{s=1}^{t}\kappa_{s}}\right)\left(2C\sqrt{\sum_{s=1}^{t}v_{s}}+\sqrt{2\log\left(6/\delta\right)}\right)\right] \end{align} and, for any $b \in \{1,\ldots,B\}$, \begin{align} \sum_{t=1}^{T}K_{tb}E_{P}\left[\hat{g}_{t}^{S}\left(\widetilde{H}_{t}\left(\hat{g}_{t-1}^{bgdt}\right)\right)\right]-C_{b} \leq \frac{1}{\sqrt{n}} \sum_{t=1}^{T}\left[K_{tb}\left(C\sqrt{\sum_{s=1}^{t}v_{s}}+\sqrt{\frac{\log\left(2B/\delta\right)}{2}}\right)\right] + \alpha_n. \end{align}
proofSee Appendix (ref).

Equations ((ref)) and ((ref)) evaluate the welfare regret and the budget excess of the estimated DTR over the $b$-th budget/capacity, respectively. In equation ((ref)), $W_{{\cal G}}^{\ast,bdgt}-W_{\mathcal{G},\alpha_{n}}^{\ast,bdgt} \leq 0$ holds when $\alpha_n \leq k_{(B,n,\delta)}$, and $W_{{\cal G}}^{\ast,bdgt}-W_{\mathcal{G},\alpha_{n}}^{\ast,bdgt} \geq 0$ holds otherwise. Hence, when we set $\alpha_n$ such that $\alpha_n \leq k_{(B,n,\delta)}$, the results in Theorem (ref) holds with equation ((ref)) replaced by

align*[align* omitted — 271 chars of source]

where the welfare regret converges to zero as $n$ increases. The theorem suggests that with sufficiently large sample sizes, both the welfare regret and the budget excess are likely to be small, diminishing at the rate of $1/\sqrt{n}$ when $\alpha_{n}$ is chosen such that $\alpha_n = O(1/\sqrt{n})$ and that $\alpha_n \leq k_{(B,n,\delta)}$.\footnote{When $\alpha_n - k_{(B,n,\delta)} \searrow 0$, whether $W_{\mathcal{G}}^{\ast} - W_{\mathcal{G},\alpha_{n}}^{\ast,bdgt}$ in ((ref)) converges to zero depends on the properties of the class of DTR $\mathcal{G}$ and distribution $P$. When $\mathcal{G}$ consists of a finite number of functions, the maximum welfare subject to budget constraints may not be continuous with respect to the budget under some $P$, and hence $W_{\mathcal{G}}^{\ast} - W_{\mathcal{G},\alpha_{n}}^{\ast}$ may not converge to zero when $\alpha_n - k_{(B,n,\delta)} \searrow 0$.}

The tuning parameter $\alpha_{n}$ decides the strictness of the budget constraint. A smaller $\alpha_{n}$ implies that the estimated DTR tightly satisfies the budget constraint, as seen in ((ref)), but leads to lower welfare. Conversely, a larger $\alpha_{n}$ results in less strict adherence to the budget constraint and higher welfare. Thus, the choice of $\alpha_n$ involves a trade-off between maximizing welfare and minimizing budget excess.

We here propose two approaches to choose $\alpha_n$. When aiming to satisfy the budget constraints with a certain level of budget excesses and a particular probability, we can analytically choose the proper value of $\alpha_n$ through Theorem (ref). For example, for any $\varepsilon \in (0,1)$, Theorem (ref) guarantees that the excess budget for the $b$-th constraint is equal to or smaller than $\varepsilon$ with probability at least $1-\delta$ when we choose $\alpha_n = \varepsilon - \frac{1}{\sqrt{n}} \sum_{t=1}^{T}\left[K_{tb}\left(C\sqrt{\sum_{s=1}^{t}v_{s}}+\sqrt{\log\left(2B/\delta\right)/2}\right)\right]$. We can also use cross-validation to choose $\alpha_n$, wherein the validation data evaluates the welfare and budget excess for each DTR estimated with candidate values of $\alpha_n$. Note that $k_{(B,n,\delta)}$ is not a tuning parameter to be selected. Theorem (ref) also guides the selection of the sample size $n$ so that the budget excess is constrained to a certain level with a particular probability.

Observational Study

We consider the observational data setting where the propensity scores are not known but can be estimated from data. We modify the backward and simultaneous DEWM methods to use the estimated propensity scores, following the e-hybrid EWM rule proposed by Kitagawa_Tetenov_2018a. We also discuss construction of a doubly robust approach for estimating the optimal DTRs with technical exposition and theoretical results presented.

Let $\hat{e}_{t}\left(d_{t},h_{t}\right)$ be an estimated version of the propensity score $e_{t}\left(d_{t},h_{t}\right)$. For the estimators of the propensity scores, we suppose the following high-level assumption.

assumption(i) Define \begin{align*} \tau_{t}\left(d_{t},H_t\right)\equiv\left\{ \frac{\left(\prod_{s=1}^{t}1\left\{D_{s}=d_{s}\right\}\right) \gamma_{t}Y_{t}}{\prod_{s=1}^{t}e_{s}\left(d_{s},H_{s}\right)}\right\} and \ \hat{\tau}_{t}\left(d_{t},H_t\right)\equiv\left\{ \frac{\left(\prod_{s=1}^{t}1\left\{D_{s}=d_{s}\right\}\right) \gamma_{t}Y_{t}}{\prod_{s=1}^{t}\hat{e}_{s}\left(d_{s},H_{s}\right)}\right\} , \end{align*} where $\hat{e}_{t}\left(d_{t},H_{t}\right)$ is an estimated propensity score taking a value in $\left(0,1\right)$. For a class of data generating processes ${\cal P}_{e}$, there exists a sequence $\phi_{n}\rightarrow\infty$ such that \begin{align*} \underset{P\in{\cal P}_{e}}{\sup}\sup_{t\in\left\{ 1,\ldots,T\right\} }\sum_{\ensuremath{d}_{t}\in\left\{ 0,1\right\} ^{t}}E_{P^{n}}\left[\frac{1}{n}\sum_{i=1}^{n}\left|\hat{\tau}_{t}\left(\ensuremath{\underline{d}}_{t},H_{it}\right)-\tau_{t}\left(\text{\ensuremath{\underline{d}}}_{t},H_{it}\right)\right|\right] =O\left(\phi_{n}^{-1}\right). \end{align*} (ii) Define \begin{align*} \eta_{t}\left(\text{\ensuremath{\underline{d}}}_{t:T},H_{T}\right) \equiv & \sum_{s=t}^{T}\left\{ \frac{\left(\prod_{\ell=t}^{s}1\left\{ D_{\ell}=d_{\ell}\right\}\right) \gamma_{s}Y_{s}}{\prod_{\ell=t}^{s}e_{\ell}\left(d_{\ell},H_{\ell}\right)}\right\},\\ \hat{\eta}_{t}\left(\text{\ensuremath{\underline{d}}}_{t:T},H_{T}\right)\equiv & \sum_{s=t}^{T}\left\{ \frac{ \left(\prod_{\ell=t}^{s}1\left\{ D_{\ell}=d_{\ell}\right\}\right) \gamma_{s}Y_{s}}{\prod_{\ell=t}^{s}\hat{e}_{\ell}\left(d_{\ell},H_{\ell}\right)}\right\} . \end{align*} For a class of data-generating processes $\widetilde{\mathcal{P}}_{e}$, there exists a sequence $\xi_{n}\rightarrow\infty$ such that \begin{align*} \underset{P\in \widetilde{\mathcal{P}}_{e}}{\sup}\sup_{t\in\left\{ 1,\ldots,T\right\} }\sum_{\text{\ensuremath{\underline{d}}}_{t:T}\in\left\{ 0,1\right\} ^{T-t+1}}E_{P^{n}}\left[\frac{1}{n}\sum_{i=1}^{n}\left|\hat{\eta}_{t}\left(\text{\ensuremath{\underline{d}}}_{t:T},H_{iT}\right)-\eta_{t}\left(\text{\ensuremath{\underline{d}}}_{t:T},H_{iT}\right)\right|\right] = O\left(\xi_{n}^{-1}\right). \end{align*}

Note that $E_{P}\left[\tau_{t}\left(\text{\ensuremath{\underline{d}}}_{t},H_{t}\right)\right]=E_{P}\left[\gamma_{t}Y_{t}(\underline{d}_{t})\right]$ and $E_{P}\left[\eta_{t}\left(\text{\ensuremath{\underline{d}}}_{t:T},H_{T}\right)\right]=E_{P}\left[\sum_{s=t}^{T}\gamma_{s}Y_{s}(\underline{d}_{s})\right]$ hold under Assumption (ref) and $n^{-1}\sum_{i=1}^{n}\hat{\tau}_{t}\left(\text{\ensuremath{\underline{d}}}_{t}\right)$ and $n^{-1}\sum_{i=1}^{n}\hat{\eta}_{t}\left(\text{\ensuremath{\underline{d}}}_{t:T}\right)$ are estimators of these, respectively. We do not explore lower-level conditions that satisfy Assumption (ref). When the propensity scores are consistently estimated with parametric estimators, they are estimated at rate $n^{-1/2}$.

When the estimated propensity scores are used, the backward DEWM method solves the following problem, recursively, from $t=T$ to $1$:

align*[align* omitted — 488 chars of source]

We denote by $\hat{g}_{e}^{B} \equiv \left(\hat{g}_{1,e}^{B},\ldots,\hat{g}_{T,e}^{B}\right)$ the DTR obtained by this procedure.

Similarly, the simultaneous DEWM method solves the following problem:

align*[align* omitted — 234 chars of source]

where $\hat{w}_{t}^{S}(Z_{i},\text{\ensuremath{\underline{g}}}_{t}) \equiv \left\{\left(\prod_{s=1}^{t}1\left\{ D_{is} = g_{s}\left(H_{is}\right)\right\}\right) \cdot\gamma_{t}Y_{it}\right\}/\left\{\prod_{s=1}^{t}\hat{e}_{s}\left(D_{is},H_{is}\right)\right\}$ uses the estimated propensity scores. We denote the resulting DTR by $\hat{g}_{e}^{S} \equiv \left(\hat{g}_{1,e}^{S},\ldots,\hat{g}_{T,e}^{S}\right)$.

The following theorem shows the uniform convergence rate bounds on the worst-case average welfare regret for the two estimation methods.

theoremSuppose that Assumptions (ref), (ref), and (ref) hold for any distribution $P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)$ and Assumption (ref) holds for ${\cal {G}}$.\\ (i) Suppose further that Assumption (ref) (i) holds for any distribution $P\in \mathcal{P}_{e}$. For the Simultaneous DEWM method, there holds \begin{align*} \sup_{P\in \mathcal{P}_{e}\bigcap{\cal P}\left(M, \kappa, \mathcal{G}\right)}E_{P^{n}}\left[W_{{\cal G}}^{\ast}-W\left(\hat{g}_{e}^{S}\right)\right] & \leq C\sum_{t=1}^{T}\left\{ \frac{\gamma_{t}M_{t}}{\prod_{s=1}^{t}\kappa_{s}}\sqrt{\frac{\sum_{s=1}^{t}v_{s}}{n}}\right\} +O\left(\phi_{n}^{-1}\right), \end{align*} where $C$ is the same universal constant as that introduced in Theorem (ref).\\ (ii) Suppose that Assumption (ref) (ii) holds for any distribution $P\in \widetilde{\mathcal{P}}_{e}$ and Assumption (ref) holds for a pair $\left(P,{\cal {G}}\right)$ for any $P\in{\cal P}\left(M, \kappa, \mathcal{G}\right)$. Then, for the backward DEWM method, there holds \begin{align*} \sup_{P\in \widetilde{\mathcal{P}}_{e}\bigcap{\cal P}\left(M, \kappa, \mathcal{G}\right)}E_{P^{n}}\left[W_{{\cal G}}^{\ast}-W\left(\hat{g}_{e}^{B}\right)\right] &\leq C\sum_{t=1}^{T}\left\{ \frac{\gamma_{t}M_{t}}{\prod_{s=1}^{t}\kappa_{s}}\sqrt{\frac{\sum_{s=1}^{t}v_{s}}{n}}\right\} \\ & +C\sum_{t=2}^{T}\frac{2^{t-2}}{\prod_{s=1}^{t-1}\kappa_{s}}\left(\sum_{s=t}^{T}\left\{ \frac{\gamma_{s}M_{s}}{\prod_{\ell=t}^{s}\kappa_{\ell}}\sqrt{\frac{\sum_{\ell=t}^{s}v_{\ell}}{n}}\right\} \right) \\ &+O\left(\xi_{n}^{-1}\right). \end{align*}
proofSee Appendix (ref).

The theorem implies that the convergence rate of the worst-case average regret for each method depends on that of the propensity scores' estimators. If the propensity scores are correctly specified and parametrically estimated, both methods achieve the optimal $n^{-1/2}$-convergence rate of the worst-case average regret.

When the propensity scores are not consistently estimated, the IPW approaches do not consistently estimate the optimal DTRs. We hence propose a doubly robust approach; it is robust to misspecification of either propensity scores or models relevant to outcomes, and can achieve the optimal $n^{-1/2}$-rate of the welfare regret even when nuisance components are nonparametrically estimated. The following remark briefly discusses this approach while technical exposition and theoretical results are presented in Appendix (ref).

remark[Doubly Robust Approach] For the static treatment choice problem, Athey_Wager_2020 and Zhou_et_al_2023 show that using the augmented inverse probability weighting (AIPW) estimator of the welfare function can improve the convergence rate of the welfare regret relative to the e-hybrid EWM rule.\footnote{Nie_et_al_2019 extend this approach to the problem of optimal starting/stopping decision.} In the dynamic setting, we consider extension of the simultaneous maximization approach to doubly robust approach.\footnote{Sakaguchi_2024 propose a doubly robust method with backward induction for estimating optimal DTRs.} The approach presented in Appendix (ref) combines the estimated propensity scores and estimators of Q-functions, $$Q_{t}^{\underline{g}_{(t+1):T}}(h_{t},d_{t}) \equiv E_{P}\left[\gamma_{t}Y_{t} + \sum_{s=t+1}^{T}\gamma_{s}\widetilde{Y}_s(\underline{D}_{t},\underline{g}_{(t+1):s})\middle|H_t = h_t,A_t = d_t\right],$$ to construct an AIPW estimator of the welfare function $W(g)$, and then maximizes it over $\mathcal{G}$ to estimate the optimal DTR. The cross-fitting is also used. \begin{comment} We propose an approach to combine the estimated propensity scores and estimators of Q-functions $$Q_{t}^{\underline{g}_{(t+1):T}}(h_{t},d_{t}) \equiv E_{P}\left[\gamma_{t}Y_{t} + \sum_{s=t+1}^{T}\gamma_{s}\widetilde{Y}_s(\underline{D}_{t},\underline{g}_{(t+1):s})\middle|H_t = h_t,A_t = d_t\right]$$ to construct an AIPW estimator of the welfare function $W(g)$: \begin{align*} \widehat{W}^{AIPW}(g)=\frac{1}{n}\sum_{i=1}^{n}&\left(\sum_{t=1}^{T}\hat{\psi}_{it}^{-k(i)}\left(g_{t}\right)\gamma_{t}Y_{it} \right. \nonumber\\ &\left.-\sum_{t=1}^{T}\left(\hat{\psi}_{it}^{-k(i)}\left(g_{t}\right)- \hat{\psi}_{i,t-1}^{-k(i)}\left(g_{t-1}\right)\right)\cdot \widehat{Q}_{t}^{g_{(t+1):T},-k(i)}\left(H_{it},D_{it}\right) \right), \end{align*} where $\hat{\psi}_{it}^{-k(i)}(\underline{g}_{t}) \equiv \left(\prod_{s=1}^{t}1\left\{ D_{is}=g_{s}(H_{is})\right\}\right)/\left(\prod_{s=1}^{t}\hat{e}_{s}^{-k(i)}\left(H_{is},D_{is}\right)\right)$, and $\hat{e}_{t}^{-k(i)}\left(h_t,d_t\right)$ and $\widehat{Q}_{t}^{\underline{g}_{(t+1):T},-k(i)}(h_{t},d_{t})$ are estimators of the propensity score and Q-function using cross-fitting. The approach then maximizes $\widehat{W}^{AIPW}(g)$ over $\mathcal{G}$ to estimate the optimal DTR. \end{comment} This approach consistently estimates the optimal DTR if either a propensity score or Q-function for each stage is consistently estimated. The results in Appendix (ref) show that the welfare regret $W_{\mathcal{G}}^{\ast} - W(\hat{g}^{AIPW})$ converges to $0$ with the optimal rate of $n^{-1/2}$ under mild conditions on the convergence rates of the estimators of the propensity scores and Q-functions. This approach, however, faces an optimization challenge. Since $Q_{t}^{\underline{g}_{(t+1):T}}(h_{t},d_{t})$ is specific to a sequence of treatment rules $\underline{g}_{(t+1):T}$, when we apply this approach, we have to estimate $\left\{Q_{t}^{\underline{g}_{(t+1):T}}(h_{t},d_{t})\right\}_{t=1,\ldots,T}$ for every possible DTR $g$ in $\mathcal{G}$. This is computationally challenging unless the class of DTRs is sufficiently small (e.g., a finite class of a moderate number of DTRs).\footnote{When covariates are exongenous and intermediate outcomes are not used, a doubly robust approach with lower computational cost can be constructed. Appendix (ref) gives details.}
comment\subsection{Doubly Robust Approach} We next consider doubly robust estimation of the optimal DTR. For the static treatment choice problem, Athey_Wager_2020 and Zhou_et_al_2023 show that the augmented inverse probability weighting (AIPW) estimation of the welfare function can improve the convergence rate of the welfare regret relative to the e-hybrid EWM rule.\footnote{Nie_et_al_2019 extend this approach to the problem of optimal starting/stopping decision.} We here discuss extension of the simultaneous maximization approach to doubly robust approach.\footnote{ As for the backward-induction approach, Sakaguchi_2024 extends it to doubly robust learning. This approach relies on the correct specification of $\mathcal{G}$ (Assumption (ref)). Wallace_et_al_2015 and Ertefaie_et_al_2021 modify Q-learning for doubly robust estimation of optimal DTRs. } The proposed approach consistently estimates the optimal DTR if either a propensity score or action-value function for each stage is consistently estimated. Furthermore, the resulting DTR can achieve the optimal convergence rate $n ^{-1/2}$ of regret under mild conditions on the convergence rate for estimators of the nuisance parameters. We also discuss its computatinal challenge at the end of this section. Following \citeApp{Athey_Wager_2020}, we employ cross-fitting to make estimations of the welfare function and the optimal DTRs independent. We randomly divide the data set $\{Z_i:i=1,\ldots,n\}$ into $K$ evenly-sized folds (e.g., $K=5$). For any statistics $\hat{f}$, we denote by $\hat{f}^{-k(i)}$ the corresponding statistics calculated using data excluded from the fold that contains the $i$-the observation. In the dynamic setting, as proposed by Zhou_et_al_2023, Jiang_Li_2016, and Thomas_Brunskill_2016, we can construct an AIPW estimator for the welfare function $W(g)$ of a fixed DTR $g$ as follows:\footnote{Jiang_Li_2016 and Thomas_Brunskill_2016 consider the estimation of the value of a fixed DTR $g$, but not the estimation of the optimal DTR.} \begin{align} \widehat{W}^{AIPW}(g)=\frac{1}{n}\sum_{i=1}^{n}&\left(\sum_{t=1}^{T}\hat{\psi}_{it}^{-k(i)}\left(g_{t}\right)\gamma_{t}Y_{it} \right. \nonumber\\ &\left.-\sum_{t=1}^{T}\left(\hat{\psi}_{it}^{-k(i)}\left(g_{t}\right)- \hat{\psi}_{i,t-1}^{-k(i)}\left(g_{t-1}\right)\right)\cdot \widehat{Q}_{t}^{g_{(t+1):T},-k(i)}\left(H_{it},D_{it}\right) \right), \end{align} where $\hat{\psi}_{it}^{-k(i)}(\underline{g}_{t}) \equiv \left(\prod_{s=1}^{t}1\left\{ D_{is}=g_{s}(H_{is})\right\}\right)/\left(\prod_{s=1}^{t}\hat{e}_{t}^{-k(i)}\left(H_{is},g_{s}\right)\right)$ is an estimator of the sequential propensity weights, and $\widehat{Q}_{t}^{\underline{g}_{(t+1):T},-k(i)}(h_{t},d_{t})$ is an estimator of the action-value function (Q-function) for $\underline{g}_{(t+1):T}$: $$Q_{t}^{\underline{g}_{(t+1):T}}(h_{t},d_{t}) \equiv E_{P}\left[\gamma_{t}Y_{t} + \sum_{s=t+1}^{T}\gamma_{s}\widetilde{Y}_s(\underline{D}_{t},\underline{g}_{(t+1):s})\middle|H_t = h_t,A_t = d_t\right].$$ We denote $\hat{\psi}_{i,0}^{-k(i)}(\underline{g}_0)=1$ and $\widehat{Q}_{T}^{\underline{g}_{(T+1):T},-k(i)}(\cdot,\cdot)=\widehat{Q}_{T}^{-k(i)}(\cdot,\cdot)$. The Q-functions $\left\{Q_{t}^{\underline{g}_{(t+1):T}}(h_{t},d_{t})\right\}_{t=1,\ldots,T}$ can be estimated by a sequential step-wise algorithm such as the fitted Q-evaluation (Munos_2008,Le_et_al_2019)). The estimator ((ref)) generalizes the AIPW of Robins_et_al_1994 beyond the static case, and it is a consistent estimator of $W(g)$ if either the propensity weights or the Q-functions are consistently estimated. Using the AIPW estimator ((ref)), we can estimate the optimal DTR as a solution of the estimated welfare maximization: $ \hat{g}^{AIPW} \in \mathop{\rm arg~max}\limits_{g \in \mathcal{G}} \widehat{W}^{AIPW}(g)$.\footnote{zhang_et_al_2013 also consider the similar doubly-robust estimator except that they do not use sample-splitting, but they do not study theoretical properties of the proposed estimator.} We show the statistical property of $\hat{g}^{AIPW}$ in Appendix (ref), where we show that welfare regret $W_{\mathcal{G}}^{\ast} - W(\hat{g}^{AIPW})$ converges to $0$ with the optimal rate of $n^{-1/2}$ under mild conditions on the convergence rates of the estimators of the nuisance components. This approach, however, faces an optimization challenge. Since $\widehat{Q}_{t}^{\underline{g}_{(t+1):T},-k}(h_{t},d_{t})$ is specific to a sequence of treatment rules $\underline{g}_{(t+1):T}$, when we apply this approach, we have to compute $\left\{\widehat{Q}_{t}^{\underline{g}_{(t+1):T},-k(i)}(h_{t},d_{t})\right\}_{t=1,\ldots,T}$ for every possible DTR $g$ in $\mathcal{G}$. This is computationally challenging unless the class of DTRs is sufficiently small (e.g., a finite class of a moderate number of DTRs).
comment\subsubsection{Doubly Robust Estimation with Exogenous Variables} We say that time-varying variables are exogenous when they are not influenced by past treatment assignments. When treatment choice at each stage $t$ depends solely on exogenous variables and past treatment information, we can construct a doubly robust approach to estimate the optimal DTRs with computational feasibility. This scenario is prevalent in various contexts. For example, in the context of sequential job training, variables representing exogenous economic conditions (e.g., the unemployment rate in a country where an individual resides) are not influenced by one's job training and are thus considered exogenous. The proposed is also applicable when intermediate outcomes are unobserved. The following assumption formalizes the exogeneity of the covariates. \begin{assumption} For any $t=2,\ldots,T$, $X_t(\underline{d}_{t-1}) = X_t(\underline{d}_{t-1}^{\prime})$ a.s. for any $\underline{d}_{t-1},\underline{d}_{t-1}^{\prime} \in \{0,1\}^{t-1}$. \end{assumption} Given our focus on using exogenous variables and past treatments exclusively for treatment choice, we redefine the observed and potential history as $H_t \equiv (\underline{D}_{t-1},\underline{X}_{t})$ and $H_t(\underline{d}_{t-1}) \equiv (\underline{d}_{t-1},\underline{X}_{t}(\underline{d}_{t-1}))$, respectively, where the history used in treatment choice does not include past outcomes. We suppose that all underlying assumptions (Assumptions (ref)--(ref)) for the simultaneous maximization approach hold with this revised definition of $H_t$. We denote the conditional expectation function of the weighted outcome $\gamma_t Y_t$ given $\underline{d}_{t}$ and $\underline{x}_{t}$ by $\mu_{t}(\underline{d}_{t},\underline{x}_{t}) \equiv E_{P}\left[\gamma_t Y_{t} \mid \underline{D}_{t} = \underline{d}_{t},\underline{X}_{t} = \underline{x}_{t}\right]$. Using this function, we can identify $W_t\left(\underline{g}_t \right)$ as follows. \begin{lemma} Under Assumptions (ref) and (ref), \begin{align*} W_t\left(g_t\right) = \sum_{d_{t} \in \{0,1\}^t}E\left[\mu_t(d_{t},X_t)\cdot \prod_{s=1}^{t}1\{d_s = g_s(d_{s-1},X_s)\}\right]. \end{align*} \end{lemma} \begin{proof} See Appendix (ref). \end{proof} For each cross-fitting fold $k$, we estimate $\mu_{t}(\underline{d}_{t},\underline{x}_{t})$ and $e_{t}(h_{t},\underline{a}_{t})$ by $\hat{\mu}_{t}^{-k}(\underline{a}_{t},s_{t})$ and $\hat{e}_{t}^{-k}(d_{t},h_{t})$, respectively, using the observations not included in the $k$-th fold. Any estimation methods, including semi/nonparametric estimators and machine learning methods, can be applied to estimate the nuisance functions $\mu_{t}(\underline{d}_{t},\underline{x}_{t})$ and $e_{t}(h_{t},\underline{a}_{t})$. For a fixed DTR $g$, we construct an AIPW estimator of the welfare function $W(g)$ as \begin{align*} \widehat{W}^{DR}(g) \equiv \frac{1}{n}\sum_{t=1}^{T}\sum_{i=1}^{n}&\left[ \frac{\gamma_{t}Y_{it}-\hat{\mu}_{t}^{-k(i)}(\underline{D}_{it},\underline{X}_{it})}{\prod_{s=1}^{t}\hat{e}_{s}^{-k(i)}(D_{is},H_{is})} \cdot \prod_{s=1}^{t}1\left\{D_{is}=g_{s}(H_{is})\right\} \right. \\ &\left. +\ \sum_{\underline{d}_{t} \in \{0,1\}^t}\left\{\hat{\mu}_{t}^{-k(i)}(\underline{d}_{t},\underline{X}_{it})\cdot \prod_{s=1}^{t}1\{d_s = g_s(\underline{d}_{s-1},\underline{X}_{is})\}\right\}\right] . \end{align*} We estimate the optimal DTR by maximizing $\widehat{W}^{DR}(g)$ simultaneously over $\mathcal{G}$. We obtain the DTR estimator $\hat{g}^{DR}\equiv (\hat{g}_{1}^{DR},\ldots,\hat{g}_{T}^{DR})$ as the solution \begin{align*} \hat{g}^{DR} \in \arg\max_{g \in \prod} \widehat{W}^{DR}(g). \end{align*} In what follows, we show the statistical property of this approach. Let $\hat{\mu}_{t}^{(n)}(\cdot,\cdot)$ and $\hat{e}_{t}^{(n)}(\cdot,\cdot)$ denote estimators of the nuisance functions $\mu_t(\cdot,\cdot)$ and $e_{t}(\cdot,\cdot)$, respectively, using size $n$ sample randomly drawn from the underlying population. We suppose that the following assumption holds. \begin{assumption} (i) There exists $\tau >0$ such that the estimators $\left\{\hat{\mu}_{t}^{(n)}(\underline{d}_{t},\underline{x}_{t}):t=1,\ldots,T\right\}$ and $\left\{\hat{e}_{t}^{(n)}(d_{t},h_{t}):t=1,\ldots,T\right\}$ satisfy \begin{align*} \sup_{\underline{d}_{t} \in \{0,1\}^t} &E_{P^n}\left[\left(\hat{\mu}_{t}^{(n)}(\underline{d}_{t},\underline{x}_{t}) - \mu_{t}(\underline{d}_{t},\underline{x}_{t})\right)^{2}\right] \\ &\times E_{P^n}\left[\left(\frac{1}{\prod_{s=1}^{t}\hat{e}_{s}^{(n)}(d_{s},H_{is})} - \frac{1}{\prod_{s=1}^{t}e_{s}(d_{s},H_{is})} \right)^{2}\right] = \frac{o(1)}{n^{\tau}} \end{align*} for all $t=1,\ldots,T$.\\ (ii) There exists $n_0 \in \mathbb{N}$ such that for any $n \geq n_0$, $\hat{\mu}_{t}^{(n)}(\underbar{D}_{t}, \underbar{X}_{t}) < \infty$ and $\hat{e}_{t}^{(n)}(D_{t}, H_{t}) > 0$ hold a.s. for any $t$. \end{assumption} As we will see later, the optimal $1/\sqrt{n}$ rate of convergence for the welfare regret of $\hat{g}^{DR}$ can be achieved when Assumption (ref) holds with $\tau=1$. This is not a strong or restrictive condition. For example, Assumption (ref) is satisfied when \begin{align*} &\sup_{\underline{d}_{t} \in \{0,1\}^t}E_{P^n}\left[\left(\hat{\mu}_{t}^{(n)}(\underline{d}_{t},\underline{X}_{it}) - \mu_{t}(\underline{d}_{t},\underline{X}_{it})\right)^{2}\right] = \frac{o(1)}{\sqrt{n}} \mbox{ and } \\ &\sup_{\underline{d}_{t} \in \{0,1\}^{t}}E_{P^n}\left[\left(\frac{1}{\prod_{s=1}^{t}\hat{e}_{s}^{(n)}(d_{s},H_{is})} - \frac{1}{\prod_{s=1}^{t}e_{s}(d_{s},H_{is})} \right)^{2}\right] = \frac{o(1)}{\sqrt{n}} \end{align*} hold for all $t=1,\ldots,T$. These conditions on the convergence rate of the mean squared errors can be satisfied even with nonparametric estimators with relatively mild conditions (see, e.g., chernozhukov_et_al_2018). Note also that Assumption (ref) encompasses double-robustness of the estimation of the nuisance components. The following theorem shows the convergence rate of the welfare regret of the doubly robust estimation of the optimal DTR. \begin{theorem} Suppose that Assumptions (ref)--(ref), (ref), and (ref) hold with the redefinitions $H_t \equiv (\underline{D}_{t-1},\underline{X}_{t})$ and $H_t(\underline{d}_{t-1}) \equiv (\underline{d}_{t-1},\underline{X}_{t}(\underline{d}_{t-1}))$. Then \begin{align} W_{\mathcal{G}}^{\ast} - W(\hat{g}^{DR}) = O_{p}(n^{-\min\{1/2,\tau/2\}}). \end{align} \end{theorem} \begin{proof} See Appendix (ref). \end{proof} When Assumption (ref) holds with $\tau = 1$, the doubly robust estimator $\hat{g}^{DR}$ achieves the minimax optimal convergence rate $1/\sqrt{n}$ of welfare regret. This result is comparable with those of \citeApp{Athey_Wager_2020} and \citeApp{Zhou_et_al_2023} who study doubly robust policy learning in static settings.

Simulation Study

We conduct a simulation study to examine the finite sample performance of the proposed methods. We compare the performance of backward DEWM, simultaneous DEWM, and Q-learning.

We consider DGPs that consist of two stages of treatment assignment ($D_{1},D_{2}$), associated potential outcomes $\left(Y_{1}\left(d_{1}\right),Y_{2}\left(d_{1},d_{2}\right)\right)_{\left\{ d_{1},d_{2}\right\} \in\left\{ 0,1\right\} ^{2}}$, and a covariate $X_{1}$ observed at the first stage. The potential outcomes are generated as

align*[align* omitted — 310 chars of source]

for $(d_{1},d_{2}) \in \{0,1\}^{2}$. We consider three DGPs labeled DGPs 1-3. In all the DGPs, $X_{1}$, $U_{1}$, and $U_{2}$ are independently drawn from $N\left(0,1\right)$; $D_{1}$ and $D_{2}$ are independently drawn from $Ber\left(1/2\right)$; and $\left(\phi_{01},\phi_{11},\psi_{01},\psi_{11}\right)=\left(0.5,-1.0,1.0,1.5\right)$ and $\left(\phi_{02},\phi_{12},\psi_{02},\psi_{12}\right)=\left(0.5,0.5,0.5,0.5\right)$. Regarding the other parameters, we set $\left(\psi_{22},\psi_{32},\psi_{42}\right)=\left(0,0,0\right)$ in DGP1, $\left(\psi_{22},\psi_{32},\psi_{42}\right)=\left(1,0,0\right)$ in DGP2, and $\left(\psi_{22},\psi_{32},\psi_{42}\right)=\left(0.3,0.3,-0.4\right)$ in DGP3. We set the target welfare to maximize as $W(g_1,g_2)=E_{P}\left[Y_{2}(g_{1},g_{2})\right]$. The treatment effect of $D_{2}$ does not depend on the past outcome in DGP1, but it does in DGPs 2 and 3.

For the backward and simultaneous DEWM methods, we use a class of DTRs $\mathcal{G}=\mathcal{G}_{1}\times\mathcal{G}_{2}$ that consists of the following classes of linear treatment rules:

align*[align* omitted — 420 chars of source]

$\mathcal{G}_{2}$ contains the first-best rule under DGPs 1 and 2 but not under DGP3. Thus, the backward DEWM method can consistently estimate the optimal DTR under DGPs 1 and 2 but cannot under DGP3. We solve the optimization problems for each DEWM method through MILPs as discussed in Remark (ref).

For Q-learning, we assume that the conditional outcomes are specified as

align*[align* omitted — 360 chars of source]

where $\boldsymbol{\alpha}_{t}^{\prime}=\left(\alpha_{0t},\alpha_{1t}\right)^{\prime}$ for each $t=1,2$, $\boldsymbol{\gamma}_{1}^{\prime}=\left(\gamma_{01},\gamma_{11}\right)^{\prime}$, and $\boldsymbol{\gamma}_{2}^{\prime}=\left(\gamma_{02},\gamma_{12},\gamma_{22}\right)^{\prime}$. This specification is correct under DGPs 1 and 2 but is not under DGP3.

Table (ref) presents the results of 500 simulations with sample sizes $n=$ 200, 500, and 800. The table shows the mean and median welfare achieved by each estimated DTR calculated with 3,000 observations randomly drawn from the same DGP. The results show that Q-learning performs better than the backward and simultaneous DEWM methods in DGPs 1 and 2 in terms of the population mean welfare. However, both the backward and simultaneous DEWM methods exhibit superior performance to Q-learning in DGP3, where the outcome model used by Q-learning is misspecified. In DGPs 1 and 2, the backward and simultaneous DEWM methods demonstrate similar welfare performance. However, in DGP3, the simultaneous DEWM method achieves higher welfare than the backward DEWM method. Table (ref) also presents the average CPU time to calculate DTR per simulation iteration.\footnote{We use Julia version 1.8.1 with Gurobi Optimizer version 9.5.2. The hardware is 12th Gen Intel(R) Core(TM) i7-12700 2.10 GHz.} The simultaneous DEWM takes the longest time but remains feasible at these scales of simulation. Appendix (ref) provides additional simulation results for DGPs where $D_1$ and $D_2$ are not independent of $U_1$ and $U_2$ (i.e., the sequential independence assumption (Assumption (ref)) does not hold).

table[table omitted — 2,203 chars of source]
commentWe next study the simultaneous DEWM method with a budget constraint. We suppose that the data is generated by DGP3 and consider estimating the optimal DTR that maximizes $W(g_{1},g_{2})=E_{P}[Y_{2}(D_{1},D_{2}) \mid D_{1}=g_{1}(H_{1}), D_{2}=g_{2}(H_{2})]$ subject to the following budget constraint: \begin{align*} E_{P}[g_{1}(H_{1})] + E_{P}[g_{2}(H_{2}) \mid D_{1} = g_{1}(H_{1})] \leq 1. \end{align*} We set $\delta=0.1$ and use three tuning parameter values $\alpha_n = c \sqrt{\log(6/\delta)/(2n)}$ with $c=0,1,2$. Table (ref) reports for the simultaneous DEWM method when the budget constraint is imposed. The results show that as $\alpha_{n}$ becomes smaller, the achieved welfare and budget excess become smaller on average. The probability that the estimated DTR satisfies the population budget constraint also becomes larger and closer to $0.9$ as $\alpha_{n}$ becomes smaller. \begin{table}[hhh] \caption{Monte Carlo Simulation Results with Budget Constraint} \scalebox{0.9}{ \begin{tabular}{cccccccccc} \hline & & & Welfare & & & & \multicolumn{2}{c}{Budget Excess} & & \cline{3-5} \cline{7-10}\\ $n=$ & $c=$ & Mean & Median & SD & & Mean & Median & SD & Coverage Prob \\ \hline 200 & 0 & 1.639 & 1.620& 0.139 & & -0.141 & -0.138 & 0.048 & 0.82 \\ 200 & 1 & 1.692 & 1.672& 0.166 & & -0.047 & -0.043 & 0.058 & 0.75\\ 200 & 2 & 1.738 & 1.715& 0.186 & & 0.028 & 0.030 & 0.069 & 0.65 \\ \hdashline 500 & 0 & 1.589 & 1.613& 0.217 & & -0.154 & -0.152 & 0.042& 0.85 \\ 500 & 1 & 1.599 & 1.622& 0.172 & & -0.098 & -0.101 & 0.049 & 0.82 \\ 500 & 2 & 1.597 & 1.636& 0.168 & & -0.073 & -0.070 & 0.058 & 0.76 \\ \hdashline 800 & 0 & 1.557& 1.553& 0.181&&-0.228& -0.229& 0.240& 0.87 \\ 800 & 1 & 1.572& 1.527& 0.156&& -0.193& -0.196& 0.247& 0.79 \\ 800 & 2 & 1.576& 1.568& 0.164&& -0.166& -0.164& 0.258& 0.67 \\ \hline \end{tabular} } \begin{tablenotes} Note: Budget Excess represents the difference between the implementation cost of the estimated DTR and the actual budget (i.e., $E_{P}[\hat{g}_{1}^{S}(H_{1})] + E_{P}[\hat{g}_{2}^{S}(H_{2}) \mid D_{2} = \hat{g}_{1}^{S}(H_1)] - 1$). A positive Budget Excess means that the implementation cost exceeds the budget. Mean and Median represent the population mean and median of the welfares and budget excesses of the estimated DTRs across the simulations; SD is the standard deviation of the population mean welfares and budget excesses across the simulations. Coverage Prob indicates the probability that the budget constraint is satisfied by the estimated DTR across the simulations. Population values are calculated using 1,000 observations randomly drawn from DGP3. \end{tablenotes} \end{table}

Empirical Application

We apply the proposed methods to data from Project STAR krueger_1999, Gerber_et_al_2001, Schanzenbach_2006, Chetty_et_al_2011. In this experimental project, out of 1,346 kindergarten students not belonging to small classes, 672 students were randomly allocated to regular-size classes with a full-time teacher aide, and the others were allocated to regular-size classes without a teacher aide. Upon their progression to grade 1, the enrolled students were randomly shuffled into regular class-size classes with or without a teacher aide and remained in the allocated classes until the end of grade 3.

We study optimal allocation of students to two types of classes (regular-size classes with or without a teacher aide) in grades $K$ and $1$, based on their socioeconomic information and intermediate academic performance.\footnote{We focus on allocating students to regular-size classes with a teacher aide, rather than small-size classes, because the allocation of students to regular-size classes with or without a teacher aide in the experiment matches the sequential randomization design; however, the allocation to small-size classes in the experiment does not.} We aim to maximize the population average of scores from mathematics test that students took at the end of grade 1.\footnote{We focus on the test score at the end of grade 1 rather than at the end of grade 3 because we found attending a class with a teacher aide in kindergarten has little effect on the test score at the end of grade 3 even when treatment effect heterogeneity is considered.} We set the first and second stages ($t=1$ and $2$) to grades $K$ and $1$, respectively. The treatment variable $D_{t}$, for $t=1,2$, takes the value one if the student is assigned to a class with a teacher aide at stage $t$ and zero otherwise. The potential intermediate outcome $Y_{1}(d_1)$ and final outcome $Y_{2}(d_1,d_1)$ represent the mathematics test scores at the end of grades K and 1 for treatments $d_1$ and $d_2$.

Because it is plausible that assignment to a class with a teacher aide outperforms assignment to a class without one, we consider the cost of having a teacher aide. We consider a fictitious cost for teacher aide. This cost for each grade is set as $c \equiv E[Y_2(1,1) - Y_2(0,0) ]/2$, half of the expected welfare gain of assigning every student to teacher-aide classes in both grades. We use the estimate of $E[Y_2(1,1) - Y_2(0,0) ]/2$, which is $13.57$, for the cost $c$. Letting $Y_{2}^{c}(d_1,d_2) := Y_2(d_1,d_2) - c(d_1 + d_2)$ represent the individual welfare contribution, we aim to maximize welfare defined as $$W(g_1,g_2) = E\left[ \sum_{(d_1,d_2) \in \{0,1\}^2} Y_{2}^{c}(d_1,d_2)\cdot 1\left\{g_1(H_1)=d_1,g_2(H_2(d_1))=d_2\right\}\right],$$ which represents the average of the total test score at the end of grade 1 with subtraction of the cost. Note that in this setting, uniformly assigning every student to a class with a teacher aide in both grades results in zero welfare gain.

The socioeconomic information we use for treatment choice are the qualification for free or reduced-price school lunches and school location (rural or non-rural).\footnote{While we have access to student information such as sex and race, using such information in treatment choice is discriminatory and prohibited.} A binary variable $X_{Lunch,t}$ takes $1$ if the student is eligible for free or reduced-price school lunch at stage $t$ and $0$ otherwise. A binary variable $X_{Rural,t}$ takes $1$ if the student attends a school located in a rural area at stage $t$ and $0$ otherwise.

We employ a set of class-allocation policies represented by treatment rules $\mathcal{G}=\mathcal{G}_{1}\times\mathcal{G}_{2}$, where $\mathcal{G}_{1}$ and $\mathcal{G}_{2}$ constitute a class of linear treatment rules:\footnote{It is testable whether $\mathcal{G}_2$ contains the first-best rule or not. For example, we can estimate the first-best rule for the second stage as $\hat{g}_{2}^{\ast,FB}(h_{2}) = 1\{\hat{\tau}_{2}(h_2) \geq 2\}$ with $\hat{\tau}_{2}(h_2)$ being a (nonparametric) estimator of the conditional average treatment effect $\tau_{2}(h_2) = E[Y_{2}(D_1,1) - Y_2(D_1,0) | H_2 = h_2]$. We can then check whether $\mathcal{G}_2$ contains the first-best rule by examining if the optimal policy in $\mathcal{G}_2$ achieves the same expected outcome value as $\hat{g}_{2}^{\ast,FB}(h_{2})$.}

align*[align* omitted — 462 chars of source]

In the formulations of $\mathcal{G}_{1}$ and $\mathcal{G}_{2}$, the coefficients of $x_{Lunch,1}$ and $x_{Lunch,2}$ are constrained to be non-negative. This ensures that students eligible for free or reduced-price school lunches are not less likely to be allocated to a class with a teacher aide, given that the other information is fixed. The interaction terms $\left(1-d_{1}\right)y_{1}$ and $d_{1}y_{1}$ in $\mathcal{G}_{2}$ enable the eligibility score to evaluate the intermediate outcome differently based on class allocation at kindergarten. We solve the optimization problems for the backward and simultaneous DEWM through MILPs as discussed in Remark (ref).

For a DTR $g\in\mathcal{G}$, we define the welfare gain of $g$ as $W\left(g\right)-E[Y_{2}^{c}(0,0)]$, the welfare increase achieved by allocating students according to the DTR $g$ rather than allocating every student to regular classes without teacher aides at all stages.\footnote{Two factors enhance the students' academic achievement in classroom allocation: optimal matching between each student and classroom type (with or without a teacher aide) and peer effects among students. The optimal DTR considered here exploits the former but not the latter, as it does not utilize peer effects among students to determine classroom allocation.} Applying the backward and simultaneous DEWM methods, we estimate the optimal DTR over $\mathcal{G}$ and its welfare gain as well as the treatment ratio at each stage. To avoid overfitting biases, we adopt two-fold random sample splitting with a fixed seed: one third of the sample is used as the training set to estimate the optimal DTRs, and the remaining is used as the test set to estimate the welfare gains and treatment ratios.

The DTR estimated by the backward DEWM method is $\hat{g}^{B}=\left(\hat{g}_{1}^{B},\hat{g}_{2}^{B}\right)$ where $\hat{g}_{1}^{B}(h_{1})= 1$ and $\hat{g}_{2}^{B}(h_{2})= 1\left\{-0.104\left(1-d_{1}\right)y_{1}+0.382d_{1}y_{1}\geq - 0.449\right\}$. The DTR estimated by the simultaneous DEWM method is $\hat{g}^{S}=\left(\hat{g}_{1}^{S},\hat{g}_{2}^{S}\right)$ where $\hat{g}_{1}^{S}(h_{1}) = 1\left\{x_{Rural,1}= 1\right\}$ and $\hat{g}_{2}^{S}(h_{2}) = 1\left\{ 0.985x_{Rural,2} + 0.148d_{1}y_{1}\geq 0\right\}$. $\hat{g}_{1}^B$ assigns every student to a class with a teacher aide in grade K, while $\hat{g}_{1}^S$ assigns only students in rural areas to classes with teacher aides in grade K. Under both treatment rules $\hat{g}_{2}^{B}$ and $\hat{g}_{2}^{S}$ for grade 1, a student who attends a class with a teacher aide and attains a high test score in grade K is more likely to be assigned to a class with a teacher aide in grade 1.

Table (ref) reports the estimated welfare gains and shares of the population to be treated at each stage for the estimated DTRs $\hat{g}^{B}$ and $\hat{g}^{S}$ and three uniform DTRs $\left(g_{1},g_{2}\right)=\left(1,0\right),\left(0,1\right),\left(1,1\right)$. \footnote{With some abuse of notation, we denote by $(g_1,g_2)=(d_1,d_2)$ the uniform DTR that allocates every student to class types $d_1$ and $d_2$ in stages 1 and 2, respectively.} For example, the DTR $\left(g_{1},g_{2}\right)=\left(1,0\right)$ assigns every student to a class with a teacher aide in kindergarten but assigns none in grade 1. The results indicate that both the backward and simultaneous DEWM methods lead to higher welfare gains than all the uniform DTRs.

table[table omitted — 1,090 chars of source]

Next, we consider the decision problem of when each student should begin attending a class with a teacher aide. To this aim, we impose a constraint $g_{2}\left(h_{2}\right)\geq d_{1}$ for all $h_{2}\in\mathcal{H}_{2}$ on $\mathcal{G}_2$. Under this constraint, the DTR estimated by the backward DEWM method is $\hat{g}^{B}=\left(\hat{g}_{1}^{B},\hat{g}_{2}^{B}\right)$ with $\hat{g}_{1}^{B}(h_{1}) = 0$ and $\hat{g}_{2}^{B}(h_{2}) = 1\left\{ -0.104\left(1-d_{1}\right)y_{1} + 0.382 d_{1}y_{1}\geq -0.449\right\}$; the DTR estimated by the simultaneous DEWM method is $\hat{g}^{S}=\left(\hat{g}_{1}^{S},\hat{g}_{2}^{S}\right)$ with $\hat{g}_{1}^{S}(h_{1}) = 1\left\{ x_{Rural,1}= 1\right\}$ and $\hat{g}_{2}^{S}(h_{2}) = 1$.

Table (ref) reports the estimated welfare gains and shares of population to be treated by $\hat{g}^{B}$ and $\hat{g}^{S}$ and two uniform DTRs $(g_{1},g_{2})=(0,1),(1,1)$, which satisfy the monotonicity constraint. Both the Simultaneous and backward DEWM methods lead to higher welfare gains than the uniform DTRs. The simultaneous DEWM method leads to a slightly higher welfare gain than the backward DEWM method.

table[table omitted — 1,139 chars of source]

Conclusion

This study proposes empirical methods to estimate the optimal DTR over a pre-specified class of feasible DTRs based on the EWM approach. We proposed two estimation methods, the backward DEWM and simultaneous DEWM methods, which estimate the optimal DTR through backward induction and simultaneous maximization, respectively. The former is computationally efficient, but it may not consistently estimate the optimal DTR when the class of feasible DTRs does not include the first-best rule at all stages except for the first stage. Conversely, the latter method can consistently estimate the optimal DTR irrespective of the feasibility of the first-best rule, though it is computationally less efficient. These methods can accommodate exogenous constraints on the class of DTRs and specify different types of dynamic treatment choice problems. We show that each method can achieve the optimal $n^{-1/2}$ rate of convergence of the regret in the experimental data setting. We also modified the simultaneous DEWM to accommodate intertemporal budget/capacity constraints.