# Can you determine a OLS regression line from just two data points?

Aug 24, 2016

yes $m = \frac{y}{x}$

#### Explanation:

Yes, its just the slope so
$y = m x + b$
$m = \frac{y - b}{x}$ and
$m = \frac{y}{x}$ if $b = 0$

so for any new $x$ you multiply by $m$ to get the output $y$