pcjm2: a program for the axiomatic conjoint measurement analysis of polynomial composition rules

2
Behavior Research Methods & instrumentation 1978, Vol. 10 (1), 89-90 PCJM2: A program for the axiomatic conjoint measurement analysis of polynomial composition rules JAMES R. ULLRICH, DAVID E. CUMMINS, and JOHN WALKENBACH University of Montana, Missoula, Montana 59812 Description. This program is designed to discriminate between the additive [A + P + U], the distributive [(A + P)U] , and the dual-distributive [AP + U] poly- nomial composition rules using the axiomatic tests of the algorithm described by Krantz and Tversky (1971). This revised version of the original PCJM program (Ullrich & Cummins, 1973) incorporates several substantial additions to the original routine. New additions include an option to assist in assessing "signed" cases, the ability to work with multiple entries per cell, provisions for handling missing data, and the inclusion of a count of the number of times a particular cell is involved in a violation of each of the axiomatic tests. The input consists of the number of levels of each of the three variables and a matrix of the data obtained from the factorial combinations of the three variables. The program is broken down into a number of subroutines, which analyze the data for the diagnostic tests of independence of each variable from the other two and of double cancellation and joint independence for all pairs of variables. Two additional subroutines analyze the data for distributive cancellation and dual- distributive cancellation with respect to the odd variable, which is specified upon input. The output consists of (1) the matrix of the input data with the variables A, P, and U identified and printed; (2) the total number of configurations of the data for which the conditions for the tests of inde- pendence, double cancellation, and joint independence are satisfied in each dimension or pair of dimensions; (3) the total number of tests for the odd variable on distributive cancellation and dual-distributive cancella- tion; and (4) the specific configurations representing failures of any particular test up to a user-specified maximum number, as well as the total number of failures. In addition, (5) a matrix listing the number of times each cell was involved in a violation is printed for each test. This is particularly useful in the identifi- cation of one or more "bad" data points. The number of levels of each of the three variables is limited only by the time necessary to analyze the data and the storage capacity of the particular machine. As currently dimensioned, this limit is a 6 by 6 by 6 matrix. Program development was supported in part by a grant from the University of Montana and the University of Montana Foundation. 89 In addition to the intact input matrix, PCJM2 optionally performs any or all of the diagnostic tests on up to five contiguous submatrices of the original matrix. This option is especially useful for cases in which levels of one or more of the variables are zero or negative (i.e., the signed case). PCJM2 is capable of performing the diagnostic tests when multiple cell entries are available. Specifically, from 3 to a maximum of 50 entries per cell may be input. A Mann-Whitney U test is performed for all pairs of cells, and a cell is considered greater than another if the cell entries differ at less than the .05 level. Rank orders are induced and all subsequent analyses are performed on the ranks. The algorithm for this routine is the one used by Holt and Wallsten (1975). Characteristics of the Program. The number of possible tests for which the preconditions hold is not completely specified by the algorithm as detailed by Krantz and Tversky (1971). For example, consider the test of independence specified in their Equation 1: (a,p,u) (b,p,u) if (a,q,v) (b,q,v). Literally taken, this test holds for all a,b contained in A, p,q con- tained in P, and u,v contained in U. This would, however, produce a large number of trivial tests, as for example, when a =b. PCJM2 does not count the trivial tests, but instead will count only the desired [C(DIM1,2)*C(DIM2*DIM3,2)] number of tests when II = 1, where C(ij) is the combinatorial of i things taken j at a time. A very similar restriction restricts the number of tests when checking for joint independence. The subroutine for checking distributive cancellation has two forms of restrictions that allow it to check only the nontrivial tests of double cancellation. The first restriction is that the intermediate levels of factors A and P (denoted b and q) must fall between the extreme values (denoted a, c, p, and r). That is, either a < b < c or a > b > c and either p < q < r or p > q > r, where orderings on the lowercase alphabetic characters reflect the orderings as defined by the subroutine for checking single-factor independence. The restrictions in the subroutine for checking distributive cancellation amount to choosing all values of the levels subject to the restriction that u "*v, a "*b, c"* d, p"* q, and r"* s. There is an additional restriction that if a < b then c < d or if a> b then c > d. Similarly, if p < q then r < s or if p > q then r> s. If there is one failure in a rectangular solid picked up by the sub- routine, and if there are no ties within the solid, then there will be four failures. If ties exist, there may be less than four failures. Thus, if there are no ties within the matrix, the nature of the distributive cancellation is that the number of failures must be a multiple of four. Because the presence of ties may reduce this value to less than four, it was felt not desirable to reduce this number by integer division.

Upload: david-e-cummins

Post on 10-Dec-2016

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: PCJM2: A program for the axiomatic conjoint measurement analysis of polynomial composition rules

Behavior Research Methods & instrumentation1978, Vol. 10 (1), 89-90

PCJM2: A program for the axiomatic conjointmeasurement analysis of polynomial

composition rules

JAMES R. ULLRICH, DAVID E. CUMMINS,and JOHN WALKENBACH

University ofMontana, Missoula, Montana 59812

Description. This program is designed to discriminatebetween the additive [A + P +U], the distributive[(A +P)U] , and the dual-distributive [AP +U] poly­nomial composition rules using the axiomatic tests ofthe algorithm described by Krantz and Tversky (1971).This revised version of the original PCJM program(Ullrich & Cummins, 1973) incorporates severalsubstantial additions to the original routine. Newadditions include an option to assist in assessing"signed" cases, the ability to work with multiple entriesper cell, provisions for handling missing data, and theinclusion of a count of the number of times a particularcell is involved in a violation of each of the axiomatictests. The input consists of the number of levels of eachof the three variables and a matrix of the data obtainedfrom the factorial combinations of the three variables.The program is broken down into a number ofsubroutines, which analyze the data for the diagnostictests of independence of each variable from the othertwo and of double cancellation and joint independencefor all pairs of variables. Two additional subroutinesanalyze the data for distributive cancellation and dual­distributive cancellation with respect to the odd variable,which is specified upon input.

