SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values

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...

Full description

Bibliographic Details
Main Author: Ariel Linden
Format: Software
Language:unknown
Subjects:
Online Access:http://fmwww.bc.edu/repec/bocode/s/svalue.ado
http://fmwww.bc.edu/repec/bocode/s/svalue.sthlp
id ftrepec:oai:RePEc:boc:bocode:s458650
record_format openpolar
spelling ftrepec:oai:RePEc:boc:bocode:s458650 2024-04-14T08:12:23+00:00 SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values Ariel Linden http://fmwww.bc.edu/repec/bocode/s/svalue.ado http://fmwww.bc.edu/repec/bocode/s/svalue.sthlp unknown http://fmwww.bc.edu/repec/bocode/s/svalue.ado http://fmwww.bc.edu/repec/bocode/s/svalue.sthlp code ftrepec 2024-03-19T10:32:19Z 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. Compatibility; Dichotomania; P-values; S-values; Significance; Surprisal Software Greenland Shannon RePEc (Research Papers in Economics) Greenland Mackay ENVELOPE(168.517,168.517,-77.700,-77.700)
institution Open Polar
collection RePEc (Research Papers in Economics)
op_collection_id ftrepec
language unknown
description 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. Compatibility; Dichotomania; P-values; S-values; Significance; Surprisal
format Software
author Ariel Linden
spellingShingle Ariel Linden
SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
author_facet Ariel Linden
author_sort Ariel Linden
title SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
title_short SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
title_full SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
title_fullStr SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
title_full_unstemmed SVALUE: Stata module for computing and graphically displaying S-values against their respective P-values
title_sort svalue: stata module for computing and graphically displaying s-values against their respective p-values
url http://fmwww.bc.edu/repec/bocode/s/svalue.ado
http://fmwww.bc.edu/repec/bocode/s/svalue.sthlp
long_lat ENVELOPE(168.517,168.517,-77.700,-77.700)
geographic Greenland
Mackay
geographic_facet Greenland
Mackay
genre Greenland
Shannon
genre_facet Greenland
Shannon
op_relation http://fmwww.bc.edu/repec/bocode/s/svalue.ado
http://fmwww.bc.edu/repec/bocode/s/svalue.sthlp
_version_ 1796310177197064192