nag_simple_linear_regression (g02cac) Example Program Results

Regression constant a = 7.5982

Standard error of the regression constant a = 6.6858

Regression coefficient b = 7.0905

Standard error of the regression coefficient b = 1.3224

The regression coefficient of determination = 0.8273

The sum of squares of the residuals about the regression = 965.2454

Number of degrees of freedom about the regression = 6.0000