How can I test a group of variables in SPSS regression?

How can I test a group of variables in SPSS regression?

SPSS regression analysis allows researchers to test the relationship between a dependent variable and multiple independent variables. To test a group of variables in SPSS regression, the researcher must first define the dependent variable and select the independent variables they wish to include in the analysis. They can then run the regression analysis, which will provide statistical measures such as the regression coefficient, p-value, and R-squared to assess the strength and significance of the relationship between the variables. The researcher can also use diagnostic tools, such as multicollinearity tests, to ensure that the independent variables are not highly correlated. Overall, SPSS regression provides a comprehensive and efficient way to test a group of variables and understand their impact on the dependent variable.

How can I test a group of variables in SPSS regression?  | SPSS FAQ

Suppose that you want to run a regression model and to test the statistical
significance of a group of variables.  For example, let’s say that you want
to predict students’ writing score from their reading, math and science
scores.  The data set with these variables in it can be downloaded by
following this link:
hsb2.sav
.

The SPSS syntax for this would be:

regression
 /dependent = write
 /method = enter read math science.
Variables Entered/Removed(b)
ModelVariables EnteredVariables RemovedMethod
1science score, reading score, math score(a).Enter
a All requested variables entered.
b Dependent Variable: writing score
Model Summary
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
1.684(a).467.4596.97111
a Predictors: (Constant), science score, reading score, math score
ANOVA(b)
ModelSum of SquaresdfMean SquareFSig.
1Regression8353.99032784.66357.302.000(a)
Residual9524.88519648.596

Total17878.875199


a Predictors: (Constant), science score, reading score, math score
b Dependent Variable: writing score

Coefficients(a)

Unstandardized CoefficientsStandardized CoefficientstSig.
ModelBStd. ErrorBeta
1(Constant)13.1923.069
4.299.000
reading score.236.069.2553.410.001
math score.319.076.3164.222.000
science score.202.069.2112.918.004
a Dependent Variable: writing score

Now let’s suppose that you wanted to test the combined effect of math and
science on writing.  The SPSS syntax for doing that is below.  Note that the variables listed in the
method = test()
subcommand are not listed on the method = enter subcommand.  In other
words, the independent variables are listed only once.  Also note that,
unlike other SPSS subcommands, you can have multiple method =
subcommands within the regression command.

regression
 /dependent = write
 /method = enter read
 /method = test(math science).
Variables Entered/Removed(b)
ModelVariables EnteredVariables RemovedMethod
1reading score(a).Enter
2science score, math score.Test
a All requested variables entered.
b Dependent Variable: writing score
Model Summary
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
1.597(a).356.3537.62487
2.684(b).467.4596.97111
a Predictors: (Constant), reading score
b Predictors: (Constant), reading score, science score, math score
ANOVA(d)
ModelSum of SquaresdfMean SquareFSig.R Square Change
1Regression6367.42116367.421109.521.000(a)
Residual11511.45419858.139


Total17878.875199



2Subset Testsmath score, science score1986.5692993.28420.439.000(b).111
Regression8353.99032784.66357.302.000(c)
Residual9524.88519648.596


Total17878.875199



a Predictors: (Constant), reading score
b Tested against the full model.
c Predictors in the Full Model: (Constant), reading score, science score, math score.
d Dependent Variable: writing score

Coefficients(a)

Unstandardized CoefficientsStandardized CoefficientstSig.
ModelBStd. ErrorBeta
1(Constant)23.9592.806
8.539.000
reading score.552.053.59710.465.000
2(Constant)13.1923.069
4.299.000
reading score.236.069.2553.410.001
math score.319.076.3164.222.000
science score.202.069.2112.918.004
a Dependent Variable: writing score

Excluded Variables(b)

Beta IntSig.Partial CorrelationCollinearity Statistics
ModelTolerance
1math score.396(a)5.583.000.370.561
science score.322(a)4.609.000.312.603
a Predictors in the Model: (Constant), reading score
b Dependent Variable: writing score

If you wanted to test all three variables together, the syntax would be:

regression
 /dependent = write
 /method = test(read math science).
Variables Entered/Removed(a)
ModelVariables EnteredVariables RemovedMethod
1science score, reading score, math score.Test
a Dependent Variable: writing score
Model Summary
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
1.684(a).467.4596.97111
a Predictors: (Constant), science score, reading score, math score
ANOVA(c)
ModelSum of SquaresdfMean SquareFSig.R Square Change
1Subset Testsreading score, math score, science score8353.99032784.66357.302.000(a).467
Regression8353.99032784.66357.302.000(b)
Residual9524.88519648.596


Total17878.875199



a Tested against the full model.
b Predictors in the Full Model: (Constant), science score, reading score, math score.
c Dependent Variable: writing score

Coefficients(a)

Unstandardized CoefficientsStandardized CoefficientstSig.
ModelBStd. ErrorBeta
1(Constant)13.1923.069
4.299.000
reading score.236.069.2553.410.001
math score.319.076.3164.222.000
science score.202.069.2112.918.004
a Dependent Variable: writing score



You will notice that the output from the first example with the three
independent variables on the method = enter subcommand and the output
from this example with the three independent variables on the method =
test()
subcommand are virtually identical.  The only difference between
them is the line in the ANOVA table that gives the test of the subset, which in
this case is all of the variables.  The point of this example is that you
can put all of the independent variables in the regression on the method =
test()
subcommand and not use a method = enter subcommand if you like.

 

Cite this article

stats writer (2024). How can I test a group of variables in SPSS regression?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-test-a-group-of-variables-in-spss-regression/

stats writer. "How can I test a group of variables in SPSS regression?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-test-a-group-of-variables-in-spss-regression/.

stats writer. "How can I test a group of variables in SPSS regression?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-test-a-group-of-variables-in-spss-regression/.

stats writer (2024) 'How can I test a group of variables in SPSS regression?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-test-a-group-of-variables-in-spss-regression/.

[1] stats writer, "How can I test a group of variables in SPSS regression?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I test a group of variables in SPSS regression?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top