I want to assess the effect of temperature on fish mortality. Both variables are time series, so the residual will be autocorrelated. Is there a regression method to deal with that?
Any advice will be appreciated
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.
Sign up to join this communityI want to assess the effect of temperature on fish mortality. Both variables are time series, so the residual will be autocorrelated. Is there a regression method to deal with that?
Any advice will be appreciated
You have to remove the auto-correlation from both variables calculating the auto-correlations from each variable at different lags Newx = x-Rho*x
Good luck
One approach is prewhitening. (I believe this is essentially the same suggestion @Tom is making, but it helps to have the jargon term to use in searches, and a link where you can read about it.)