Spss macros and programming
SPSS Inc. 233 S Wacker Drive, 11th Floor Chicago, Illinois 60606 312.651.3000 Training Department 800.543.6607 v10.0 Revised 12/31/99 ss
SPSS Neural Connection, SPSS QI Analyst, SPSS for Windows, SPSS Data Entry II, SPSS-X, SCSS, SPSS/PC, SPSS/PC+, SPSS Categories, SPSS Graphics, SPSS Professional Statistics, SPSS Advanced Statistics, SPSS Tables, SPSS Trends, SPSS Exact Tests, and SPSS Missing Value are the trademarks of SPSS Inc. for its proprietary computer software. CHAID for Windows is the trademark of SPSS Inc. and Statistical Innovations Inc. for its proprietary computer software. Excel for Windows and Word for Windows are trademarks of Microsoft; dBase is a trademark of Borland; Lotus 1-2-3 is a trademark of Lotus Development Corp. No material describing such software may be produced or distributed without the written permission of the owners of the trademark and license rights in the software and the copyrights in the published materials. General notice: Other product names mentioned herein are used for identification purposes only and may be trademarks of their respective companies. Copyright(c) 2000 by SPSS Inc. All rights reserved. Printed in the United States of America. No part of this publication may be reproduced or distributed in any form or by any means, or stored on a database or retrieval system, without the prior written permission of the publisher, except as permitted under the United States Copyright Act of 1976.
SPSS Training
Programming with SPSS Syntax and Macros Table of Contents
Chapter 1
Introduction and Syntax Review
A Data Manipulation Example A Macro Example Rules and Aids for SPSS Syntax Advice for Those Working with Syntax Summary 1-1 1-3 1-6 1-9 1-10
Chapter 2
Basic SPSS Programming Concepts
Command Types in SPSS The Three Types of SPSS Programming SPSS Data Definition SPSS Programming Constructs Do If & End If Do Repeat & End Repeat Loop & End Loop Scratch