Example: marketing

PSPP Users’ Guide - GNU

PSPP Users GuideGNU PSPP Statistical Analysis SoftwareRelease manual is for GNU PSPP version , software for statistical 1997, 1998, 2004, 2005, 2009, 2012, 2013, 2014, 2016, 2019 Free SoftwareFoundation, is granted to copy, distribute and/or modify this document under theterms of the GNU Free Documentation License, Version or any later versionpublished by the Free Software Foundation; with no Invariant Sections, noFront-Cover Texts, and no Back-Cover Texts. A copy of the license is includedin the section entitled"GNU Free Documentation License".1 The authors wish to thank Network Theory their financial support in the production of this of Contents1 Your rights and Main PDF, PostScript, and SVG Output Plain Text Output HTML Output OpenDocument Output Comma-Separated Value Output The graphic user Preparation of Data Defining Listing the Reading data from a text Reading data from a

iv 11 Manipulating variables::::: 101 11.1 ADD VALUE LABELS :::::101 11.2 DELETE VARIABLES:::::101

Tags:

  Variable

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of PSPP Users’ Guide - GNU

1 PSPP Users GuideGNU PSPP Statistical Analysis SoftwareRelease manual is for GNU PSPP version , software for statistical 1997, 1998, 2004, 2005, 2009, 2012, 2013, 2014, 2016, 2019 Free SoftwareFoundation, is granted to copy, distribute and/or modify this document under theterms of the GNU Free Documentation License, Version or any later versionpublished by the Free Software Foundation; with no Invariant Sections, noFront-Cover Texts, and no Back-Cover Texts. A copy of the license is includedin the section entitled"GNU Free Documentation License".1 The authors wish to thank Network Theory their financial support in the production of this of Contents1 Your rights and Main PDF, PostScript.

2 And SVG Output Plain Text Output HTML Output OpenDocument Output Comma-Separated Value Output The graphic user Preparation of Data Defining Listing the Reading data from a text Reading data from a Saving data to Reading data from other Exiting Data Screening and Identifying incorrect Dealing with suspicious Inverting negatively coded Testing data Testing for Hypothesis Testing for differences of Linear Forming commands of Syntax Types of Order of Handling missing Attributes of Variables Automatically Defined Lists of variable Input and Output Basic Numeric Custom Currency Legacy Numeric Binary and Hexadecimal Numeric Time and Date Date Component String Scratch Files Used File Backus-Naur Mathematical Boolean Missing Values in Grouping Arithmetic Logical Relational Mathematical Miscellaneous Mathematical Trigonometric Missing-Value Set-Membership Statistical String Time & Date How times & dates are defined and Functions that Produce Functions that Examine Functions that Produce

3 Functions that Examine Time and Date Miscellaneous Statistical Distribution Continuous Discrete Operator Data Input and BEGIN CLOSE FILE DATAFILE DATASET DATA DATA LIST DATA LIST DATA LIST END END FILE INPUT NEW MATRIX PRINT PRINT REPEATING System and Portable File APPLY GET Spreadsheet Postgres Database Textual Data Reading Delimited Reading Fixed Columnar SAVE DATA SAVE Writing Comma- and Tab-Separated Data SYSFILE Combining Data Common ADD MATCH Manipulating ADD VALUE DELETE MISSING MODIFY PRINT RENAME SORT VALUE variable variable variable variable variable variable WRITE Data SORT Selecting data for N OF SELECT SPLIT Conditional and Looping DO DO Bar LOGISTIC NPAR Binomial Chisquare Cochran Q Friedman Kendall s W Kolmogorov-Smirnov

4 Kruskal-Wallis Mann-Whitney U McNemar Median Runs Sign Wilcoxon Matched Pairs Signed Ranks One Sample Independent Samples Paired Samples QUICK ADD DISPLAY DISPLAY FILE DROP FILE PRESERVE and Input Selection Not How to report Function Command Concept A GNU Free Documentation Introductionpsppis a tool for statistical analysis of sampled data. It reads the data, analyzes the dataaccording to commands provided, and writes the results to a listing file, to the standardoutput or to a window of the graphical language accepted bypsppis similar to those accepted by SPSS statistical details ofpspp s language are given later in this tables and charts as output, which it can produce in several formats;currently, ASCII, PostScript, PDF, HTML, and DocBook are current version ofpspp, , is incomplete in terms of its statistical a work in progress.

