Question

In: Statistics and Probability

How to read variables in SPSS and R for unstandardized and Standardized data

How to read variables in SPSS and R for unstandardized and Standardized data

Solutions

Expert Solution

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


Related Solutions

what does the operation "recode into different variables" do to data in spss
what does the operation "recode into different variables" do to data in spss
Which regression coefficients (unstandardized or standardized) do you compare to determine the most important predictor variable...
Which regression coefficients (unstandardized or standardized) do you compare to determine the most important predictor variable in the model? Comparing these regression coefficients, would you compare the regression coefficients of all of the predictor variables in the model or just the regression coefficients of the significant predictor variables? After comparing the regression coefficients, how do you know which of the predictor variables is most important?
Hello, I need assistance in explaining this output, Coefficientsa Model Unstandardized Coefficients Standardized Coefficients t Sig....
Hello, I need assistance in explaining this output, Coefficientsa Model Unstandardized Coefficients Standardized Coefficients t Sig. B Std. Error Beta 1 (Constant) 184.103 1.968 93.533 .000 TOTAL FRUITS CONSUMED PER DAY -.031 .011 -.076 -2.910 .004 TOTAL VEGETABLES CONSUMED PER DAY .001 .009 .003 .120 .904 a. Dependent Variable: REPORTED WEIGHT IN POUNDS
(1) Read in the data and create an R data frame named tennis.dfr that has the...
(1) Read in the data and create an R data frame named tennis.dfr that has the following names for its columns: first.name, last.name, major.match.wins, major.match.losses, overall.match.wins, overall.match.losses, major.titles, overall.titles. (Note that the data file has several explanatory lines before the real data begin that should be skipped when reading in the data lines.) NOTE: For the file name, you must use the following web address (URL): "http://people.stat.sc.edu/hitchcock/tennisplayers2018.txt". Please do not have your code read in the file from your own...
When you read data in (without using getLine) how is the data read. does it read...
When you read data in (without using getLine) how is the data read. does it read spaces and line breakers(\n). Also how can you read a paragraph into a double vector of strings ( into words and strings again without using getLine)
The accompanying data were read from graphs that appeared in an article. The variables shown are...
The accompanying data were read from graphs that appeared in an article. The variables shown are the number of acres burned in forest fires in the western United States and timber sales. Year Number of Acres Burned (thousands) Timber Sales (billions of board feet) 1945 209 2.0 1950 249 3.9 1955 250 4.3 1960 375 6.9 1965 72 9.8 1970 440 11.0 1975 179 11.2 1980 242 10.2 1985 437 10.1 1990 397 11.2 1995 171 3.7 (a) Compute the...
Use the data values in the table below to calculate the correlation, r, between the variables...
Use the data values in the table below to calculate the correlation, r, between the variables x and y. x y 4 12.32 5 13.1 6 16.68 7 20.26 8 22.44 9 22.72 10 23.4 11 26.98 12 28.66 Give your answer to rounded three decimal places.
Using R studio 1. Read the iris data set into a data frame. 2. Print the...
Using R studio 1. Read the iris data set into a data frame. 2. Print the first few lines of the iris dataset. 3. Output all the entries with Sepal Length > 5. 4. Plot a box plot of Petal Length with a color of your choice. 5. Plot a histogram of Sepal Width. 6. Plot a scatter plot showing the relationship between Petal Length and Petal Width. 7. Find the mean of Sepal Length by species. Hint: You could...
Data from 5.7: Problem Set 5.7: Scatterplot in SPSS Criterion: Create a scatterplot using SPSS. Data:...
Data from 5.7: Problem Set 5.7: Scatterplot in SPSS Criterion: Create a scatterplot using SPSS. Data: Dr T wanted to see if mindfulness training is related to stress levels. He recruited 10 participants to undergo mindfulness training and examined their reported stress levels on the DRT Stress Inventory. These were his results: Minutes of Mindfulness Training DRT Stress Inventory Score 61 8 122 6 201 3 133 9 55 7 329 1 10 9 1 10 93 7 144 5...
Can someone send me a screen shot of how to input this into SPSS data and...
Can someone send me a screen shot of how to input this into SPSS data and variable view to obtain the information provided below? Question 1 The nominal scale of measurement is used to measure academic program in this example because data collected for the students is nothing but the names of their major subjects or classes and their status of mood whether they are nervous or excited. Question 2 The nominal scale of measurement is used to measure feeling...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT