Testing the regular single and two pramater models against one another.
Here we use the Judd 7-4 data set. We know that MODEL C = Third grade math = its mean, and MODEL A = Third grade math is dependent upon second grade math. The compact model estimates one parameter and the augmented model estimates two parameters, the intercept and slope of the regression equation.
Set the alpha level = .05
You have seen simple regression analysis done using Statlets several times by now. Simply copy the data set above into Statlets, and conduct a simple regression analysis.
Here is the output from the Summary tab. Of course, you should do this exercise using Statlets yourself. The output is identical.
Regression Analysis for THIRD versus SECOND ----------------------------------------------------------------------- Model type: Linear ----------------------------------------------------------------------- Equation: THIRD = -97.5558 + 2.16366*SECOND ----------------------------------------------------------------------- Coefficient Estimate Std. Error t-value P-value ----------------------------------------------------------------------- Intercept -97.5558 35.8947 -2.71784 0.0176 Slope 2.16366 0.439644 4.92139 3.0E-4 ----------------------------------------------------------------------- Correlation = 0.8067 R-squared = 65.07% Std. error of est. = 14.4909Below is the ANOVA tab output.
------------------------------------------------------------------------- Analysis of Variance ------------------------------------------------------------------------- Source Sum of Squares Df Mean Square F-Ratio P-Value ------------------------------------------------------------------------- Model 5085.9 1 5085.9 24.22 3.0E-4 Residual 2729.83 13 209.987 ------------------------------------------------------------------------- Lack-of-Fit 1918.33 9 213.148 1.05064 0.5221 Pure Error 811.5 4 202.875 ------------------------------------------------------------------------- Total (Corr.) 7815.73 14
The last section labeled Analysis of Variance, consists of the source table that provides sums of squares, degrees of freedom, and mean squares used for comparing the augmented two-parameter model with the compact single-parameter model. The row labeled Model gives the reduction in the sum of squared errors when we move from the compact to the augmented model. The row labeled Residual refers to the sum of squared errors remaining given the augmented two-parameter model. The Total row indicates the error in the compact model, if, and only if, the compact model is the mean model.
The Summary output lists the name of the dependent variable, the correlation coefficient and the squared correlation or PRE value. The standard error of estimate (14.49), was also called the standard error of prediction in Chapter 6.
The t-tests in the Summary output tests the null hypothesis that each of these parameters (the intercept or constant and the slope) equals zero. The first row provides an estimate of the constant or intercept value betao (-97.556) followed later by a t statistic that results when the null hypothesis is tested that betao = 0. As defined in Chapter 5 this t statistic is simply the square root of the F statistic that results if we compare this augmented two-parameter model with a compact single-degree-of-freedom one in which betao is forced to equal zero. Thus, we must square this value -2.718 to give us an F with 1 and 13 degrees of freedom that would result from the comparison of the two models illustrated in the figure below:
We are not told the PRE value that results from this comparison, but we can calculate it with the following formula:
Note for this case that F = (-2.718)2 and PRE = .362
This entire test is not very informative, since the intercept value of -97.558 equals the predicted value of the third grade math test when the value of the second grade math test is zero.
The next row of this middle section provides the beta1 or slope estimate (2.1637). This value indicates that as second grade math scores improve by one unit, that third grade math skills will improve by 2.16 units. Again, you are given a t statistic to see if this value differs from zero. If you square that value, you will note that it is the same as the F value found in the ANOVA table below it.
When we get to models with more than single predictor variables, the ANOVA table at the bottom will always test the full augmented model with all the estimated parameters against the single model with the mean. On the other hand, tests of significance in the Summary tab output will always result from comparing the full augmented model with a compact model in which only that particular parameter has been forced to equal zero.If you take a particular parameter value and divide it by its reported standard error, the t statistic results for testing whether this parameter is equal to zero. If you also multiply this standard error value by the critical value of the t statistic then you also get another expression for a parameter's confidence interval.
We could conclude from this analysis that there is a reliable positive relationship between third grade mathematics test performance and performance one year earlier. The resulting slope value is positive and reliably different than zero. The intercept is also different than zero, but this is virtually meaningless in this context.
As was shown in section 7.2 in Judd & McClelland, if we control for another predictor variable, we get a more powerful test. See pages 135-140 in your text.
Remember in Chapter 5 we tested the third grade math data to see if it reliably differed from a score of 65. See the data set on page 74. The PRE value we calculated was .25 with an associated F with 1,14 df = 4.64. We will now let Statlets do the calculation while controlling for second grade performance.
Recall that the intercept will equal the mean of Y (Y-bar) if the predictor variable is transformed so that its mean equals zero. In other words we need to transform the predictor into mean deviation form.
With Statlets testing a null hypothesis that the intercept equals a certain value can be accomplished by deviating the criterion variable from that value. In other words, we need to also deviate third grade math scores from 65.
Then our two models may be written:
The deviated scores for both variables are produced in the last two columns ofJudd 7-4e. If you were producing these errors yourself, you would need to subtract the mean of the second grade scores away from each second grade score, producing XDEV. You would also need to subtract the value of 65 away from each of the Third Grade scores producing THIRDDEV. This could easily be done in a spreadsheet application.
Choose the regression command and regress the deviated criterion score THIRDDEV on the deviated predictor score XDEV. The Input tab will look like the figure directly below.

Regression Analysis for THIRDDEV versus XDEV ----------------------------------------------------------------------- Model type: Linear ----------------------------------------------------------------------- Equation: THIRDDEV = 13.1333 + 2.16366*XDEV ----------------------------------------------------------------------- Coefficient Estimate Std. Error t-value P-value ----------------------------------------------------------------------- Intercept 13.1333 3.74154 3.51014 0.0038 Slope 2.16366 0.439644 4.92139 3.0E-4 ----------------------------------------------------------------------- Correlation = 0.8067 R-squared = 65.07% Std. error of est. = 14.4909Followed by the ANOVA tab output.
------------------------------------------------------------------------- Analysis of Variance ------------------------------------------------------------------------- Source Sum of Squares Df Mean Square F-Ratio P-Value ------------------------------------------------------------------------- Model 5085.9 1 5085.9 24.22 3.0E-4 Residual 2729.83 13 209.987 ------------------------------------------------------------------------- Lack-of-Fit 1918.33 9 213.148 1.05064 0.5221 Pure Error 811.5 4 202.875 ------------------------------------------------------------------------- Total (Corr.) 7815.73 14