EstimBradley(Data, Constraint=0, Tcla=1, eps=1e-04, eps1=1e-04, TestPi=TRUE)DataPairComp
Constraint=0, the sum of Bradley's scores should be equal to 1.
For other values for Constraint, the product of Bradley's scores should be equal to 1.(default constraint=0)eps=1e-04).
eps1=1e-04).
TestPi=TRUE multiple comparison tests for Bradley's scores are performed. Else no multiple comparison test. (default is TestPi=TRUE )
BradleyEstim with the following components:
matrix describing the evolution of log likelihood at the different steps of the maximization procedure.
numeric Final estimates of classes' weight
list of Tcla elements containing Bradley'scores for the different criteria
matrix of the belongings probabilities of the individuals to the different classes and the belonging class according to these probabilities
TestPi=TRUE)
list of five elements:lvrH0 matrix of size (Tcla * number of criteria), giving the value of the log likelihood under the hypothesis of equality of Bradley's scoreslvrH1 matrix of size (Tcla * number of criteria), giving the value of the log likelihood under the hypothesis of non equality of Bradley's scoreslRatio matrix of size (Tcla * number of criteria), giving the value of the log likelihood Ratio statisticPvalue matrix of size (Tcla * number of criteria), giving the P value of the log likelihood Ratio testH1 matrix of size (Tcla * number of criteria) giving the result of rejection of equality of Bradley's scoresTestPi=TRUE and if Bradley's scores are not equal)
list of Tcla elements of type matrix of size (number of paired comparison * 7), each column corresponding to:class identification,criterion identification,product identification i,product identification j,value for the statistic corresponding to H0: equality of the Bradley's scores of products i and j,P value of this test,Rejection or acceptation of H0 for a level of 5%.TestPi=TRUE)list of Tcla elements containing Bradley'scores covariance matrices for the different criteria.
data(Cocktail)
show(Cocktail)
ResCock1<-EstimBradley(Cocktail,Constraint=0,Tcla=1,eps=0.001,eps1=0.001,TestPi=TRUE)
show(ResCock1)
Run the code above in your browser using DataLab