Running the Analysis

  1. To run a Variance Components analysis, from the menus choose:

    Analyze > General Linear Model > Variance Components...

    Figure 1. Variance Components main dialog box
    Variance Components main dialog box
  2. Select Amount spent as the dependent variable.
  3. Select Who shopping for and Use coupons as fixed factors.
  4. Select Store ID as a random factor.
  5. Click Model.
    Figure 2. Model dialog box
    Model dialog box
  6. Select Custom as the model type.
  7. Select shopfor and usecoup in the Factors and Covariates list.
  8. Select Main effects from the Build Term(s) drop-down list and select the main effects to the model.
  9. Select shopfor and usecoup in the Factors and Covariates list.
  10. Select Interaction from the Build Term(s) drop-down list and select the interaction term to the model.
  11. Select storeid in the Factors and Covariates list and select it to the model.
  12. Click Continue.
  13. Click Options in the Variance Components dialog box.
    Figure 3. Options dialog box
    Options dialog box
  14. In the Options dialog, select ANOVA as the method.
  15. Select Sums of squares and Expected mean squares in the Display group.
  16. Click Continue.
  17. Click OK in the Variance Components dialog box.

Next