CompR-package: Paired Comparison Data Analysis

Description Details Author(s) See Also Examples

Description

Different tools for describing and analysing paired comparison data are presented. Main methods are estimation of products scores according Bradley Terry Luce model. A segmentation of the individual could be conducted on the basis of a mixture distribution approach. The number of classes can be tested by the use of Monte Carlo simulations. This package deals also with multi-criteria paired comparison data.

Details

Package: CompR
Type: Package
Version: 1.0
Date: 2015-07-01
License: GPL-2
Depends: methods, MASS, stats, graphics, utils

Function to estimate products configurations (Bradley's scores) and weights of the
classes is EstimBradley().

Function to perform a test concerning the number of classes is ResSimulLvrRatio().

Function to obtain a graphical representation of Bradley's scores is Piplot().

Author(s)

Michel Semenou

Maintainer: <michel.semenou@oniris-nantes.fr>

See Also

EstimBradley, ResSimulLvrRatio, Piplot

Examples

1
2
3
4
5
6
7
data(Cocktail)
show(Cocktail)
ResCock1<-EstimBradley(Cocktail,Constraint=0,Tcla=1,eps=0.001,eps1=0.001,TestPi=TRUE)
show(ResCock1)
Res_LvrRatio1<-ResSimulLvrRatio(Cocktail,ResCock1,0,3,level=0.05,eps=0.001,eps1=0.001)
getSimu(Res_LvrRatio1)
getTest(Res_LvrRatio1)

Example output

Loading required package: MASS

*** Class DatPairComp, method Show***

* Cons (limited to 10 individuals) =   1  2  3  4  5  6  7  8  9 10 

*Crit =  

*Prod (limited to 10 products) =  P1 P2 P3 P4 P5 P6 P7 

*PairComp (for all criteria, limited to 4 individuals and 10 products) = 

**********Crit =   ****************


 1 
     P1 P2 P3 P4 P5 P6 P7
[1,]  0  0  0  0  0  0  0
[2,]  0  0  0  0  0  1  1
[3,]  1  0  0  0  0  0  0
[4,]  1  0  0  0  0  0  0
[5,]  0  0  0  1  0  1  0
[6,]  0  0  0  0  0  0  0
[7,]  0  0  1  0  0  0  0

 2 
     P1 P2 P3 P4 P5 P6 P7
[1,]  0  0  0  0  0  0  0
[2,]  1  0  0  0  1  0  0
[3,]  0  0  0  0  0  1  0
[4,]  0  0  0  0  0  1  0
[5,]  0  0  1  0  0  0  0
[6,]  0  0  0  0  0  0  0
[7,]  1  0  0  1  0  0  0

 3 
     P1 P2 P3 P4 P5 P6 P7
[1,]  0  0  0  0  0  0  0
[2,]  0  0  0  0  0  1  0
[3,]  1  0  0  0  0  0  0
[4,]  0  1  1  0  0  0  0
[5,]  1  0  0  0  0  0  0
[6,]  0  0  0  0  0  0  1
[7,]  0  0  0  0  1  0  0

 4 
     P1 P2 P3 P4 P5 P6 P7
[1,]  0  0  1  0  0  0  0
[2,]  1  0  0  0  0  0  1
[3,]  0  0  0  0  1  0  0
[4,]  0  0  0  0  1  1  0
[5,]  0  0  0  0  0  0  0
[6,]  0  0  0  0  0  0  0
[7,]  0  0  0  0  0  1  0

*** Class BradleyEstim, method Show***

******Class 1 Weight =  1

***** Bradley's scores******
         [,1]
P1 0.01496032
P2 0.24273135
P3 0.08626979
P4 0.14300115
P5 0.22452892
P6 0.07012654
P7 0.21838201
     TclaH0     LvrH0     LvrH1 LvrH1-LvrH0
[1,]      1 -420.6727 -413.3845    7.288171
[2,]      1 -439.5651 -438.1162    1.448861
[3,]      1 -406.7612 -402.7771    3.984059
     Level Quantile
[1,]  0.05  6.95776

CompR documentation built on May 1, 2019, 10:56 p.m.