Description Usage Arguments Details Value Author(s) See Also Examples

Finds the critical value in a one-tailed binomial test

1 2 |

`sample.size` |
the sample size of the binomial test (must be a positve integer) |

`alpha` |
the test I error-level of the test (must be between zero and one) |

`p0` |
the guessing probability under the null-hypothesis (must be between zero and one); 1/2 for the duotrio and twoAFC tests and 1/3 for the triangle, tetrad and threeAFC tests |

`pd0` |
the proportion of discriminators in the population of interest |

`test` |
the type of test |

The critical value of the standard one-tailed difference test of "no
difference" is obtained with `pd0 = 0`

.

The probability of a correct answer under the null hypothesis is
given by `pd0 + p0 * (1 - pd0)`

.

The critical value in a one-tailed binomial test, that is, the smallest integer such that the null hypothesis binomial probability of being larger (smaller for similarity hypotheses) than or equal to this number is smaller than or equal to the type I error-level of the test.

Rune Haubo B Christensen and Per Bruun Brockhoff

`triangle`

, `twoAFC`

,
`threeAFC`

, `duotrio`

, `tetrad`

,
`discrim`

, `discrimPwr`

,
`discrimSim`

, `AnotA`

`discrimSS`

, `samediff`

1 2 3 4 5 6 |

```
[1] 13
[1] 7
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.