discrimSS {sensR}R Documentation

Sensory discrimination sample size calculation

Description

Computes the sample size for any one of four methods: 2-AFC, 3-AFC, duotrio and triangle tests given the underlying sensory difference d, the type 1 test level and the required power.

Usage

discrimSS(delta, power, alpha,
          method = c("duotrio", "threeAFC", "twoAFC", "triangle"))

Arguments

delta the underlying sensory difference (larger than zero)
power the wanted power (between zero and one)
alpha the type 1 level of the test (between zero and one)
method the discrimination protocol. Four allowed values: "twoAFC", "threeAFC", "duotrio", "triangle"

Details

The function uses one of the dedicated binomial families and the discrimPwr function

Value

The sample size

Author(s)

Per Bruun Brockhoff and Rune Haubo B Christensen

References

Brockhoff, P.B. and Christensen, R.H.B.(2008). Thurstonian models for sensory discrimination tests as generalized linear models. Manuscript for Food Quality and Preference.

See Also

triangle, twoAFC, threeAFC, duotrio, discrim, discrimSim, AnotA, discrimPwr, samediff, findcr

Examples

## Finding the necessary sample size:
discrimSS(1, 0.9, 0.05, "twoAFC")
discrimSS(1, 0.9, 0.05, "threeAFC")
discrimSS(1, 0.9, 0.05, "duotrio")
discrimSS(1, 0.9, 0.05, "triangle")


[Package sensR version 1.0.0 Index]