5 The authors hope to fully support all features inthe products thatpsppreplaces, eventually. The authors welcome questions, comments,donations, and code submissions. SeeChapter 21 [Submitting Bug Reports], page 184, forinstructions on contacting the Your rights and obligationspsppis not in the public domain. It is copyrighted and there are restrictions on its distri-bution, but these restrictions are designed to permit everything that a good cooperatingcitizen would want to do. What is not allowed is to try to prevent others from furthersharing any version of this program that they might get from , we want to make sure that you have the right to give away copies ofpspp,that you receive source code or else can get it if you want it, that you can change theseprograms or use pieces of them in new free programs, and that you know you can do make sure that everyone has such rights, we have to forbid you to deprive anyone elseof these rights.

6 For example, if you distribute copies ofpspp, you must give the recipientsall the rights that you have. You must make sure that they, too, receive or can get thesource code. And you must tell them their , for our own protection, we must make certain that everyone finds out that thereis no warranty forpspp. If these programs are modified by someone else and passed on, wewant their recipients to know that what they have is not what we distributed, so that anyproblems introduced by others will not reflect on our , any free program is threatened constantly by software patents. We wish to avoidthe danger that redistributors of a free program will individually obtain patent licenses, ineffect making the program proprietary.

7 To prevent this, we have made it clear that anypatent must be licensed for everyone s free use or not licensed at precise conditions of the license forpsppare found in the GNU General PublicLicense. You should have received a copy of the GNU General Public License along withthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, FifthFloor, Boston, MA 02110-1301 USA. This manual specifically is covered by the GNU FreeDocumentation License (seeAppendix A [GNU Free Documentation License], page 197).43 Invokingpspppspphas two separate user interfaces. This chapter describespspp,pspp s command-linedriven text-based user interface.

8 The following chapter briefly describes PSPPIRE, thegraphical user interface sections below describe thepsppprogram s command-line Main OptionsHere is a summary of all the options, grouped by type, followed by explanations in the the table, arguments to long options also apply to any corresponding short argumentssyntax-fileOutput options-o, --output=output-file-Ooption=value-O format=format-O device={terminal|listing}--no-output-e, --error-file=error-fileLanguage options-I, --include=dir-I-, --no-include-b, --batch-i, --interactive-r, --no-statrc-a, --algorithm={compatible|enhanced}-x, --syntax={compatible|enhanced}--syntax-e ncoding=encodingInformational options-h, --help-V, --versionOther options-s, --safer--testing-modesyntax-fileRead and execute the named syntax file.

9 If no syntax files are specified,psppprompts for commands. If any syntax files are specified,psppby default exitsafter it runs them, but you may make it prompt for commands by specifying - as an additional syntax output several different output drivers thatsupport output in various formats (use--helpto list the available formats).Chapter 3: Invokingpspp5 Specify this option more than once to produce multiple output files, presumablyin different - asoutput-fileto write output to standard no-ooption is used, thenpsppwrites text and CSV output to standardoutput and other kinds of output to whose name is based on the format, PDF an option for the output file configured by a preceding-o.

10 Most optionsare specific to particular output formats. A few options that apply genericallyare listed format=formatpsppuses the extension of the file name given on-oto select an output this option to override this choice by specifying an alternate format, -O htmlto write HTML to a file Use--helpto list the available device={terminal|listing}Sets whetherpsppconsiders the output device configured by the preceding-oto be a terminal or a listing device. This affects what output will be sent tothe device, as configured by the SET command s output routing subcommands(seeSection [SET], page 163). By default, output written to standardoutput is considered a terminal device and other output is considered a output entirely, if neither-onor-Ois also used.