Join Barton Poulson for an in-depth discussion in this video Reading data from SPSS, part of Up and Running with R.
- View Offline
In our last movie, we looked at how to get data out of an Excel spreadsheet, and…into R through a CSV file; a comma-separated value file.…In this movie, I want to pick up and talk about how to get data out of an…SPSS file, because that's a very common statistical package used by a lot of researchers.…Now, I'm going to continue with the same script that I have open, that's SPSS…right here at the bottom on line 25.…I'm going to scroll up a little bit.…Now, there's a couple of different ways of dealing with SPSS in R. The one that…I'm going to recommend is actually to use the exact same procedure we used with…Excel; to save it as a CSV file, and then to import it using the read.csv.…
I find this to be the simplest, and most straightforward, and have the fewest errors.…The way that you want to do this is by opening it up in SPSS, and then using the…special saving function that they have there.…I'm going to minimize R, and we will get into SPSS to do that.…I'm just going to come down to my data file, and double-click on that.…
The course continues with examples on how to create charts and plots, check statistical assumptions and the reliability of your data, look for data outliers, and use other data analysis tools. Finally, learn how to get charts and tables out of R and share your results with presentations and web pages.
- What is R?
- Installing R
- Creating bar character for categorical variables
- Building histograms
- Calculating frequencies and descriptives
- Computing new variables
- Creating scatterplots
- Comparing means