The output consists of (1) the matrix of the inputdata with the variables A, P, and U identified andprinted; (2) the total number of configurations of thedata for which the conditions for the tests of inde­pendence, double cancellation, and joint independenceare satisfied in each dimension or pair of dimensions;(3) the total number of tests for the odd variable ondistributive cancellation and dual-distributive cancella­tion; and (4) the specific configurations representingfailures of any particular test up to a user-specifiedmaximum number, as well as the total number offailures. In addition, (5) a matrix listing the numberof times each cell was involved in a violation is printedfor each test. This is particularly useful in the identifi­cation of one or more "bad" data points. The numberof levels of each of the three variables is limited onlyby the time necessary to analyze the data and thestorage capacity of the particular machine. As currentlydimensioned, this limit is a 6 by 6 by 6 matrix.

Program development was supported in part by a grantfrom the University of Montana and the University of MontanaFoundation.

89

In addition to the intact input matrix, PCJM2optionally performs any or all of the diagnostic testson up to five contiguous submatrices of the originalmatrix. This option is especially useful for cases in whichlevels of one or more of the variables are zero or negative(i.e., the signed case).

PCJM2 is capable of performing the diagnostic testswhen multiple cell entries are available. Specifically,from 3 to a maximum of 50 entries per cell may beinput. A Mann-Whitney U test is performed for allpairs of cells, and a cell is considered greater thananother if the cell entries differ at less than the .05 level.Rank orders are induced and all subsequent analysesare performed on the ranks. The algorithm for thisroutine is the one used by Holt and Wallsten (1975).

Characteristics of the Program. The number ofpossible tests for which the preconditions hold is notcompletely specified by the algorithm as detailed byKrantz and Tversky (1971). For example, consider thetest of independence specified in their Equation 1:(a,p,u) ~ (b,p,u) if (a,q,v) ~ (b,q,v). Literally taken,this test holds for all a,b contained in A, p,q con­tained in P, and u,v contained in U. This would,however, produce a large number of trivial tests,as for example, when a =b. PCJM2 does not count thetrivial tests, but instead will count only the desired[C(DIM1,2)*C(DIM2*DIM3,2)] number of tests whenII =1, where C(ij) is the combinatorial of i thingstaken j at a time. A very similar restriction restricts thenumber of tests when checking for joint independence.

The subroutine for checking distributive cancellationhas two forms of restrictions that allow it to checkonly the nontrivial tests of double cancellation. Thefirst restriction is that the intermediate levels offactors A and P (denoted b and q) must fall betweenthe extreme values (denoted a, c, p, and r). That is,either a < b < c or a > b > c and either p < q < r orp > q > r, where orderings on the lowercase alphabeticcharacters reflect the orderings as defined by thesubroutine for checking single-factor independence.

The restrictions in the subroutine for checkingdistributive cancellation amount to choosing all valuesof the levels subject to the restriction that u "*v, a "*b,c"* d, p"* q, and r"* s. There is an additional restrictionthat if a < b then c < d or if a> b then c > d. Similarly,if p < q then r < s or if p > q then r > s. If there is onefailure in a rectangular solid picked up by the sub­routine, and if there are no ties within the solid, thenthere will be four failures. If ties exist, there may be lessthan four failures. Thus, if there are no ties withinthe matrix, the nature of the distributive cancellationis that the number of failures must be a multiple offour. Because the presence of ties may reduce this valueto less than four, it was felt not desirable to reducethis number by integer division.

Page 2: PCJM2: A program for the axiomatic conjoint measurement analysis of polynomial composition rules

90 ULLRICH, CUMMINS, AND WALKENBACH

The restrictions in the subroutine to assess dual­distributive cancellation are made by a completelysubjective process. They consist solely of insuringthat either the order a < b < c < d < e or the ordera > b > c > d > e holds. Similarly, it must be thecase that either p < q < r < s < t or p > q > r > s > tand either u < v < w < x < y or u >v > w >x > y.The authors make no claims about the optimality ofthe restrictions in this subroutine. The program handlesmissing data in the following manner. When testingis being done, a certain number of cells are chosen bythe program. If anyone of these cells is missing, thetest is not performed for the set of chosen cells. Missingdata appear on the output listing as "****."

Computer and Language. This program is writtenfor the Digital Equipment Corporation System-IOcomputer in FORTRAN IV. No machine-specificinstructions are used.

Availability. Copies of the source code, programwrite-up, and sample output may be obtained by sendinga blank tape to James R. Ullrich, Computer Center,University of Montana, Missoula, Montana 59812.

REFERENCES

HOLT, J. 0., & WALLSTEN, T. S. A users manual forCONJOINT: A computer program for evaluating certainconjoint measurement axioms. Catalogue of SelectedDocuments in Psychology, 1975, 5, 317 (MS No. 1079).

KRANTZ, D. H., & TVERSKY, A. A conjoint-measurementanalysis of composition rules in psychology. PsychologicalReview, 1971, 78, 151·169.

ULLRICH, J. R., & CUMMINS, D. E. PCJM: A program forconjoint measurement analysis of composition rules.Behavioral Science, 1973, 18, 151-169.

(Accepted for publication December 22, 1977.)