How to code and run a regression on mean or median of calculated variables to predict what accounts for differences between pre and post measurements. The dependent variable is the difference between pre and post values which is continuous, and the covariates are mixed. I will appreciate a sample code, thanks.
Epiguy