showXtremeEventsDis {mcStats} | R Documentation |
Show Extreme Events from a Discrete Distribution
Description
Show Extreme Events from a Discrete Distribution
Usage
showXtremeEventsDis(testID, obsVal, expVal, xVals, probFun, ...)
Arguments
testID |
name of test being performed. This is used to title the graph |
obsVal |
observed x value |
expVal |
expected x value |
xVals |
domain of x (possible values) |
probFun |
probability mass function for the given distribution |
... |
addition arguments passed to probFun |
Value
graph coloring events by how extreme they are under the null hypothesis
Examples
showXtremeEventsDis("Prop. Test", 3, 5, 0:10, probFun = dbinom, size = 10, prob = 0.5)
[Package mcStats version 0.1.2 Index]