Intermediate Guide to SPSS Programming Using Syntax for Data Management

ISBN-10: 0761931856
ISBN-13: 9780761931850
Edition: 2005
Authors: Sarah Boslaugh
List price: $73.00 Buy it from $52.19
eBook available
This item qualifies for FREE shipping

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy

Description: Sarah Boslaugh introduces the major tasks of data management & presents solutions using SPSS syntax. All basic features of SPSS syntax are illustrated, as are advanced topics such as using vectors & loops, reading complex data files, & using the  More...

New Starting from $75.92
eBooks Starting from $36.50
Rent
Buy
what's this?
Rush Rewards U
Members Receive:
coins
coins
You have reached 400 XP and carrot coins. That is the daily max!

Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
Calculus 1 Online content $4.95 $1.99
Add to cart
Study Briefs
SQL Online content $4.95 $1.99
Add to cart
Study Briefs
MS Excel® 2010 Online content $4.95 $1.99
Add to cart
Study Briefs
MS Word® 2010 Online content $4.95 $1.99

Customers also bought

Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Book details

List price: $73.00
Copyright year: 2005
Publisher: SAGE Publications, Incorporated
Publication date: 11/2/2004
Binding: Paperback
Pages: 248
Size: 6.25" wide x 9.00" long x 0.75" tall
Weight: 0.990
Language: English

Sarah Boslaugh introduces the major tasks of data management & presents solutions using SPSS syntax. All basic features of SPSS syntax are illustrated, as are advanced topics such as using vectors & loops, reading complex data files, & using the SPSS macro language.

Sarah Boslaugh, Ph.D. has more than 20 years of experience working in data management and statistical analysis. She has worked as an SPSS programmer in many different settings in the public and private spheres, including academia, health care, government, and the insurance industry. Dr. Boslaugh received her Ph.D. in research methods and evaluation from the City University of New York and is currently a Senior Statistical Data Analyst at the Washington University School of Medicine in St. Louis. Her research interests include multilevel modeling, geographic information systems, and measurement theory.

