Function Linear-Regression-Verbose

Part of:

package cl-mathstats
( linear-regression-verbose < dv > < iv > )

Calculates almost every statistic of a linear regression: the slope and
intercept of the line, the standard error on each, the correlation coefficient,
the coefficient of determination, also known as r-square, and an ANOVA table as
described in the manual.

This function takes two equal-length sequences of raw data. Note that the
dependent variable, as always, comes first in the argument list. If you don't
need all this information, consider using the -brief,'' or -minimal''
functions, which do less computation.

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