{"id":5071,"date":"2025-09-07T21:16:53","date_gmt":"2025-09-07T19:16:53","guid":{"rendered":"https:\/\/www.psyctc.org\/psyctc\/?post_type=docs&#038;p=5071"},"modified":"2025-09-07T21:18:07","modified_gmt":"2025-09-07T19:18:07","password":"","slug":"s-value-index-self-information-surprisal","status":"publish","type":"docs","link":"https:\/\/www.psyctc.org\/psyctc\/glossary2\/s-value-index-self-information-surprisal\/","title":{"rendered":"S value\/index, self-information, surprisal"},"content":{"rendered":"\n<p>I think this may be the index with more names than any other, s-value, s-index (or without the hyphens), &#8220;self-information&#8221;, surprisal [index | value], information content and Shannon information are all names for this same index.<\/p>\n\n\n\n<p>The basic idea is nice and simple: it is that an improbable (suprising) new finding has more weight, conveys more information to us, than a less improbable one.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Details<\/h4>\n\n\n\n<p>Largely following Claude Shannon, one of the pioneers of information theory, the s-index is <\/p>\n\n\n\n<p>$$s=-log_{2}{p}$$<\/p>\n\n\n\n<p>So converting from probabilities of new information, which is what a p value of frequentist statistical significance test is telling us, we have this table mapping from p to S.<\/p>\n\n\n\n<div class=\"wpdt-c wdt-skin-light\">\n    \n    <input type=\"hidden\" id=\"wdtNonceFrontendServerSide_41\" name=\"wdtNonceFrontendServerSide_41\" value=\"aa80433045\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/psyctc\/wp-json\/wp\/v2\/docs\/5071\" \/>    <input type=\"hidden\" id=\"table_1_desc\"\n           value='{\"tableId\":\"table_1\",\"tableType\":\"manual\",\"selector\":\"#table_1\",\"responsive\":false,\"responsiveAction\":\"icon\",\"editable\":false,\"inlineEditing\":false,\"infoBlock\":false,\"pagination_top\":0,\"pagination\":0,\"paginationAlign\":\"right\",\"paginationLayout\":\"full_numbers\",\"paginationLayoutMobile\":\"simple\",\"file_location\":\"\",\"tableSkin\":\"light\",\"table_wcag\":0,\"simple_template_id\":0,\"scrollable\":false,\"fixedLayout\":false,\"globalSearch\":false,\"showRowsPerPage\":false,\"popoverTools\":false,\"loader\":1,\"showCartInformation\":0,\"hideBeforeLoad\":false,\"number_format\":2,\"decimalPlaces\":2,\"spinnerSrc\":\"https:\\\/\\\/www.psyctc.org\\\/psyctc\\\/wp-content\\\/plugins\\\/wpdatatables\\\/assets\\\/\\\/img\\\/spinner.gif\",\"groupingEnabled\":false,\"tableWpId\":41,\"dataTableParams\":{\"sDom\":\"BT\\u003C\\u0027clear\\u0027\\u003Et\",\"bSortCellsTop\":false,\"bFilter\":true,\"aLengthMenu\":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,\"All\"]],\"iDisplayLength\":5,\"columnDefs\":[{\"sType\":\"formatted-num\",\"wdtType\":\"int\",\"bVisible\":false,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"wdt_ID\",\"origHeader\":\"wdt_ID\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\"numdata integer  column-wdt_id\",\"aTargets\":[0]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":false,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"wdt_created_by\",\"origHeader\":\"wdt_created_by\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-wdt_created_by\",\"aTargets\":[1]},{\"sType\":\"date-custom\",\"wdtType\":\"datetime\",\"bVisible\":false,\"orderable\":true,\"searchable\":true,\"InputType\":\"datetime\",\"name\":\"wdt_created_at\",\"origHeader\":\"wdt_created_at\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-wdt_created_at\",\"aTargets\":[2]},{\"sType\":\"formatted-num\",\"wdtType\":\"float\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"pvalue\",\"origHeader\":\"pvalue\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\"numdata float  column-pvalue\",\"aTargets\":[3]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":false,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"wdt_last_edited_by\",\"origHeader\":\"wdt_last_edited_by\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-wdt_last_edited_by\",\"aTargets\":[4]},{\"sType\":\"date-custom\",\"wdtType\":\"datetime\",\"bVisible\":false,\"orderable\":true,\"searchable\":true,\"InputType\":\"datetime\",\"name\":\"wdt_last_edited_at\",\"origHeader\":\"wdt_last_edited_at\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-wdt_last_edited_at\",\"aTargets\":[5]},{\"sType\":\"formatted-num\",\"wdtType\":\"float\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"svalue\",\"origHeader\":\"svalue\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\"numdata float  column-svalue\",\"aTargets\":[6]}],\"bAutoWidth\":false,\"order\":[[0,\"asc\"]],\"ordering\":false,\"fixedHeader\":{\"header\":false,\"headerOffset\":0},\"fixedColumns\":false,\"buttons\":[{\"extend\":\"print\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_print\",\"title\":\"S values from p values\",\"text\":\"Print\"},{\"extend\":\"excelHtml5\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_xls\",\"filename\":\"S values from p values\",\"title\":null,\"text\":\"Excel\"},{\"extend\":\"csvHtml5\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_csv\",\"title\":\"S values from p values\",\"text\":\"CSV\"},{\"extend\":\"copyHtml5\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_copy\",\"filename\":\"S values from p values\",\"title\":null,\"text\":\"Copy\"}],\"oLanguage\":{\"sSearchPlaceholder\":\"\"},\"bProcessing\":false,\"serverSide\":true,\"ajax\":{\"url\":\"https:\\\/\\\/www.psyctc.org\\\/psyctc\\\/wp-admin\\\/admin-ajax.php?action=get_wdtable&table_id=41\",\"type\":\"POST\"},\"oSearch\":{\"bSmart\":false,\"bRegex\":false,\"sSearch\":\"\"}},\"customRowDisplay\":\"\",\"tabletWidth\":\"1024\",\"mobileWidth\":\"480\",\"renderFilter\":\"footer\",\"advancedFilterEnabled\":false,\"serverSide\":true,\"autoRefreshInterval\":0,\"processing\":true,\"fnServerData\":true,\"columnsFixed\":0,\"sumFunctionsLabel\":\"\",\"avgFunctionsLabel\":\"\",\"minFunctionsLabel\":\"\",\"maxFunctionsLabel\":\"\",\"columnsDecimalPlaces\":{\"wdt_ID\":-1,\"wdt_created_by\":-1,\"wdt_created_at\":-1,\"pvalue\":3,\"wdt_last_edited_by\":-1,\"wdt_last_edited_at\":-1,\"svalue\":-1},\"columnsThousandsSeparator\":{\"wdt_ID\":0},\"sumColumns\":[],\"avgColumns\":[],\"sumAvgColumns\":[],\"timeFormat\":\"h:i A\",\"datepickFormat\":\"dd\\\/mm\\\/yy\"}'\/>\n\n    <table id=\"table_1\"\n           class=\"   display nowrap wdt-no-display data-t data-t wpDataTable wpDataTableID-41 \"\n           style=\"\"\n           data-described-by='table_1_desc'\n           data-wpdatatable_id=\"41\">\n        \n        <!-- Table header -->\n        \n<thead>\n<tr>\n                    <th\n                        class=\" wdtheader sort numdata integer \"\n        style=\"\">        wdt_ID<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        wdt_created_by<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        wdt_created_at<\/th>        <th\n        data-class=\"expand\"                class=\" wdtheader sort numdata float \"\n        style=\"\">        P value<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        wdt_last_edited_by<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        wdt_last_edited_at<\/th>        <th\n                        class=\" wdtheader sort numdata float \"\n        style=\"\">        S value<\/th>    <\/tr>\n<\/thead>\n        <!-- \/Table header -->\n\n        <!-- Table body -->\n        \n<tbody>\n<!-- Table body -->\n<div data-id=\"41\"\n     class=\"wdt-timeline-item wdt-timeline-table_1\"\n     style=\"\">\n    <div class=\"wdt-table-loader\">\n        <div class=\"wdt-table-loader-row wdt-table-loader-header\">\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n        <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n            <\/div>\n<\/div><!-- \/Table body -->\n                    <tr id=\"table_41_row_0\"\n            data-row-index=\"0\">\n                            <td style=\"\">1<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">0.500<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">1.00<\/td>\n                    <\/tr>\n                            <tr id=\"table_41_row_1\"\n            data-row-index=\"1\">\n                            <td style=\"\">2<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">0.050<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">4.32<\/td>\n                    <\/tr>\n                            <tr id=\"table_41_row_2\"\n            data-row-index=\"2\">\n                            <td style=\"\">3<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">0.010<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">6.64<\/td>\n                    <\/tr>\n                            <tr id=\"table_41_row_3\"\n            data-row-index=\"3\">\n                            <td style=\"\">4<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">0.005<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">7.64<\/td>\n                    <\/tr>\n                            <tr id=\"table_41_row_4\"\n            data-row-index=\"4\">\n                            <td style=\"\">5<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">0.001<\/td>\n                            <td style=\"\">chris<\/td>\n                            <td style=\"\">07\/09\/2025 08:44 PM<\/td>\n                            <td style=\"\">9.97<\/td>\n                    <\/tr>\n            <\/tbody>        <!-- \/Table body -->\n\n        <!-- Table footer -->\n        \n        <!-- \/Table footer -->\n    <\/table>\n\n<\/div><style>\n<\/style>\n<style>\n                    \n                                                                                        \/* table font color *\/\n    .wpdt-c.wpDataTablesWrapper table.wpdtSimpleTable,\n    .wpdt-c .wpDataTablesWrapper table.wpDataTable {\n        font-family: Lucida Sans Unicode, Lucida Grande, sans-serif !important;\n    }\n\n            \/* table font size *\/\n    .wpdt-c.wpDataTablesWrapper table.wpdtSimpleTable,\n    .wpdt-c .wpDataTablesWrapper table.wpDataTable {\n        font-size: 20px !important;\n    }\n\n            \n                <\/style>\n<style>\n<\/style>\n<style>\n                            \n                                \/* table font color *\/\n    .wpdt-c.wpDataTablesWrapper table#wpdtSimpleTable-41,\n    .wpdt-c .wpDataTablesWrapper table.wpDataTable.wpDataTableID-41 {\n        font-family: Lucida Sans Unicode, Lucida Grande, sans-serif !important;\n    }\n\n                \n                <\/style>\n\n\n\n\n<p>So the less likely the new event\/finding was the more information it conveys to us.  When working from a traditional NHST (Null Hypothesis Significance Test) p value all this is doing really is to replace a rather arbitrary, verging on silly, binary decision: &#8220;p&lt;.05&#8221; versus &#8220;NS&#8221; with a continuous value.  This has a bit in common with the logic of odds ratios and much in common with Bayesian ways of thinking about statistics though, to some extent, information theory is a sort of parallel realm to statistics.<\/p>\n\n\n\n<p>If you want more explanation, there is a bit more in my shiny app that converts p values to S values, see below.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Try also<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.psyctc.org\/psyctc\/glossary2\/null-hypothesis-significance-testing-nhst-paradigm\/\" title=\"\">Null hypothesis significance testing (NHST)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.psyctc.org\/psyctc\/glossary2\/odds-odds-ratio\/\" title=\"\">Odds ratios<\/a><\/li>\n\n\n\n<li>Probability<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Chapters<\/h4>\n\n\n\n<p>Not covered in the OMbook.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Online resources<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For those using R who might find it useful I have created a little function <em>getSvalFromPval() <\/em>in my <a href=\"https:\/\/cecpfuns.psyctc.org\/index.html\" target=\"_blank\" rel=\"noopener\" title=\"\">R package: CECPfuns<\/a>.<\/li>\n\n\n\n<li>For the less geeky, I have also added to <a href=\"https:\/\/shiny.psyctc.org\/index.html\" target=\"_blank\" rel=\"noopener\" title=\"\">my shiny apps<\/a> one that takes a p value and gives you the S value: <a href=\"https:\/\/shiny.psyctc.org\/apps\/get_Sval_from_Pval\/\" target=\"_blank\" rel=\"noopener\" title=\"\">https:\/\/shiny.psyctc.org\/apps\/get_Sval_from_Pval\/<\/a>.  That also has a bit more explanation of S values than I have given here (so far), have a look at that for more explanation of S values.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Dates<\/h4>\n\n\n\n<p>First created 7.ix.25.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think this may be the index with more names than any other, s-value, s-index (or without the hyphens), &#8220;self-information&#8221;, surprisal [index | value], information content and Shannon information are all names for this same index. The basic idea is nice and simple: it is that an improbable (suprising) new finding has more weight, conveys &hellip; <a href=\"https:\/\/www.psyctc.org\/psyctc\/glossary2\/s-value-index-self-information-surprisal\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">S value\/index, self-information, surprisal<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[],"glossaries":[],"doc_tag":[],"knowledge_base":[],"class_list":["post-5071","docs","type-docs","status-publish","hentry"],"year_month":"2026-04","word_count":329,"total_views":"366","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"chris","author_nicename":"chris","author_url":"https:\/\/www.psyctc.org\/psyctc\/author\/chris\/"},"doc_category_info":[],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs\/5071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/comments?post=5071"}],"version-history":[{"count":5,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs\/5071\/revisions"}],"predecessor-version":[{"id":5080,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs\/5071\/revisions\/5080"}],"wp:attachment":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/media?parent=5071"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/doc_category?post=5071"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/glossaries?post=5071"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/doc_tag?post=5071"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/knowledge_base?post=5071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}