Preface
An Introduction to SPSS
What Is SPSS?
A Brief History of SPSS
SPSS as a High-Level Programming Language
SPSS as a Statistical Analysis Package
Interacting With SPSS
The SPSS Session
SPSS Windows
Basics About SPSS Commands
Order of Execution of SPSS Commands
Batch Mode and Interactive Mode
Types of Files in SPSS
The Command or Syntax Files
The Active or Working Data File
The Output Files
The Journal Files
Customizing the SPSS Environment
Displaying Current Settings
Changing Current Settings
Eliminating Page Breaks
Increasing Memory Allocation
Changing the Default Format for Numeric Variables
An Introduction to Computer Programming With SPSS
An Introduction to Computer Programming
Using Syntax Versus the Menu System
The Process of Writing and Testing Syntax
Typographical Conventions Used in This Book
How Code and Output Are Presented in This Book
Some Reasons to Use Syntax
Beginning to Learn Syntax
Programming Style
Programming Errors
Syntax Errors and Logical Errors
The Debugging Process
Common SPSS Syntax Errors
Finding Logical Errors
Changing Default Error and Warning Settings
Deciphering SPSS Error and Warning Messages
Documenting Syntax, Data, and Output Files
Using Comments in SPSS Programs
Using Comments to Prevent Code From Executing
Documenting a Data File
Echoing Text in the Output File
Using Titles and Subtitles
Reading and Writing Data Files in SPSS
Reading Raw Data in SPSS
Reading Inline Data
Reading External Data
The FIXED, FREE, and LIST Formats
Specifying the Delimiter Symbol
Reading Aggregated Data With DATA LIST
Reading Data With Multiple Records Per Case
Using FORTRAN-Like Variable Specifications
Two Shortcuts for Declaring Variables With Identical Formats
Specifying Decimal Values in Data
Reading SPSS System and Portable Files
Reading an SPSS System File
Reading an SPSS Portable File
Dropping, Reordering, and Renaming Variables
Reading Data Files Created by Other Programs
Reading Microsoft Excel Files
Reading Data From Earlier Versions of Excel
Reading Data From Later Versions of Excel
Using GET TRANSLATE to Read Other Types of Files
Reading Data From Database Programs
Reading SAS Data Files
Reading Complex Data Files
Reading Mixed Data Files
Reading Grouped Data Files
Reading Nested Data Files
Reading Data in Matrix Format
Saving Data Files
Saving an SPSS System File
Saving an SPSS Portable Data File
Saving a Data File for Use by Other Programs
Saving Text Files
File Manipulation and Management in SPSS
Inspecting a Data File
Determining the Number of Cases in a File
Determining What Variables Are in a File
Getting More Information About the Variables
Checking for Duplicate Cases
Looking at Variable Values and Distributions
Creating Standardized Scores
Combining Data Files
Adding New Variables to Existing Cases
Adding Summary Data to an Individual-Level File
Combining Cases From Several Files
Updating Values in a File
Data File Management
Reordering and Dropping Variables in the Active File
Eliminating Duplicate Records
Sorting a Data Set
Splitting a Data Set
Selecting Cases
Filtering Cases
Weighting Cases
Restructuring Files
The Unit of Analysis
Changing File Structure From Univariate to Multivariate
Incorporating a Test Condition When Restructuring a File
Changing File Structure From Multivariate to Univariate
Transposing the Rows and Columns of a Data Set
Missing Data in SPSS
Types of Missing Data
System-Missing and User-Missing Data
Looking at Missing Data on Individual Variables
Looking at the Pattern of User-Missing Data Among Pairs of Variables
Looking at the Pattern of Missing Data Across Many Variables
Changing the Value of Blanks in Numeric Fields
Treatment of Missing Values in SPSS Commands
Substituting Values for Missing Data
Using Random Processes in SPSS
The Random-Number Seed
Generating Random Distributions
Random Selection of Cases
Random Group Assignment
Random Selection From Multiple Groups
Variables and Variable Manipulations
Variables and Variable Formats
String and Numeric Variables
System Variables
Scratch Variables
Input and Output Formats
The NUMBER Format
The COMMA, DOT, DOLLAR, and PCT Formats
Variable and Value Labels
Rules About Variable Names in SPSS
Systems for Naming Variables
Adding Variable Labels
Adding Value Labels
Controlling Whether Labels Are Displayed in Tables
Applying the Data Dictionary From a Previous Data Set
Recoding and Creating Variables
The IF Statement
Relational Operators
Logical Variables
Logical Operators
Creating Dummy Variables
The RECODE and AUTORECODE Commands
Converting Variables From Numeric to String or String to Numeric
Counting Occurrences of Values Across Variables
Counting the Occurrence of Multiple Values in One Variable
Creating a Cumulative Variable
Numeric Operations and Functions
Arithmetic Operations
Mathematical and Statistical Functions
Missing Values in Numeric Operations and Functions
Domain Errors
A Substring-Like Technique for Numeric Variables
String Functions
The Substring Function
Concatenation
Searching for Characters Within a String Variable
Adding or Removing Leading or Trailing Characters
Finding Character Strings Identified by Delimiters
Date and Time Variables
How Date and Time Variables Are Stored in SPSS
An Overview of SPSS Date Formats
Reading Dates With Two-Digit Years in the Correct Century
Creating Date Variables With Syntax
Creating Date Variables From String Variables
Extracting Part of a Date Variable
Doing Arithmetic With Date Variables
Creating a Variable Holding Today's Date
Designating Missing Values for Date Variables
Other Topics
Automating Tasks Within Your Program
Vectors
The DO IF Command Structure
The DO REPEAT Command Structure
The LOOP Command Structure
A Brief Introduction to the SPSS Macro Language
The Parts of a Macro
Macros Without Arguments
Macros With Arguments
Specifying Arguments by Position
Macros Using a Flexible Number of Variables
Controlling the Macro Language Environment
Sources of Further Information About SPSS Macros
Resources for Learning More About SPSS Syntax
Books
Web Pages
Mailing Lists
References
Index
About the Author

×
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.

×