ClustBlock (version 3.2.0)

consistency_cata: Test the consistency of each attribute in a CATA experiment

Description

Permutation test on the agreement between subjects for each attribute in a CATA experiment

Usage

consistency_cata(Data,nblo, nperm=100, alpha=0.05, printAttrTest=FALSE)

Value

a list with:

  • consist: the consistent attributes

  • no_consist: the inconsistent attributes

  • pval: pvalue for each test

Arguments

Data

data frame or matrix. Correspond to all the blocks of variables merged horizontally

nblo

numerical. Number of blocks (subjects).

nperm

numerical. How many permutations are required? Default: 100

alpha

numerical between 0 and 1. What is the threshold? Default: 0.05

printAttrTest

logical. Print the number of remaining attributes to be tested? Default: FALSE

References

Llobell, F., Giacalone, D., Labenne, A., Qannari, E.M. (2019). Assessment of the agreement and cluster analysis of the respondents in a CATA experiment. Food Quality and Preference, 77, 184-190.

See Also

consistency_cata_panel, change_cata_format, change_cata_format2

Examples

Run this code
# \donttest{
 data(straw)
#with only 40 subjects
consistency_cata(Data=straw[,1:(16*40)], nblo=40)
#with all subjects
consistency_cata(Data=straw, nblo=114, printAttrTest=TRUE)
# }

Run the code above in your browser using DataLab