General Linear Regression
| 8-118
|
Ian E. Bush, Medical College of Virginia, Richmond,
Virginia
The major section of this program is the "Main Arithmetic
IX" which consists of four initializing statements; an input
section; a weighting section; a section which cumulates
means, sums of squares, etc.; a section which calculates
the relevant regression coefficients, etc.; and a sections
which calculates confidence limits as variances.
The section which calculates the relevant regression co-
efficients allows for both cases of linear regression, and in
the computation of standard error of the intercept, uses
(N-2) degrees of freedom to provide a better estimate for
small values of N while providing negligible differences
from conventional calculation when N is larger.
The section which calculates confidence limits as variances
provides a calculation of the variance of the error of the
estimate of the dependent variable again using (N-2) degrees
of freedom for the general case. This calculation is fully
corrected for both random variance within the tested pop-
ulation of data and for the difference between the inde-
pendent variable and the mean of the independent variable
for the population of data.