The important thing to notice is that GROUP is a dichotomous variable and DEPRES was a continuous variable. It will also be shown how regression is like analysis in this case. First the data an computations are shown.  Yet I will be presenting it as a single variable regression as was done in the previous section.

This example deals with only items # 1 and # 3 of the questionnaire. Those questions were "In the past week how often have you felt sad or depressed?" and Group identifies normal and clinical groups and are labeled as DEPRES and GROUP respectively. A discussion of the correlation between responses to these two items (items 1 and 3 on the questionnaire) follows.  Then the analysis of variance follows that.

A Numerical Example


We will now present this data in the same way as the more limited data was presented in chapter 2. So that all of the formulae are the same as those presented in chapter 2 you're not learning a new set. This is a more alive example and goes through the same process as in the previous chapter. The variable TENSE is labeled as the X variable (predictor or independent variable) and DEPRES as the Y variable (criterion or dependent variable). First the data will be presented and the SPSS syntax files to compute it will be given.
GROUP # 1
We are striving to understand the formula  
This is almost the the basic formula for the general linear model.
In the actual general linear model error is represented
Y' = a + bX + e.