Retrospective data should be used to analyze a continuous Y (namely estimated glomerular filtration rate, eGFR) and the impact of infections on eGFR after kidney transplantation. It is plausible for early infections to decrease (long term) eGFR more than later occurring infections. It is also hypothesized that a higher number of infections also decreases eGFR.
In RMS 17.6.4 approaches to incorporate time (and/or severity) of an event in survival analysis are mentioned.
Are there similar approaches for continuous Y?
Would an analysis with time-varying variables be appropriate?
Should we model eGFR or its slope?
Any hints are appreciated!
Edit: added after kidney transplantation (and a typo…)