Open ricardoV94 opened 1 year ago
- Easier to integrate covariates
Do you mean incorporate? This is very nit-picky for now, but integration of covariates within longitudinal (especially causal) has a very specific meaning (c.f. G-Formula or G-Computation).
My understanding is that the bigger goal for CLVs is to relax our model assumptions. In biostats, these purchase times can be referred as recurrent events or, when an outcome (e.g. purchase amounts) at these times are of primary interest, irregularly observed data or even covariate-driven/outcome-dependent/etc. observation times. I like Pullenayegum and Lim (2016)'s review paper and Ryu et al. (2007)'s paper, the latter is Bayesian.
Modelling of the outcome and timings can be done via joint modelling, i.e. having dependence between models parameters. All of this can also have sequential interventions, which can add causal layer to complicate things further (or make things more interesting).
This opens up sort of a rabbit hole in longitudinal modelling that I particularly enjoy, hence my bias.
ya incorporate!
I'm planning to work on https://github.com/pymc-labs/pymc-marketing/issues/134 soon. The methodology for adding time-invariant covariates is rooted in survival analysis:
https://www.brucehardie.com/notes/019/time_invariant_covariates.pdf
Could be more flexible: