| svalue | R Documentation |
The surprisal value (Greenland 2019) is the pvalue expressed in terms of how many consecutive heads would have to be thrown on a fair coin in a single attempt to achieve the same probability.
svalue(x, threshold = 0, na_rm = FALSE)
x |
A numeric object of MCMC values. |
threshold |
A number of the threshold value. |
na_rm |
A flag specifying whether to remove missing values. |
A non-negative number.
Greenland, S. 2019. Valid P -Values Behave Exactly as They Should: Some Misleading Criticisms of P -Values and Their Resolution With S -Values. The American Statistician 73(sup1): 106–114. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/00031305.2018.1529625")}.
Other summary:
kurtosis(),
lower(),
pvalue(),
pzeros(),
skewness(),
upper(),
variance(),
xtr_mean(),
xtr_median(),
xtr_sd(),
zeros(),
zscore()
svalue(as.numeric(0:100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.