Google
 

Trailing-Edge - PDP-10 Archives - decus_20tap2_198111 - decus/20-0026/polrg.doc
There are 2 other files named polrg.doc in the archive. Click here to see a list.
SAMPLE MAIN PROGRAM FOR POLYNOMIAL REGRESSION - POLRG

PURPOSE
   (1) READ THE PROBLEM PARAMETER CARD FOR A POLYNOMIAL REGRES-
   SION, (2) CALL SUBROUTINES TO PERFORM THE ANALYSIS, (3)
   PRINT THE REGRESSION COEFFICIENTS AND ANALYSIS OF VARIANCE
   TABLE FOR POLYNOMIALS OF SUCCESSIVELY INCREASING DEGREES,
   AND (4) OPTIONALLY PRINT THE TABLE OF RESIDUALS AND A PLOT
   OF Y VALUES AND Y ESTIMATES.

REMARKS
   THE NUMBER OF OBSERVATIONS, N, MUST BE GREATER THAN M+1,
   WHERE M IS THE HIGHEST DEGREE POLYNOMIAL SPECIFIED.
   IF THERE IS NO REDUCTION IN THE RESIDUAL SUM OF SQUARES
   BETWEEN TWO SUCCESSIVE DEGREES OF THE POLYNOMIALS, THE
   PROGRAM TERMINATES THE PROBLEM BEFORE COMPLETING THE ANALY-
   SIS FOR THE HIGHEST DEGREE POLYNOMIAL SPECIFIED.

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   GDATA
   ORDER
   MINV
   MULTR
   PLOT  (A SPECIAL PLOT SUBROUTINE PROVIDED FOR THE SAMPLE
	 PROGRAM.)

METHOD
   REFER TO B. OSTLE, 'STATISTICS IN RESEARCH', THE IOWA STATE
   COLLEGE PRESS', 1954, CHAPTER 6.