Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a nonlinear least squares problem, but the errors are correlated. I could use R's nls function to do the regression if the errors were independent, but I don't know the right way to handle correlated errors. Is there a standard procedure for this? Is it implemented somewhere?

share|cite|improve this question
Do you know anything about the nature of the dependence? For example, is the correlation between two errors the same for every pair of errors? Or could it depend in some way on the predictors? Also, can you tell us anything about the nature of the nonlinearity? – Michael Hardy Aug 1 '12 at 19:09
@MichaelHardy I believe the errors are autocorrelated. – BenH Aug 1 '12 at 19:46
You should post this on the stats SE, I bet there's someone that could help there. – TheHopefulActuary Dec 3 '12 at 7:03
@MichaelHardy You can try GARCH or EGARCH – Occupy Gezi Mar 14 '13 at 16:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.