1: \begin{abstract}
2:
3: The paper considers a variable length Markov chain model associated with a group of stationary processes that share the same context tree but potentially different conditional probabilities. We propose a new model selection and estimation method, develop oracle inequalities and model selection properties for the estimator. These results also provide conditions under which the use of the group structure can lead to improvements in the overall estimation.
4:
5: Our work is also motivated by two methodological applications: discrete stochastic dynamic programming and dynamic discrete choice models. We analyze the uniform estimation of the value function for dynamic programming and the uniform estimation of average dynamic marginal effects for dynamic discrete choice models accounting for possible imperfect model selection.
6:
7: We also derive the typical behavior of our estimator when applied to polynomially $\beta$-mixing stochastic processes. For parametric models, we derive uniform rate of convergence for the estimation error of conditional probabilities and perfect model selection results. For chains of infinite order with complete connections, we obtain explicit uniform rates of convergence on the estimation of conditional probabilities, which have an explicit dependence on the processes' continuity rates.
8:
9: Finally, we investigate the empirical performance of the proposed method in simulations and we apply this approach to account for possible heterogeneity across different years in a linguistic application.
10:
11: \end{abstract}