@Test
public void regression() throws IOException {

  Table moneyball = Table.read().csv("../data/baseball.csv");
  moneyball.addColumns(
      moneyball.numberColumn("RS").subtract(moneyball.numberColumn("RA")).setName("RD"));
  LinearModel winsModel =
      OLS.fit(Formula.lhs("RD"), moneyball.select("W", "RD").smile().toDataFrame());
  assertNotNull(winsModel.toString());
}