Non-Markovian regime switching with endogenous states and time-varying state strengths | lit.salon