Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

I am trying to generate a regression curve for a set of x-y values where a single x value can have multiple y values. Although in the end, only one y value should be the correct one and rest all should be categorized as outliers. Is least square linear regression the right way to do this? I was reading a paper which said I could apply linear regression here; but when I use an existing code library and input my data, it gives an error. How do I get the line for this data?

share|improve this question
It is a normal situation that doesn't make a difference to the analysis. The software shouldn't complain, except perhaps if you give it degenerate case like all $x$ values equal. –  Brendan McKay Oct 18 '12 at 11:44
This question really belongs here... stats.stackexchange.com/?as=1 –  Kjetil B Halvorsen Oct 18 '12 at 14:58
add comment

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.