intTypePromotion=1
ADSENSE

SPSS 16.0 Command Syntax Reference

Chia sẻ: Nguyen Van Hieu | Ngày: | Loại File: PDF | Số trang:2275

126
lượt xem
38
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

SPSS 16.0 Command Syntax Reference là phần mềm dành cho dân thống kê, phần mềm này dễ sử dụng, được ưu chuộng nhất hiện nay. Cùng tham khảo tài liệu để nắm được cách sử dụng phần mềm phục vụ cho công việc của bạn.

Chủ đề:
Lưu

Nội dung Text: SPSS 16.0 Command Syntax Reference

SPSS 16.0 Command Syntax Reference<br /> <br /> For more information about SPSS® software products, please visit our Web site at http://www.spss.com or contact SPSS Inc. 233 South Wacker Drive, 11th Floor Chicago, IL 60606-6412 Tel: (312) 651-3000 Fax: (312) 651-3668 SPSS is a registered trademark and the other product names are the trademarks of SPSS Inc. for its proprietary computer software. 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. The SOFTWARE and documentation are provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subdivision (c) (1) (ii) of The Rights in Technical Data and Computer Software clause at 52.227-7013. Contractor/manufacturer is SPSS Inc., 233 South Wacker Drive, 11th Floor, Chicago, IL 60606-6412. Patent No. 7,023,453 General notice: Other product names mentioned herein are used for identification purposes only and may be trademarks of their respective companies. Windows is a registered trademark of Microsoft Corporation. Apple, Mac, and the Mac logo are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. This product uses WinWrap Basic, Copyright 1993-2007, Polar Engineering and Consulting, http://www.winwrap.com. SPSS 16.0 Command Syntax Reference Copyright © 2007 by SPSS Inc. All rights reserved. Printed in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher.<br /> <br /> Contents<br /> Introduction: A Guide to Command Syntax 1<br /> <br /> Add-On Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Release History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br /> <br /> Universals<br /> Running Commands . . . . . . . . . . . . . . . . . Subcommands. . . . . . . . . . . . . . . . . . . . . Keywords . . . . . . . . . . . . . . . . . . . . . . . . Values in Command Specifications . . . . . String Values in Command Specifications Delimiters . . . . . . . . . . . . . . . . . . . . . . . . Command Order. . . . . . . . . . . . . . . . . . . . Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command File Journal File . . Data Files . . . Variables . . . . . . . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> 31<br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 33 34 34 34 35 35 36 40 40 40 41 43 43 45 46 46 48 49 49 50 52 58 63 63 64 67 67 68 69<br /> <br /> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br /> <br /> Variable Names . . . . . . . . Keyword TO. . . . . . . . . . . Keyword ALL . . . . . . . . . . Scratch Variables . . . . . . System Variables . . . . . . . Variable Types and Formats . .<br /> <br /> Input and Output Formats. . . . . . . . . . . . . . . . String Variable Formats . . . . . . . . . . . . . . . . . Numeric Variable Formats . . . . . . . . . . . . . . . Date and Time Formats . . . . . . . . . . . . . . . . . FORTRAN-like Input Format Specifications . . Transformation Expressions . . . . . . . . . . . . . . . . . Numeric Expressions. . . . . . . . . . . . . . . . . . . Numeric Functions . . . . . . . . . . . . . . . . . . . . Arithmetic Functions . . . . . . . . . . . . . . . . . . . Statistical Functions . . . . . . . . . . . . . . . . . . . Random Variable and Distribution Functions .<br /> <br /> iii<br /> <br /> Date and Time Functions . . . . . . . . . . String Expressions . . . . . . . . . . . . . . . String Functions. . . . . . . . . . . . . . . . . String/Numeric Conversion Functions LAG Function . . . . . . . . . . . . . . . . . . . VALUELABEL Function . . . . . . . . . . . . Logical Expressions . . . . . . . . . . . . . . Logical Functions . . . . . . . . . . . . . . . Scoring Expressions (SPSS Server) . . Missing Values . . . . . . . . . . . . . . . . . . . . .<br /> <br /> ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...<br /> <br /> . . . 93 . . 101 . . 101 . . 106 . . 106 . . 107 . . 107 . . 111 . . 111 . . 114 .. .. .. .. .. 114 116 116 116 117<br /> <br /> Treatment of Missing Values in Arguments . . Missing Values in Numeric Expressions . . . . . Missing Values in String Expressions . . . . . . . Missing Values in Logical Expressions . . . . . . Missing Value Functions . . . . . . . . . . . . . . . .<br /> <br /> 2SLS<br /> <br /> 118<br /> <br /> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 EQUATION Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 INSTRUMENTS Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 ENDOGENOUS Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 CONSTANT and NOCONSTANT Subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 SAVE Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 PRINT Subcommand. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 APPLY Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br /> <br /> ACF<br /> <br /> 123<br /> <br /> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 VARIABLES Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 DIFF Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 SDIFF Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 PERIOD Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 LN and NOLOG Subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 SEASONAL Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 MXAUTO Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 SERROR Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127<br /> <br /> iv<br /> <br /> PACF Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 APPLY Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129<br /> <br /> ADD DOCUMENT<br /> <br /> 130<br /> <br /> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130<br /> <br /> ADD FILES<br /> <br /> 132<br /> <br /> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 FILE Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 RENAME Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 BY Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 DROP and KEEP Subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 IN Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 FIRST and LAST Subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 MAP Subcommand. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Adding Cases from Different Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138<br /> <br /> ADD VALUE LABELS<br /> <br /> 139<br /> <br /> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Value Labels for String Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140<br /> <br /> AGGREGATE<br /> <br /> 142<br /> <br /> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 OUTFILE Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Creating a New Aggregated Data File versus Appending Aggregated Variables . . . . . . . . . . 145 BREAK Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 DOCUMENT Subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147<br /> <br /> v<br /> <br />
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2