SIMPLE REGRESSION PROBLEM Data, squares and crossproducts Obs. Y X Y^2 X^2 X*Y 1 240.00 1.00 57600.00 1.00 240.00 2 260.00 1.00 67600.00 1.00 260.00 3 320.00 2.00 102400.00 4.00 640.00 4 350.00 2.00 122500.00 4.00 700.00 5 420.00 3.00 176400.00 9.00 1260.00 6 480.00 4.00 230400.00 16.00 1920.00 -------------------------------------------------------------- 2070.00 13.00 756900.00 35.00 5020.00 b = (6*5020 - 13*2070)/(5*35 - 13*13) a = (2070 - b*13)/6 Fitted Line is thus Y = 175.366 + 78.293 X Correlation co-efficient = 0.990 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Analysis of Variance Problem Table below gives row and column sums and their squares and sums of these margins plus sum of squared table entries, as follows ------------------------------------------------------------------- | Row Sums | Row Sums | | Squared BODY OF | | TABLE | | | | | | | | ------------------------------------------------------------------ Column Sums | Table Sum | Sum of Row | | Sums Squared ------------------------------------------------------------------ Column Sums Squared | Sum of Column | Table Sum Squares | Sums Squared | ------------------------------------------------------------------ ------------------------------------------- 9.0 11.0 13.0 | 33.0 | 1089.0 15.0 18.0 16.0 | 49.0 | 2401.0 10.0 12.0 11.0 | 33.0 | 1089.0 ------------------------------------------- 34.0 41.0 40.0 | 115.0 | 4579.0 ------------------------------------------- 1156.0 1681.0 1600.0 | 4437.0 | 1541.0 ------------------------------------------- ANOVA -------------------------------------------------------- Source SS DF MS F -------------------------------------------------------- Rows 56.89 2 28.44 22.26 Columns 9.56 2 4.78 3.74 Error 5.11 4 1.28 -------------------------------------------------------- Total 71.56 8 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO