Function Linear-Regression-Minimal

Part of:

package cl-mathstats
( linear-regression-minimal < dv > < iv > )
Calculates the slope and intercept of the regression line. This function takes two equal-length sequences of raw data. Note that the dependent variable, as always, comes first in the argument list. You should first look at your data with a scatter plot to see if a linear model is plausible. See the manual for a fuller explanation of linear regression statistics.