Dec-20-2020, 11:45 PM
Hey! I am not sure that I understand your question completely. Anyway, you might want to look into the Statsmodels package. Maybe a linear mixed-effects model can be used: https://www.statsmodels.org/stable/mixed_linear.html.