SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
Ariel Linden
Statistical Software Components from Boston College Department of Economics
Abstract:
svalue computes S-values corresponding to all P-values ranging from 0.0001 to 1.0, and generates a plot with the specific S-value highlighted. An S-value (Greenland 2018, 2019), also referred to as a self-information or surprisal information measure (Shannon 1948; MacKay 2003; Fraundorf 2019), is a negative base-2 log transformation of the P-value (or any probability value in the [0,1] range), such that S = -log(p)/log(2). Greenland (2017, 2018, 2019) advocates for the use of S-values to assist in the interpretation of P-values. The S-value is zero (unsurprising) when P = 1.0, increases exponentially as P approaches zero, and can be intuitively yet correctly understood via a simple coin-tossing experiment. As Fraundorf (2019) explains, a bit of surprisal is what you feel after "calling heads" on a coin toss, when the coin lands with heads up! Surprisal is two bits when you throw heads on two of two coins at once. Three bits of surprisal (heads up on three of three coins) is starting to feel respectable. Twenty-four bits of surprisal, on the other hand, is closer to what you experience when winning the lottery. Thus, surprisal reduces the probability of an extremely rare event to a quantity of more manageable size. In the context of P-values, larger S-values correspond to more evidence against the null hypothesis. For example, the corresponding S-value for a P-value of 0.05 is 4.32 bits of information against the null hypothesis (b = 0), which is only slightly more surprising than seeing 4 heads on the first toss of 4 coins (Greenland 2019). Similarly a P-value of 0.0001 has a corresponding S-value of 13.3 bits of information against the null hypothesis (b = 0), which is as surprising as seeing 13 heads in the first toss of 13 coins.
Language: Stata
Requires: Stata version 11
Keywords: Compatibility; Dichotomania; P-values; S-values; Significance; Surprisal (search for similar items in EconPapers)
Date: 2019-05-18
Note: This module should be installed from within Stata by typing "ssc install svalue". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/svalue.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/svalue.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458650
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().