Sign up ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

I have two sequences of x and y values x[1]...x[n] y[1]...y[n]. I know that for some k and j, y[t]=mX[t]+b when k<t<j (m and b are unknown). That is, y is linearly dependent on x for some subsequence. My goal is to find the subsequence that is most likely to have that linear relation. Obviously, finding a subsequence of length 2 is meaningless.

I was thinking about using a t-test, but I'm far from an expert. What would you do?

share|cite|improve this question

1 Answer 1

If your values are exact, and you have reasonable bounds on this sizes of m and b, you can view this as a Minimum Description Length problem. If your values are inexact, then you can still use MDL, you just need to differentiate between 'numerical error' and 'approximation error', which can be very tricky for problems with bad conditioning. Basically you have a model class (linear models) and you want to find the largest subsequence where the model plus 2 extra pieces of information (m and b) allow you to maximally compress the (x[i],y[i]) pairs (since you no longer need to 'store' the y[i] component).

For details on MDL, I highly recommend Peter Grünwald's text The Minimum Description Length Principle. You can recast this in (mostly) Bayesian terms if you wish. The Wikipedia page on the topic is also quite good.

The biggest problem is that there are few efficient algorithms in this domain. But, at least in theory, this s 'the' solution you are seeking.

share|cite|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.