In: Statistics and Probability
How to read variables in SPSS and R for unstandardized and Standardized data
In the syntax below, the get file command is used to load the data into SPSS. In quotes, you need to specify where the data file is located on your computer. Remember that you need to use the .sav extension and that you need to end the command with a period. In the regression command, the statistics subcommand must come before the dependent subcommand. You can shorten dependent to dep. You list the independent variables after the equals sign on the method subcommand. The statistics subcommand is not needed to run the regression, but on it we can specify options that we would like to have included in the output. Here, we have specified ci, which is short for confidence intervals. These are very useful for interpreting the output, as we will see. There are four tables given in the output. SPSS has provided some superscripts (a, b, etc.) to assist you in understanding the output.
Please note that SPSS sometimes includes footnotes as part of the output. We have left those intact and have started ours with the next letter of the alphabet.
get file "c:\data\hsb2.sav". regression /statistics coeff outs r anova ci /dependent science /method = enter math female socst read.
c. Model – SPSS allows you to specify multiple models in a single regression command. This tells you the number of the model being reported.
d. Variables Entered – SPSS allows you to enter variables into a regression in blocks, and it allows stepwise regression. Hence, you need to know which variables were entered into the current regression. If you did not block your independent variables or use stepwise regression, this column should list all of the independent variables that you specified.
e. Variables Removed – This column listed the variables that were removed from the current regression. Usually, this column will be empty unless you did a stepwise regression.
f. Method – This column tells you the method that SPSS used to run the regression. “Enter” means that each independent variable was entered in usual fashion. If you did a stepwise regression, the entry in this column would tell you that
c. Model – SPSS allows you to specify multiple models in a single regression command. This tells you the number of the model being reported.
d. Variables Entered – SPSS allows you to enter variables into a regression in blocks, and it allows stepwise regression. Hence, you need to know which variables were entered into the current regression. If you did not block your independent variables or use stepwise regression, this column should list all of the independent variables that you specified.
e. Variables Removed – This column listed the variables that were removed from the current regression. Usually, this column will be empty unless you did a stepwise regression.
f. Method – This column tells you the method that SPSS used to run the regression. “Enter” means that each independent variable was entered in usual fashion. If you did a stepwise regression, the entry in this column would tell you that