Using a set-up file to read ASCII data into SPSS

Slides:



Advertisements
Similar presentations
Clicking on the link for the.tns file gives you will get the following screen: Select Save File and click OK.
Advertisements

BTEC 149. Windows Desktop Click on the Start Button.
Data Analysis using SPSS By Dr. Shaik Shaffi Ahamed Ph. D
1) Terms to Know 2) Starting an Office 97 Application 8) Finding a missing file 7)File Managment 4) Utilizing the Right Mouse Button 6) Using Help 3)
Go to ‘Site Actions’ ‘View All Site Content ‘View All Site Content’
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Creating and Editing a Web Page Using Inline Styles
English I Worthy “How-To-” List Copy and Paste Screen Shot Name Your Flashdrive To Name Your Folder.
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
The sequence of folders to a file or folder is called a(n) ________.
Creating First Class Web Pages Log into your account.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
RIMS II Online Order and Delivery System Tutorial on Downloading and Viewing Multipliers.
How to Use a Screen Recorder CS 292 Step 1 Download the software from (Mac users will need something different –
File Management and Organisation © Copyright William Rowan 2007.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Cutting-and-Pasting Content Directly Into Blackboard.
Adding Websites to a Folder  Putting sites into an already existing folder Putting sites into an already existing folder  Adding an image on the icon.
The basics of the Online Portal
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Project 3 File, Document, Folder Management, Windows XP Explorer Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
Microsoft Office 2003 Illustrated Introductory with Programs, Files, and Folders Working.
Introduction to Computers Seminar I. Parts of the Computer Personal Computer a PC (any non-Mac computer) has four major pieces of hardware-- keyboard,
Word Tips. Objectives Open and close MS Word Learn the parts of the Word window Learn the toolbar, their buttons, and what they do Create and save a new.
Open Dreamweaver Start All programs Adobe design and web premium Adobe Dreamweaver.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
RIGHT Mouse Button Formatting Cut Copy Paste Save LEFT Mouse Button MAIN BUTTON Single clicks Double clicks Drag Highlight.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
CMPF124: Basics Skills for Knowledge Workers Manipulating Windows GUI.
SPSS- Tutorial The following power-point slides show you how to use some of the features in SPSS. A survey of 20 randomly selected companies asked them.
Lab 0 / Chapter 0 Windows XP Environment. 2 User Interfaces: A different perspective.
Getting Started with Word & Saving Guided Lesson.
1.Introduction to SPSS By: MHM. Nafas At HARDY ATI For HNDT Agriculture.
Know your computer Make a Folder Copy from Word to Composer Format the Font Change the Alignment Format the Background Format the Colors Insert a Picture.
Creating and Editing a Web Page
If you don’t have Google Earth downloaded already, you can go to to get it.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Thinking Mac From Windows. The Menu Bar Mac puts their Menu/Task Bars at the top of the desktop, not the bottom, like in windows.
Today We Will Review: Operating Systems (Windows) (week 3 & 4) Starting up MS Windows Desktop and its contents Functions of the desktop components Brain.
Copying a text file to the E-Form (HTML) Editor in OSCAR.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Using a set-up file to read ASCII data into Stata
Windows Tutorial 3 Personalizing Your Windows Environment
Lesson 11 Exploring Microsoft Office 2007
Excel Tutorial 8 Developing an Excel Application
Development Environment
Customizing the Quick Access Toolbar in Microsoft Office
With Microsoft FrontPage 2000
Introduction to Windows
Tutorial: How to Creat a Website.
An Introduction to Computers and Visual Basic
Introduction to Windows Your Name Goes Here. Evolution of Windows Windows 3.1 –First widely used successful version of Windows –Replaced MS-DOS Windows.
Shotcut video editor.
DEPARTMENT OF COMPUTER SCIENCE
Naming, Saving, & Retrieving Files
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
MANIPULATING TEXT WITHIN AND BETWEEN DOCUMENTS
An Introduction to Computers and Visual Basic
Using the Multiple Choice Template
Cheat Sheet CSCI 100 JW Ryder
An Installation Guide of PGP on Windows 2000
Cheat Sheet CSCI 100 JW Ryder
An Introduction to Computers and Visual Basic
How to PostPower Point Presentations
Scripts In Matlab.
Importing Opera Notes.
Shelly Cashman: Microsoft Windows 10
Presentation transcript:

Using a set-up file to read ASCII data into SPSS This is a tutorial for reading data into SPSS. This tutorial presumes that you have selected a study that works for your project, it has a set-up file to read the data into SPSS, and there is no SPSS System or Portable file available for your study.  If you use the “Quick Download” button, the System file, which ends with “.sav” and has data in “ready-to-use” format, will be downloaded. There is no need to use a set-up file if there is a System file for your study.

Drag and drop the data and set-up files to the desktop. The downloaded file is saved to the desktop. The first step is to remove the files from the zip folder that are needed to read in the data. Double-click on the icon to open the folder. Look for the file that ends with “.sps.” This is the set-up file. The other file that we need is the “data.txt” file. Simply drag and drop these files to your desktop. If you are using a study with multiple datasets, be sure to use the set-up file and the data file that have the same dataset number. ICPSR provides the raw data in ASCII format. The file extension displayed is “.txt.” If you do not see the “.txt,” stop here and review the tutorial on our Web site about file extensions. Go to the Data User Help Center. Then, “Using Data”. The first tutorial here is “Getting Set-up files to run in Windows.” This will walk you through the steps to reset the Windows default to display file extensions.

Point to the set-up file’s icon. The next step is to open the files. To open the SPSS set-up file, begin by launching SPSS. Go to File, Open, and Syntax. Point the Open Syntax Box to the desktop, and point to the syntax file there. The set-up file begins with the name of the study and definitions of terms used in the file. Look for the first command line after the definitions, the FILE HANDLE command. This line tells SPSS the exact location of the data on the hard drive.

Right-click on data file’s icon. Select Properties. From the data file, we need the location of the data. This is contained in the Properties Box. To display the box, put your cursor on the icon and right-click. Go to Properties and left-click.

Set data file’s properties box next to syntax editor. The task now is to copy and paste the exact location of the data on your hard drive, found in the Properties Box, into the File Handle command of the set-up file.

Edit “File-specification” in the FILE HANDLE command. Look for the line that says FILE HANDLE DATA /NAME=”file-specification” LRECL=144. We are going to edit only the file-specification by replacing it with information from the Properties Box. Highlight only file-specification. Click on the Properties Box and go to the line, “Location.” Select the text and copy it. Click on the Syntax Editor and, as we have already highlighted file-specification, we can paste over it. Then, add a backslash.

Add data file’s name to FILE HANDLE command. Next, add the file name. Go back to the Properties Box. At the top, find the notepad icon. The name of the file is adjacent to the icon. Select and copy the file name. Click on the Syntax Editor. As the cursor is in the line that is being edited, the file name can be pasted right in. Editing this file is complete. The completed set-up file can saved for future use. Go to File> Save As, and name it in a descriptive manner and save it where appropriate. Please note, if you need to rerun this file, the data will need to be moved to the desktop or the FILE HANDLE command will need to be edited to point to the data’s current location.

Running the set-up file. The set-up file is ready to run. Go to the menus at the top of the window and choose the RUN menu. Then, select ALL.

Open the Data Editor If the Output View launches, just minimize it. The Data Editor will not launched, as the data are not ready to use.   Go to the bottom of the window and click on SPSS, then open the file, “Untitled-SPSS Data Editor.” In the Data view, you can see that there are variables in place, but there are no data.

Transform the data. The Data Editor is launched by SPSS. SPSS reports progress on the current task in the progress bar at the bottom of the window. It now reads: “SPSS processor is ready.” “Transformations Pending.” The next step is to transform the data. At the top of the window, choose the TRANSFORM menu and select, RUN PENDING TRANSFORMS.

Last step: save the file. The data have now been read into SPSS. Finally, save the file. Go to File> Save As. Name the file in a descriptive manner and save it to an accessible drive. By default, SPSS will save the file as a .sav file, an SPSS system file. To open, simply double-click on the file’s icon.