Quantum User Guide
 
Quantum User Guide
This document is written primarily for Quantum spec writers. It is also a useful reference for Quanvert database administrators and others who prepare data for use with Quanvert or Quanvert Text. It provides a complete and detailed description of the Quantum language and the Quantum programs.
Data editing
Information
See
Overview of the language and the basic concepts of Quantum spec writing
Constants, numbers and variables
Arithmetic and logical expressions
Types of records, data structure, trailer cards, reserved variables, merging data files and reading non-standard data files
Creating a new data file, copying records to a print file, and writing to a report file
Quantum assignment statements, adding and deleting codes in a column, forcing single-coded answers, setting a random code in a column, reading numeric codes into an array and clearing variables
if and else statements, routing around statements, loops, rejecting records, jumping to the tabulation section and canceling the run
Holecounts and frequency distributions
require statement, column and code validation, and validating logical expressions
Forced cleaning, on-line data correction, creating clean and dirty data files, correcting data from a corrections file, and missing values in numeric fields
Calling subroutines, the subroutines in the Quantum library, writing subroutines, and calling functions from C libraries
Defining variables in your Quantum spec
Data-mapped variables
Compiling and running a Quantum program
Tables and axes
Information
See
Introduction to creating tables in Quantum
Components of a tabulation program, the hierarchies of Quantum, how to define run conditions, the options that are available on the a, sectbeg, flt and tab statements, the default options file and some sample tables
Creating an axis, the types of elements within an axis, how to define conditions for an element, the n count creating elements, subheadings, netting and axes within axes
col, val, fld and bit statements, filtering within an axis, and options on axis elements
Totals, averages, means, the standard deviation, standard error and error variance statements and how to create percentiles
Special considerations for when axes are used for the columns of a table
Creating tables: syntax of the tab statement, multidimensional tables, multilingual surveys, combining tables, printing more than one table per page, and suppressing percentages and statistics with small bases.
Table titles, underlining titles, printing text at the foot of a page, table and page numbers and controlling table justification
Filtering tables: general filter statements, named filters and nested filter sections
Filing and retrieving statements, symbolic parameters and grid tables
An example of a Quantum specification and the tables it produces
Advanced tables and statistics
Information
See
The weighting methods that you can use in Quantum
Creating new rows and tables using previously created tables or parts of previously created tables
Analysis levels in Quantum
Axis-level and table-level statistical tests that are available in Quantum and provides details of the chi-squared tests, non-parametric tests on frequencies and Friedman’s two-way analysis of variance
Z, T and F tests that are available in Quantum
Including C code and edit statements in the tabulation section and how to sort tables
Special T statistics that are available in Quantum
Creating a formatted list of the tables that are produced by a Quantum run
Converting the standard tabulation output into a file suitable for printing on a PostScript laser printer
Summary of the options available in the tabulation section
Administrative functions
Information
See
Files you might need to create in order to use certain Quantum facilities, including the variables file, the levels file, the default options file, the run definitions file, the merges file, the corrections file, the rim weighting parameters file, and the C subroutine code file, aliases for Quantum statements, customized texts, and user-definable limits
Files created during a run
How to tidy up after a Quantum run and how to check column and code usage
Converting data to other formats: comma-delimited ASCII, UNICOM Intelligence format, and SAS format
Tasks you need to perform before converting a Quantum spec and data file into a Quanvert database
Files that are specific to either Quanvert Text or Windows-based Quanvert
How to create and maintain Quanvert databases
Transferring databases between computers and the programs provided to help you achieve this
Limits built into Quantum
Compilation error messages with suggestions as to why you might see them and how to solve the problems that cause them to appear
The Quantum data format
Using Quantum with data that contains characters in the extended ASCII character set
ASCII to punch code conversions
How to check whether a particularly large job will run on your computer