Learn R Programming

CompR (version 1.0)

getRestestglob: Gets the result of the test of Bradley's scores equality.

Description

Gets the result of the test of Bradley's scores equality from the function EstimBradley().

Usage

getRestestglob(object)

Arguments

object
An object of class BradleyEstim

Value

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 scores

Examples

Run this code
data(Cocktail)
ResCock<-EstimBradley(Cocktail,Constraint=0,Tcla=1,eps=1e-04,eps1=1e-04,TestPi=TRUE)
ResCock_Restestglob<-getRestestglob(ResCock)

Run the code above in your browser using DataLab