GET DATA /TYPE=TXT /FILE="spss.txt" /DELCASE=LINE … Also, keep in mind that if you share your file with others they will also need to update the path to where they have saved the files. If you wish to save them elsewhere be sure you update the path to reflect where you save the files. To keep it simple, we’ll work from root directory of your C drive (“C:”). So the first thing we’ll want to do is tweak the syntax file to the path of where you have saved it. SPSS files aren’t ever going to be perfect when exported from a survey tool, but Alchemer’s exports are some of the best I’ve seen. While the data file is convenient, I usually export the syntax file and use it as a starting point for creating a well defined data file as well as custom labels. I typically change the tense, streamline, or abbreviate long words.Īlchemer exports both SPSS syntax and data files. On nearly every study I work on I end up graphing my results in Excel it is very rare for me to graph the questions exactly as they were asked. In this article I want to demonstrate a very simple syntax use that serves me very well on most projects. Starting to work with syntax in SPSS can seem daunting, but it doesn’t need to be. My hope is that I can save you some of that time by sharing this insider knowledge with you. After spending many years and countless hours working with SPSS data exports, I’ve developed hundreds of custom SPSS scripts, syntax, and macros that automate a wide variety of tasks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |