Left to Solve
Problems / MathOverflow (not formalized)

Confidence in linear regression results

Open, not yet stated in LeanMathOverflow (not formalized)Probabilitydifficulty55/100

Statement

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?

Posed by nadiv · st.statistics

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-16856.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-16856.lean

import Mathlib

/-!
# Confidence in linear regression results

Source: https://mathoverflow.net/questions/16856
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_16856

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_16856