I would like to compare a control group against a test group using something like ANCOVA. However, the covariates are not simple, as some items may have already been increasing with time, others decreasing, all in a non-linear fashion. How would I do a similar analysis with a nonlinear model?
I found a relevant answer here (Repeated measure t test with covariates in R) but it doesn't include cases where the covariates have a nonlinear relationship. I'd like to think I could just do a nonlinear predictive model and then do ANOVA on the residuals. I feel like as long as it follows the assumptions of ANOVA are satisfied I should be okay (ANOVA assumption normality/normal distribution of residuals). Any suggestions?
Thanks!