In [1]:
from pylm import LM, sim_dat1
In [2]:
(y, X) = sim_dat1()
In [3]:
mod = LM(y, X)
mod
Out[3]:
In [4]:
mod.fit()
mod
Out[4]:
In [5]:
mod.plot()