“…In a series of papers, we recently proposed the use of spline smoothing techniques for nonparametric inference within state‐switching models (Langrock, Michelot, Sohn, & Kneib, ; Langrock, Kneib, et al, ; Langrock, Kneib, Glennie, & Michelot, ; Adam, Mayr, & Kneib, ). The resulting classes of models combine two powerful tools, namely, the forward algorithm for efficient likelihood evaluation and penalized B‐splines (i.e., P‐splines; Eilers and Marx, ) for nonparametric inference, to allow for relatively straightforward and computationally tractable maximum penalized likelihood estimation within state‐switching models.…”