# triangle.pair.test: Make a Triangle test for two products In SensoMineR: Sensory Data Analysis

## Description

Make a Triangle test for two products.

## Usage

 `1` ```triangle.pair.test (nb.good, nb.answer) ```

## Arguments

 `nb.good` number of panelists who identify the odd sample `nb.answer` number of panelists who make the triangle test

## Details

Triangle test: panelists receive three coded samples. They are told that two of the sample are the same and one is different. Panelists are asked to identify the odd sample.

## Value

Returns

 `p.value` the p-value of the Triangle test; `Estimation` estimation by Maximum Likelihood of the number of panelists who really perceive the difference between the products; `ML` Maximum Likelihood of the estimation of the number of panelists who really perceive the difference between the products; `minimum` minimum of panelists who should detect the odd product to can say that panelists perceive the difference between the products.

## Author(s)

Francois Husson

`triangle.test`, `triangle.design`

## Examples

 `1` ```triangle.pair.test (11, 20) ```

### Example output

```Loading required package: FactoMineR
[1] "P-value of the Triangle test: 0.03764"
[1] "At the 95% level, one can say that the panelists make the difference between the two products"
[1] "The estimation (by  Maximum Likelihood) of panelist which really perceived the difference between the two products is: 7"
[1] "The  Maximum Likelihood is:  0.22961"
[1] "The minimum of panelists who should detect the odd product to can say that panelists perceive the difference between the products is: 11"
\$p.value
[1] 0.03763657

\$Estimation
[1] 7

\$ML
[1] 0.22961

\$minimum
[1] 11
```

SensoMineR documentation built on Dec. 13, 2017, 9:04 a.m.