sextreme | R Documentation |
Calculates the surprisal (in bits) that a cumulative distribution function
probability is at least that extreme.
sextreme(x, directional = FALSE)
x |
A numeric vector of values between 0 and 1. |
directional |
A flag specifying whether probabilities less than 0.5 should be returned as negative values. |
A numeric vector of surprisal values.
Other residuals:
pextreme()
sextreme(seq(0.1, 0.9, by = 0.1))
sextreme(seq(0.1, 0.9, by = 0.1), directional = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.