Writes the regression data to a file.
Writes the regression data to a file.
Each datapoint is written to the file on its own line, with the x and y values separated by a space. The third column contains the fitted values
The name of the file to write.
Class that perfoms ordinary least squares regression