Solved – How to combine data from multiple time points into one multiple linear regression

multiple regressionregression

I'm measuring the garbage output of various cities in my country. I have 5 independent variables as predictors measured at 4 time points.

I'm not interested in the effects of time. I just want to know the regression coefficients for each of my variables. To find that out, I could do 4 separate multiple regressions, one for each time point. But that wouldn't summarize the data well, since I would have 4 sets of results. So my question is, is there a way to enter the data for all four time points and get one set of regression coefficients?

Best Answer

Are the time points relevant (like time of day) or are they just multiple samples? If they are just multiple samples, you might just take the mean over time points, then run a single regression. You should not run 4 separate regressions (what would that tell you, anyway?). If the time points are relevant (I mean, they carry information, regardless of if they're relevant to you), enter it as another predictor, such that you have y ~ x1 + x2 + ... + x_time