Qca 3
Qca 3
You can move among window fields and buttons using the TAB (next
field/button) and Shift-TAB (previous field/button) keys. The
cursor control keys <- -> can also be used, although not all of
the cursor keys work with all fields.
Esc - Cancel and return to the next higher level of the program,
which is usually the Log;
-2-
current window.
Alt-X is the standard Exit key for quitting editors, and the program
itself.
Menus
QCA's Log and editors (all discussed in detail below) allow you to
execute commands either by pressing a "hot key" or by selecting
options from a menu. Most of the hot keys involve holding down the
Alt key and then pressing a letter. Menu options can be selected
by highlighting your choice using the cursor keys and then
pressing <─┘, or by pressing a highlighted letter key (do not hold
down the Alt key when making selections within a menu). The <- and
-> cursor keys allow you to move across menus. You can access QCA's
menus by pressing the / key, or by pressing Alt-F for the File menu,
Alt-E for the Edit Menu, or (if available) Alt-M for the Methods
menu.
Objects
-3-
to analyze continuous data, applying classification rules to the
coding of qualitative data). QCA employs an object-oriented
approach to the analysis of qualitative data using techniques from
Boolean algebra. For QCA, objects are different types of Boolean
functions. Once created, these objects appear on your computer
screen as headers and, possibly, equations. To manipulate one of
these objects, you point to it with the cursor and then select the
action that you want to perform. The actions that you direct toward
these objects are analytic techniques (some are based upon Boolean
algebra, others are extensions of traditional social science
research methods) designed to help you better understand the nature
of your data.
At the top level of QCA's object hierarchy is the truth table. Truth
tables list the various combinations of independent variables that
appear in a data set along with their corresponding values on the
dependent variable. Configurations appear only once in a truth
table, regardless of their frequency of occurrence in the data.
Truth table objects combine a truth table along with all of the
information necessary to create it from a data set; i.e., the data
file's name, directory, type, independent and dependent variables,
rules for processing missing values, rules for selecting cases, etc.
Truth table objects can appear explicitly in the Log (as a header),
or they may appear implicitly as the ancestor of another object.
Regardless, since truth tables "know" how to re-create themselves,
you can analyze them, or their descendants, without having to re-
enter a lot of file and data definition information. From a user's
perspective, this is where you realize the power of objects.
Therefore, if you would like to edit a truth table, or edit the raw
-4-
data associated with a truth table, simply point to an object (either
a truth table or one of its descendants) with the cursor (i.e.,
position the cursor anywhere on the function), select your action,
and go! QCA keeps track of all of the other details for you.
-5-
So, what do you really need to remember about QCA's object hierarchy?
The bottom line is that QCA's object hierarchy means that you can
run most procedures by positioning the cursor anywhere on an
appropriate function and then selecting an action to perform. QCA
handles most of the details for you. The environment where you
interact in this way with your objects is the QCA Log. It is the
heart of QCA 3.0.
-6-
THE QCA LOG
-7-
File Menu .... .... .... .... .... .... .... .....Alt-F
The File Menu presents commands for creating and loading data files,
reporting summary information about a file, saving and printing
results, browsing ASCII text files, and quitting the program. Many
of these commands are also used by QCA's various editors (discussed
below). The basic file commands are:
The Set File Types command allows you to change these default
assignments so that QCA can identify your data files properly.
For example, if you save all of your Stata system files with
a .STA extension, then you would use this command to add .STA
to the line for Stata files.
-8-
Save Output ... .... .... .... .... .... .....Alt-O
The Save Output command allows you to save either the current
screen or the contents of the entire Log to an output file.
QCA asks you to enter a filename (default = QCA.OUT), select
the amount of text to be saved (All or Screen), and select how
the file should be written (replace the output file by
Overwriting it or add to the output file by Appending text to
the end of it).
-9-
Click right of _ Move Text Right One Screen
Click left of _ Move Text Left One Screen
Click below Show Text at Top of File
Click above Show Text at End of File
Click left of -> Show Text at Far Right of File
Click right of <- Show Text at Far Left of File
Exit QCA . .... .... .... .... .... .... .....Alt-X or Click
On
"Alt-X to Exit"
Basically, "that's all folks!" Before quitting, QCA checks to
be sure that you really want to exit the program and gives you
a chance to change your mind.
Edit Menu .... .... .... .... .... .... .... .....Alt-E
The Edit Menu presents commands for editing the text in the Log and
for starting QCA's various editors. To edit a function, point to
it with the cursor and then use the menu or a hot key to select the
desired action. The basic editing commands are:
-10-
and loads the truth table associated with the current function.
The truth table editor shows each row of a truth table along
with the number of 0, 1, and - (don't care) outputs associated
with each row. The truth table can be changed by recoding the
output values associated with any row. This "new" truth table
can then be written to a QCA data matrix file. The specific
commands for this editor are discussed in detail below.
-11-
by attaching a "note" to any type of function. QCA provides
a simple word-wrapping text editor for this purpose. Each note
can contain up to 64 lines of text. To create or edit a note,
simply position the cursor anywhere on a function and then use
the menu or hot key to start the editor.
-12-
Compute Complement . .... .... .... .... .....Alt-C
The Compute Complement command computes the complement of a
minimized truth table function or hypothesis. The complement
is the minimized function of all configurations that are NOT
implied by the original function or hypothesis. To compute a
complement, simply position the cursor anywhere on the
minimized truth table function or hypothesis, and then use the
menu or hot key to start the method.
-13-
position the cursor anywhere on the function whose data file
you want to use and then use the menu or hot key to invoke this
method.
All of QCA's main procedures are launched from within the Log. Some
of these procedures, like computing a complement, never require you
to leave the Log. However, most of these procedures are fairly
complicated, and present a number of other actions for you to use
to create or manipulate an object. In the following sections of
this Guide, some of the more involved procedures are discussed in
greater detail.
-14-
OPENING A DATA FILE
The Open a Data File command opens the "Select a File" window. The
purpose of this window is to get the name of the data file that you
want to analyze using QCA. Data from this file will be used to
build a truth table that you can then minimize using QCA's Boolean
minimization algorithms.
QCA 3.0 can read six different types of data files. Since some of
these are system files for stat packages, it makes it easier to
combine a QCA analysis with a traditional statistical analysis. It
also means that the stat package can be used for data manipulation
(data entry, computing and recoding variables, selecting samples of
cases, etc.), thus freeing QCA to concentrate on what it does best
-- minimizing truth tables. QCA classifies data files by their file
extensions. Currently, the file types and defaults extensions used
by QCA are:
If you use a stat package that is not included in this list, check
to see if it will save files using the Lotus spreadsheet format.
However, please note that QCA makes the following assumptions about
the structure of Lotus or compatible spreadsheet files. First, and
most important, QCA assumes that the cells in the first row of the
spreadsheet contain variable names (Lotus Labels) for their
respective columns. Second, QCA assumes that the data begin in the
second row of the spreadsheet. Finally, QCA assumes that each
column contains cells of the same type of data (i.e., all entries
in a column are either Integers, Floating Point Reals, or Text
Labels). Cells can contain formula as long as the results match
other cell values in the column. Data types can vary across columns
(e.g., a file can contain columns of both Integers and Reals, or
Reals and Labels, etc.), but they must be consistent within columns.
If you have problems trying to load a Lotus compatible file, check
to be sure that the spreadsheet conforms to these assumptions.
With release 3.0, a default format for QCA data files has been
established. This format uses two files. One is a variable names
-15-
file and the other is a data matrix file. The QCA variable names
file is a standard ASCII file that has a .QVN extension. A variable
name corresponding to each column of the data file is listed on a
separate line. In addition, if a CaseId is present, it is ALWAYS
the first variable name and it ALWAYS uses the name CASEID. A file
with CaseIds would look like:
CASEID
VARA
VARB
VARC
VARD
The QCA data matrix file is also a standard ASCII file with the
default extension of .QDM. Each row of the file corresponds to a
case of data. Each variable of data gets only one column in the
file (no 99, or 191), and QCA recognizes only three values: zero
(0), one (1) and don't care (- or 2). Any value other than these
is treated as missing (although a period [.] is the default missing
value indicator). QCA will remove any blanks or commas between
values, although it is best not to use these since they take up
space and limit the number of variables that can be stored in the
file. The one exception to the above rules is for files with
CaseIds.
CaseIDs are used to identify cases within a data matrix. They can
be 1 to 12 characters in length. Blank spaces are legal "characters"
within a CaseID. CaseIds are optional. However, if they are used,
they MUST appear first on a line and must be separated from the rest
of the data by a single comma. An example of a file with a CaseID
is:
Burma,10110011010101220
France,00110011001022101
USA,10101001001001000
-16-
Germany,10100011002001011
10110011010101220
00110011001022101
10101001001001000
10100011002001011
QCA can handle a maximum of 1 CaseId and 255 variables per case.
However, the number 255 assumes that NO spaces and commas appear
within the data portion of a line. In essence, QCA can read a
CaseId (of 1-12 characters), the comma separating the caseid from
the data, and then 255 columns beyond the comma.
Use the following fields and commands to select the file that you
want to analyze.
QCA will recognize CaseIds from data files other than QCA files.
All you need to do is give one of the variables in your file the
name CASEID. It can be any type of variable in any position; i.e.,
it does not need to be the first variable in the file nor does it
need to be a string varible. Whenever QCA opens a "foreign" data
file, it checks for a variable named CASEID. If found, QCA remembers
its location and uses it exclusively for reporting CaseIds.
Window Fields
-17-
directory, and the parent of the current directory.
You can change the current drive or directory by
highlighting an element of this list with the cursor
and then pressing <─┘ or by DOUBLE clicking on the
item with the left mouse button. QCA will
immediately update both the Files List and
Directories List. QCA displays the current drive
and directory at the bottom of the window.
Window Commands
Main Window
-18-
With a Mouse (Left Button)
Click on Field or Label to Move Cursor to Field.
Click on Ok Button to Open the Data File Highlighted in the
Files List.
Click on Cancel Button to Return to the Log without Opening
a Data File.
Click on Help Button to Access QCA's online Help system.
Name Field
-19-
Selecting Files and Directories
QCA provides three ways to open a data file. First, you can move
the cursor to the Name field and type a fully specified file name.
For example, if you want to open the file GAMSON.QDM from the current
directory, simply type:
GAMSON.QDM <─┘
C:\MYDATA\GAMSOM.QDM <─┘
QCA also allows you to open a file by selecting a file name from
the list displayed in the Files List. Use Tab, Shift-Tab, or the
mouse to move the cursor to the Files List. Highlight the name of
the file that you want to open and press <─┘ or double click the
left mouse button on the name. Finally, selecting the Ok button at
any time will cause QCA to open the file that is currently
highlighted in the Files List.
QCA also allows you to change the drive and/or directory that will
be used for loading data files. First, you can move the cursor to
the Name Field and type the new drive and/or directory. IF YOU TYPE
A DIRECTORY NAME, BE SURE TO INCLUDE A \ AS THE LAST CHARACTER. If
you do not include a \, QCA will think that the directory is a file
name, and will try to open it. Optionally, you can also include a
File Mask for QCA to use when updating the Files List. If you do
not include a File Mask, QCA will add one for you. For example, to
change from the current directory to the root directory of drive D,
position the cursor at the Name Field and type:
D:\ <─┘
If you want to search for files with the extension .DAT in the
directory E:\MYDATA, position the cursor at the name field and type:
E:\MYDATA\*.DAT <─┘
-20-
\MYDATA\ <─┘
You can also change the drive and/or directory by selecting one from
the Directories List. In this list QCA displays all system drives,
except the current one, all subdirectories of the current directory,
and the parent of the current directory ([..]). To make a change,
use Tab, Shift-Tab, or the mouse to move the cursor to the
Directories List. Highlight the desired drive or directory and
press <─┘ or double click on the item with the left mouse button.
QCA will update the Files List (using the mask(s) shown in the Name
Field) along with the Directories List.
As discussed above, QCA can read data from several different types
of data files. Currently, these include: QCA files, Gauss system
files, Lotus 123 (or compatible) WK1 or WKS spreadsheet files, Stata
system files, SPSS Export files, and Systat system files. When
asked to open a data file, QCA first tries to identify the file type
by comparing the file extension of the current data file to the list
of default file extensions for each type of file. If this fails,
then QCA will open a window and ask you to provide the data file's
type. To select a file type from the list that QCA supplies: (1)
highlight the appropriate type with the cursor and press the space
bar, (2) hold down the Alt key and then press the highlighted letter
for the appropriate file type (e.g., Alt+G for Gauss system file),
or (3) click on the appropriate type once with the left mouse button.
-21-
SELECTING VARIABLES FOR A TRUTH TABLE
Once a data file has been opened, you can use variables from it to
define the truth table that you want to analyze. You provide this
information to QCA through the "Build a Truth Table" window. In
addition, you can also use this window to tell QCA how to handle
missing values and how to select cases for inclusion in the truth
table. QCA opens this window automatically after you have
successfully opened a data file and assumes that you plan to use
that file. You can also access this window at any time from the
Log using the Select Variables command. In that case, QCA assumes
that you want to use the data file associated with the current Log
function, and opens that file. Use the following fields and commands
to build your truth table.
Window Fields
Dependent Variable
Independent Variables
-22-
Select If A horizontally scrolling text field that is used to
enter a set of logical conditions, separated by
commas, that QCA will use to select cases for
analysis. Each condition is evaluated in the order
specified, and all conditions are connected by the
logical OR. QCA will include a case in the analysis
if it meets ANY ONE of the select if conditions.
QCA evaluates Select If conditions very simply; they
CANNOT be nested in parentheses.
-23-
A list field that presents the names of all variables
in the currently opened data file. Variable names
can be entered into the text fields directly from
this list (how this is done is described below).
This list is "popped" onto the screen by holding
down the Alt key and then pressing V or by clicking
the RIGHT mouse button once.
Window Commands
Main Window
-24-
Back Space Delete the Character to the Left of the
Cursor
Del Delete the Character at the Current Cursor
Position
Alt-D Delete All Characters in the Field
Ins Switch between Insert (Block Cursor) and
Overwrite (Line Cursor) Modes
The "Dependent Variable" field and the "Select If" field require
-25-
you to enter individual variable names. QCA provides two ways to
do this. First, you can simply move the cursor to either of these
fields (using the keyboard or mouse) and type a name of eight or
fewer characters. Variable names are NOT case sensitive; i.e.,
both upper and lower case characters are acceptable. QCA actually
converts all variable names to upper case for matching purposes.
For example, if you want to use WAR as your dependent variable,
type:
war <─┘
QCA will also provide you with a list of all variables in the current
data file and allow you to select a name from this list. To display
this list, hold down the Alt key and press V or click the RIGHT
mouse button once. To mark a variable name, highlight it and press
the space bar or click on it with the left mouse button. Repeating
this operation will clear the selected variable. Select Ok to have
QCA insert the marked variable name into the current field.
var1,var2,var3,var4 <─┘ OR
var1-var4 <─┘
QCA will use var1, var4, and ALL variables found between the two.
It is ok to combine individual variable names with variable ranges.
For example, if you want to use the first, third through sixth, and
ninth variables from a file, you could type:
var1,var3-var6,var9 <─┘
Finally, you can also enter variable names from a list provided by
-26-
QCA. To display this list, hold down the Alt key and press V or
click the RIGHT mouse button once. To mark a variable name,
highlight it and press the space bar or click on it with the left
mouse button. Repeating this operation will clear the selected
variable. Mark as many variables as you like (within the appropriate
program limits). Select Ok to have QCA insert the marked variable
names into the current field.
Normally, QCA tries to use all of the cases in a data file when
building a truth table. However, if a case contains a missing value
(which, technically, is any value other than 0, 1, or Don't Care)
for any of the truth table's variables (dependent or independent)
QCA drops it. This is a fairly standard approach, and you will
probably want to use it most of the time. However, under certain
circumstances, you may want to override this option and have QCA
include cases even if they contain missing values for some of the
truth table variables. This can be done by having QCA convert
missing values to Don't Cares, which are acceptable Boolean truth
table values. QCA allows you to perform this conversion process
selectively. QCA will only convert missing values for those
variables (either dependent or independent) named in the "Missing
to Don't Care" field. Truth table variables not included in this
list will be handled using the default rule (any Missing Value
results in the deletion of the case).
As discussed above, QCA normally uses every case in a data file when
building a truth table (unless a case contains missing values). You
can make QCA be more selective in its use of data cases by specifying
Select If conditions. Select If conditions are simple comparisons
between a variable and a value having the following general form:
-27-
Only)
<= (Lesser than or Equal to - Numeric Variables
Only)
Select If conditions can use ANY variables in the data file. They
are not restricted to the truth table's dependent or independent
variables. Select If conditions are entered in the "Select If"
field. Conditions must be separated using commas. QCA treats the
commas as logical ORs and will include a case in the analysis if it
returns a "true" value for ANY ONE of the Select If conditions. For
example, given the following Select If statement:
QCA will include cases if the value of year is greater than 1947
(regardless of the values of wars and region), OR if the value of
wars is not equal to missing (regardless of the values of year and
region), OR if the value of region is equal to west (regardless of
the values of year and wars). Note that QCA treats a . as indicating
the value "missing." Also note that text values are entered the
same way as numeric values; single or double quotes are not used.
However, be aware that matches of text values are case sensitive.
QCA evaluates the value west as "not equal to" the value West. If
you are not sure whether a variable is text or numeric, hold down
the Alt key and press V. In addition to reporting the names of all
variables in the data file, QCA also indicates the type of the
highlighted variable (as specified by the data file). QCA treats
the Boolean values 0, 1, and Don't Care (from QCA data files) as
text variables. They can be compared using only two operators: =
and <>.
-28-
MINIMIZING A TRUTH TABLE
Window Fields
-29-
since the solution is the NULL SET.
-30-
selected by highlighting it with the cursor and
pressing <─┘, by holding down the Alt key and then
pressing O, by pressing the F10 function key, or by
clicking on it once with the left mouse button.
Window Commands
Main Window
-31-
Lists of Configurations
-32-
THE PRIME IMPLICANT CHART
-33-
The Prime Implicant Chart
Once prime implicants have been generated, QCA must decide which
ones to include in the final solution. QCA does this by first
constructing, and then, simplifying, a prime implicant chart --
the second step in truth table minimization. As mentioned
above, the purpose of this window is to show you, step by step,
how QCA reduces the prime implicant chart and arrives at the
solution for the current minimization problem.
-34-
implicants. Redundant prime implicants are ones which cover a
subset of the configurations implied by another prime implicant.
For example, the prime implicant Ac implies configurations ABc
and Abc. The prime implicant A implies these two configurations
as well as ABC and AbC. If these configurations and prime
implicants were in the same prime implicant chart, then the
configurations implied by Ac would be a subset of those implied
by A. Keeping Ac would add no additional information -- the
effect of Ac is redundant in light of the presence of A.
Therefore, Ac could be eliminated from the table; the
configurations covered by Ac will now simply be covered by A.
QCA marks redundant prime implicants with the letter "X" once
they have been removed from the chart.
Window Commands
-35-
Move the Chart Down One Prime
<- Move the Chart Left One Configuration
-> Move the Chart Right One Configuration
PgUp Move the Chart Up One Screen
PgDn Move the Chart Down One Screen
Ctrl/<- Move the Chart Left One Screen
Ctrl/-> Move the Chart Right One Screen
Home Move to the Top of the Chart
End Move to the Bottom of the Chart
Other Commands
-36-
return you to the original prime implicant chart.
When you press this key, you are not actually
undoing the previous step in the simplification
process. You are merely seeing what the chart
looked like before the last application of the
core and redundant rows rules.
-37-
implicants, in the final solution. If a prime
implicant already has been removed because it is
redundant (i.e., marked with an "X"), then it
will not be included in the final solution. The
status of prime implicants is determined by the
last actual step of the simplification process,
not by the step that is currently displayed on
the screen.
-38-
REDUCING THE PRIME IMPLICANT CHART BY HAND
-39-
large number of *'s in their rows (indicating that they imply a
large number of the remaining configurations). However, from a
theoretical standpoint, you may want to mark any primes that
contain certain variables, regardless of their relative ability
to cover configurations. However you approach the problem, the
ultimate goal is to keep marking primes until you cover all
remaining configurations. If you want to continue marking
primes beyond this point, that is fine. You will still have a
valid solution to the minimization of the truth table -- it just
won't be the most minimal solution.
Window Commands
Click on
Prime Move Cursor to Prime and Mark/Clear
-40-
Click on -> Move the Screen Right One Configuration
Click to the
left of _ Move Configurations Left One Screen
Click to the
right of _ Move Configurations Right One Screen
Click to the
right of <- Show First Screen of Configurations
Click to the
left of -> Show Last Screen of Configurations
Other Commands
-41-
THE FUNCTION EDITOR
The Function Editor also lets you measure the impact on total
frequencies of the addition or deletion of specific function
terms. QCA displays this information in a row labeled "Checked"
at the bottom of the table. Only terms marked with a are
included in the computation of the frequencies reported in this
row. Use the space bar to mark or clear the term at the cursor,
or double click the left mouse button on a term. The Recompute
Table command (Alt-R) will compute frequencies using only the
marked terms and then update the information in the "Checked"
row. By adding and deleting terms, you can assess the relative
power of a group of terms to cover the truth table and/or raw
data. You can also get a pretty good sense of the extent to
which function terms overlap in the truth table configurations
that they imply.
Cursor Movement
-42-
Ctrl-Home Move Cursor to Top Line on Screen
Ctrl-End Move Cursor to Bottom Line on Screen
Ctrl-PgUp Show First Screen of Table
Ctrl-PgDn Show Last Screen of Table
Space Bar Mark/Clear Term at Current Line
File Commands.....................................Alt-F
Which File?..................................Alt-W
The Which File? command tells you exactly "which file" is
linked to the function in the editor.
Save Output..................................Alt-O
The Save Output command allows you to save either the
current screen or the entire table to an output file. QCA
asks you to enter a filename (default = QCA.OUT), select
the amount of text to be saved (All or Screen), and select
how the file should be written (replace the output file by
Overwriting it or add to the output file by Appending text
to the end of it).
Print Output.................................Alt-P
The Print Output command allows you to send output directly
to a printer (LPT1) if one is connected. It is identical
to the Save command, except that it (obviously) does not
need you to indicate whether to Overwrite or Append
results.
Edit Commands.....................................Alt-E
-43-
View CaseIds.................................Alt-I or Click
Right Mouse Button
The View CaseIds command allows you to browse through the
CaseIds for the data cases implied by the current function
term. QCA presents the CaseIds by truth table
configuration, and also reports the number of function
terms that imply each configuration (providing a rough
measure of overlap among function terms).
Goto CaseId..................................Alt-G
The Goto CaseId command allows you to search for a
particular CaseId and, if found, moves the cursor to the
function term that implies it. QCA provides a window for
you to enter the CaseId and to specify the direction of the
search (forward or backward from the current cursor
position), the type of match (exact or partial), and case
sensitivity (match by case or not). If the match is
successful, you can repeat it by simply pressing Shift-
(repeat search in a backward direction) or Shift- (repeat
search in a forward direction). If a match is found, QCA
automatically calls the View CaseIds command so that you
can view the CaseId.
Methods Commands..................................Alt-M
Recompute Table..............................Alt-R
The Recompute Table command allows you to recompute
frequencies for a function using only those terms that you
have marked. The row labeled "Checked" at the bottom of
the table reports the number of truth table configurations
and raw data cases implied by all checked terms combined.
By adding and deleting terms, and then recomputing the
table, you can get a good sense of the degree of overlap
among terms in the function. You can Mark or Clear a term
by highlighting it with the cursor and pressing the Space
Bar, or by double clicking on it with the left mouse
button. QCA marks terms with a .
-44-
THE TRUTH TABLE EDITOR
Cursor Movement
-45-
Click below _ Move Table Down One Screen
Click below Show First Screen of Table
Click above Show Last Screen of Table
Click on Line Move Cursor to Line
File Commands.....................................Alt-F
Which File?..................................Alt-W
The Which File? command tells you exactly "which file" is
linked to the truth table in the editor.
Save Output..................................Alt-O
The Save Output command allows you to save either the
current screen or the entire truth table summary to an
output file. QCA asks you to enter a filename (default =
QCA.OUT), select the amount of text to be saved (All or
Screen), and select how the file should be written (replace
the output file by Overwriting it or add to the output file
by Appending text to the end of it). The Save Output
command saves a summary of the truth table so that you can
view or print it later; it does NOT create a data matrix
file that can be analyzed using QCA. Use the New Data File
command to create a QCA data matrix file.
Print Output.................................Alt-P
The Print Output command allows you to send output directly
to a printer (LPT1) if one is connected. It is identical
to the Save command, except that it (obviously) does not
need you to indicate whether to Overwrite or Append
results.
Edit Commands.....................................Alt-E
-46-
View CaseIds.................................Alt-I or Click
Right Mouse Button
The View CaseIds command allows you to browse through the
CaseIds for the data cases associated with the current
truth table configuration.
Goto CaseId..................................Alt-G
The Goto CaseId command allows you to search for a
particular CaseId and, if found, moves the cursor to the
truth table configuration that implies it. QCA provides a
window for you to enter the CaseId and to specify the
direction of the search (forward or backward from the
current cursor position), the type of match (exact or
partial), and case sensitivity (match by case or not). If
the match is successful, you can repeat it by simply
pressing Shift- (repeat search in a backward direction) or
Shift- (repeat search in a forward direction). If a match
is found, QCA automatically calls the View CaseIds command
so that you can view the CaseId.
Recode Output................................Alt-R
In the Truth Table Editor, QCA displays the number and
percentage of 0, 1, and don't care (-) cases associated
with each truth table configuration as well as the specific
output value assigned to each configuration based on these
cases. The Recode Output command allows you to change the
output value assigned to a configuration by assigning new
values to the 0, 1, and don't care cases. QCA opens a
window showing the current coding of 0, 1, and don't care
cases and gives you an opportunity to enter new output
values for these cases. QCA then updates the output value
assigned the truth table configuration and marks the recode
by placing "R+New Value" next to the output cases recoded.
This command is useful for recoding contradictory
configurations to 0 or 1 based upon their tendencies in the
data.
Methods Commands..................................Alt-M
Summarize Table..............................Alt-T
The Summarize Table command displays the total number of 0,
1, Don't Care, Contradictory, and Logical Configurations
for the truth table. QCA provides this information for the
current state of the truth table (taking into account any
-47-
recodes) under the column labeled "New" as well as for the
original state of the truth table (prior to any recodes)
under the column labeled "Old." This makes it easier to
see what impact, if any, recoding has had on the
composition of the truth table.
-48-
THE DATA MATRIX EDITOR
You can use the Data Matrix Editor to create or edit raw data
matrices. Each row is a "case" of data, and each column
represents a variable. The dependent variable is always the
last column of the matrix. To enter a value for a variable,
simply press the 0, 1, or - key. If a data set contains
CaseIds, they will be listed to the left of the raw data.
CaseIds can be edited by pressing the space bar or clicking the
right mouse button.
Cursor Movement
-49-
Click above _ Show Previous Screen of Data
Click below _ Show Next Screen of Data
Click below Show First Screen of Data
Click above Show Last Screen of Data
Click on Line Move Cursor to Line
Click Right Button Move Cursor to CaseId
File Commands.....................................Alt-F
Save Output..................................Alt-O
The Save Output command allows you to save either the
current screen or the entire data matrix to an output file.
QCA asks you to enter a filename (default = QCA.OUT),
select the amount of text to be saved (All or Screen), and
select how the file should be written (replace the output
file by Overwriting it or add to the output file by
Appending text to the end of it). The Save Output command
saves a listing of the data so that you can view or print
it later; it does NOT create a data matrix file that can
be analyzed using QCA. Use the New Data File command to
create a QCA data matrix file.
Print Output.................................Alt-P
The Print Output command allows you to send output directly
to a printer (LPT1) if one is connected. It is identical
to the Save command, except that it (obviously) does not
need you to indicate whether to Overwrite or Append
results.
Edit Commands................................Alt-E
Insert Line..................................Alt-I
-50-
The Insert Line command inserts a blank line at the cursor.
Lines below the cursor are pushed down to provide room for
the new line.
Delete Line..................................Alt-D
The Delete Line command deletes the line at the cursor.
Lines below the cursor are pulled up to replace the deleted
line.
Find Contradiction...........................Alt-C
The Data Matrix editor lists data case by case. Because
the data are not summarized in the form of a truth table,
it can be very difficult to identify contradictory
configurations. The Find Contradiction command does this
for you. When you execute this command, QCA looks for the
next configuration of independent variables in the data
that has both a 0 and 1 value on the dependent variable,
beginning with the line of data at the cursor. If a
contradiction is found, then QCA moves the cursor to the
next occurrence of this configuration.
Methods Commands..................................Alt-M
Summarize Table..............................Alt-T
The Summarize Table command creates a truth table from the
-51-
raw data in the editor and then displays the total number
of 0, 1, Don't Care, Contradictory, and Logical
Configurations in the truth table.
Summarize Row................................Alt-R
The Summarize Row command counts the number of times that
the configuration at the cursor occurs with an output value
of 0, 1, or don't care and then reports this information
next to the configuration. This information is similar to
that available in the Truth Table Editor.
-52-
THE HYPOTHESIS EDITOR
Cursor Movement
-53-
Click on Move Cursor Up One Line
Click on Move Cursor Down One Line
Click above _ Show Previous Screen of Data
Click below _ Show Next Screen of Data
Click below Show First Screen of Data
Click above Show Last Screen of Data
Click on Line Move Cursor to Line
File Commands.....................................Alt-F
Which File?..................................Alt-W
The Which File? command tells you exactly "which file" is
inherited by the hypothesis in the editor. This file comes
from the truth table that is the model for the hypothesis.
Save Output..................................Alt-O
The Save Output command allows you to save either the
current screen or the entire hypothesis to an output file.
QCA asks you to enter a filename (default = QCA.OUT),
select the amount of text to be saved (All or Screen), and
select how the file should be written (replace the output
file by Overwriting it or add to the output file by
Appending text to the end of it). The Save Output command
saves a listing of the hypothesis so that you can view or
print it later; it does NOT create a separate data file
for the hypothesis.
Print Output.................................Alt-P
The Print Output command allows you to send output directly
to a printer (LPT1) if one is connected. It is identical
to the Save command, except that it (obviously) does not
need you to indicate whether to Overwrite or Append
results.
Edit Commands................................Alt-E
Insert Line..................................Alt-I
The Insert Line command inserts a blank line at the cursor.
Lines below the cursor are pushed down to provide room for
-54-
the new line.
Delete Line..................................Alt-D
The Delete Line command deletes the line at the cursor.
Lines below the cursor are pulled up to replace the deleted
line.
-55-