<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Fiducial probability on R Views</title>
    <link>https://rviews.rstudio.com/tags/fiducial-probability/</link>
    <description>Recent content in Fiducial probability on R Views</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 05 Nov 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://rviews.rstudio.com/tags/fiducial-probability/" rel="self" type="application/rss+xml" />
    
    
    
    
    <item>
      <title>A First Look at Confidence Distributions</title>
      <link>https://rviews.rstudio.com/2019/11/05/a-first-look-at-confidence-distributions/</link>
      <pubDate>Tue, 05 Nov 2019 00:00:00 +0000</pubDate>
      
      <guid>https://rviews.rstudio.com/2019/11/05/a-first-look-at-confidence-distributions/</guid>
      <description>
        
&lt;script src=&#34;/rmarkdown-libs/htmlwidgets/htmlwidgets.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/jquery/jquery.min.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/proj4js/proj4.js&#34;&gt;&lt;/script&gt;
&lt;link href=&#34;/rmarkdown-libs/highcharts/css/motion.css&#34; rel=&#34;stylesheet&#34; /&gt;
&lt;link href=&#34;/rmarkdown-libs/highcharts/css/htmlwdgtgrid.css&#34; rel=&#34;stylesheet&#34; /&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/highcharts.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/highcharts-3d.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/highcharts-more.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/stock.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/map.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/annotations.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/boost.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/data.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/drag-panes.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/drilldown.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/item-series.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/offline-exporting.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/overlapping-datalabels.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/exporting.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/export-data.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/funnel.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/heatmap.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/treemap.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/sankey.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/solid-gauge.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/streamgraph.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/sunburst.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/vector.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/wordcloud.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/xrange.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/tilemap.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/venn.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/gantt.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/timeline.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/modules/parallel-coordinates.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/plugins/grouped-categories.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/plugins/motion.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/plugins/multicolor_series.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/custom/reset.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/custom/symbols-extra.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highcharts/custom/text-symbols.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;/rmarkdown-libs/highchart-binding/highchart.js&#34;&gt;&lt;/script&gt;


&lt;p&gt;Using a probability distribution to characterize uncertainty is at the core of statistical inference. So, it seems natural to try to summarize the information about the parameters in statistical models with probability distributions. R. A. Fisher thought so. In fact, he expended a great deal of effort over more than thirty years, and put his professional reputation on the line trying to do so, with only limited success. Fisher’s central difficulty was that, in the Frequentist tradition to which he was committed, parameters are not random variables. They are fixed and immutable constituents of the statistical models describing the behavior of populations, which we must estimate because we generally only have access to samples from populations, not to the full populations themselves. Now Bayesians, of course, characterize parameters with probability distributions from the get-go. Parameters are given prior distributions and combined with the likelihood function generated by the data to produce posterior distributions that characterize the parameters. Fisher wanted the posterior distributions without having to assume the priors. This was a key motivating idea for his work on Fiducial probability.&lt;/p&gt;
&lt;p&gt;A few statisticians apparently quietly worked on this program throughout the twentieth century, even though Fisher’s Fiducial ideas were mostly forgotten and not part of the mainstream statistical current. D. R. Cox (&lt;a href=&#34;https://projecteuclid.org/download/pdf_1/euclid.aoms/1177706618&#34;&gt;Cox (1958)&lt;/a&gt;), for example, pioneered the idea of constructing &lt;em&gt;confidence distributions&lt;/em&gt; from confidence intervals, and Bradley Efron (&lt;a href=&#34;https://projecteuclid.org/download/pdf_1/euclid.ss/1028905930&#34;&gt;Efron (1998)&lt;/a&gt;) expressed great optimism that Fisher’s work in this area would become important in the twenty-first century. (Efron’s paper is a masterpiece that summarizes a good bit of twentieth-century statistical research.)&lt;/p&gt;
&lt;p&gt;Recently, however, there seems to have been a resurgence of Fisher’s ideas among statisticians interested in chasing the idea of an orthodox Frequentist view of parameter distributions. The 2013 paper of &lt;a href=&#34;https://www.stat.rutgers.edu/home/mxie/RCPapers/insr.12000.pdf&#34;&gt;Xie and Singh&lt;/a&gt; lays out the modern theory of confidence distributions as a fundamental idea that organizes a great deal of statistical practice. In the initial Summary, the authors write:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;. . .the concept of a confidence distribution subsumes and unifies a wide range of
examples, from regular parametric (fiducial distribution) examples to bootstrap distributions,
significance (p-value) functions, normalized likelihood functions, and, in some cases, Bayesian priors and posteriors.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Later in the paper, they go on to define a confidence distribution as:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A function H&lt;sub&gt;n&lt;/sub&gt;(·) = H&lt;sub&gt;n&lt;/sub&gt;(x, ·) on &lt;strong&gt;X&lt;/strong&gt; × &lt;span class=&#34;math inline&#34;&gt;\(\Theta\)&lt;/span&gt; → [0, 1] is called a confidence distribution (CD) for a parameter &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;, if&lt;br /&gt;
* R1) For each given x ∈ &lt;strong&gt;X&lt;/strong&gt; , H&lt;sub&gt;n&lt;/sub&gt;(·) is a cumulative distribution function on &lt;span class=&#34;math inline&#34;&gt;\(\Theta\)&lt;/span&gt;;&lt;br /&gt;
* R2) At the true parameter value &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt; = &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;&lt;sub&gt;0&lt;/sub&gt;, H&lt;sub&gt;n&lt;/sub&gt;(&lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;&lt;sub&gt;0&lt;/sub&gt;) ≡ H&lt;sub&gt;n&lt;/sub&gt;(x, &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;&lt;sub&gt;0&lt;/sub&gt;), as a function of the sample&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The simplest example of a confidence distribution I could find that is adequate to illustrate some of the key concepts comes from the book &lt;a href=&#34;https://www.cambridge.org/core/books/confidence-likelihood-probability/143A34F11FB3D6F611F78E27C6D2CA5A&#34;&gt;Confidence, Likelihood, Probability: Statistical Inference with Confidence Distributions&lt;/a&gt; by Schweder and Hjort. On page 62, the authors point out that the distribution of the p-value for the parameter &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt; describing the probability of success for a binomial trial can be considered as an approximate confidence distribution for &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;. The distribution is approximate because the distribution is discrete and the “half-correction” is used to improve the approximation. Note that because the &lt;a href=&#34;https://www.youtube.com/watch?v=UPQtjahe3j4&#34;&gt;p-values follow uniform distributions&lt;/a&gt; under the null hypothesis, it should be clear that the assumptions of the definition above are satisfied.&lt;/p&gt;
&lt;p&gt;Suppose Y ~ Bin(n,&lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;), then&lt;/p&gt;
&lt;p&gt;C(&lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;) = P(Y &amp;gt; y&lt;sub&gt;0&lt;/sub&gt;) + .5 * P(Y = y&lt;sub&gt;0&lt;/sub&gt;)
is a confidence distribution for &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;To illustrate this, we consider the experiment of realizing 8 successes in 20 trials and write a short helper function.&lt;/p&gt;
&lt;pre class=&#34;r&#34;&gt;&lt;code&gt;CD &amp;lt;- function(theta,n=20,y0=8){
            1 - sum(dbinom(x = seq(from = 0, to = y0), size = n, prob = theta)) + 
           .5 * dbinom(x = y0, size = n, prob = theta)}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here, we compute the CDF and plot it.&lt;/p&gt;
&lt;pre class=&#34;r&#34;&gt;&lt;code&gt;library(tidyverse)
library(highcharter)
conf_dist &amp;lt;-  
  tibble(theta = seq(0, 1, by = .01)) %&amp;gt;%  
  mutate(probability = map_dbl(theta, CD))

hchart(conf_dist, &amp;quot;line&amp;quot;, hcaes(x = theta, y = probability)) %&amp;gt;%
hc_title(text = &amp;quot;Confidence Distribution for Binomial Model&amp;quot;,
         margin = 20, align = &amp;quot;left&amp;quot;,
         style = list(color = &amp;quot;black&amp;quot;, useHTML = TRUE)) %&amp;gt;%
hc_tooltip(valueDecimals=4, valuePrefix=&amp;quot;cum prob = &amp;quot;)&lt;/code&gt;&lt;/pre&gt;
&lt;div id=&#34;htmlwidget-1&#34; style=&#34;width:100%;height:500px;&#34; class=&#34;highchart html-widget&#34;&gt;&lt;/div&gt;
&lt;script type=&#34;application/json&#34; data-for=&#34;htmlwidget-1&#34;&gt;{&#34;x&#34;:{&#34;hc_opts&#34;:{&#34;title&#34;:{&#34;text&#34;:&#34;Confidence Distribution for Binomial Model&#34;,&#34;margin&#34;:20,&#34;align&#34;:&#34;left&#34;,&#34;style&#34;:{&#34;color&#34;:&#34;black&#34;,&#34;useHTML&#34;:true}},&#34;yAxis&#34;:{&#34;title&#34;:{&#34;text&#34;:&#34;probability&#34;},&#34;type&#34;:&#34;linear&#34;},&#34;credits&#34;:{&#34;enabled&#34;:false},&#34;exporting&#34;:{&#34;enabled&#34;:false},&#34;plotOptions&#34;:{&#34;series&#34;:{&#34;label&#34;:{&#34;enabled&#34;:false},&#34;turboThreshold&#34;:0,&#34;showInLegend&#34;:false},&#34;treemap&#34;:{&#34;layoutAlgorithm&#34;:&#34;squarified&#34;},&#34;scatter&#34;:{&#34;marker&#34;:{&#34;symbol&#34;:&#34;circle&#34;}}},&#34;series&#34;:[{&#34;group&#34;:&#34;group&#34;,&#34;data&#34;:[{&#34;theta&#34;:0,&#34;probability&#34;:0,&#34;x&#34;:0,&#34;y&#34;:0},{&#34;theta&#34;:0.01,&#34;probability&#34;:5.73499566887768e-12,&#34;x&#34;:0.01,&#34;y&#34;:5.73499566887768e-12},{&#34;theta&#34;:0.02,&#34;probability&#34;:1.33572401483433e-09,&#34;x&#34;:0.02,&#34;y&#34;:1.33572401483433e-09},{&#34;theta&#34;:0.03,&#34;probability&#34;:3.11201811492425e-08,&#34;x&#34;:0.03,&#34;y&#34;:3.11201811492425e-08},{&#34;theta&#34;:0.04,&#34;probability&#34;:2.82353239135745e-07,&#34;x&#34;:0.04,&#34;y&#34;:2.82353239135745e-07},{&#34;theta&#34;:0.05,&#34;probability&#34;:1.52740959689047e-06,&#34;x&#34;:0.05,&#34;y&#34;:1.52740959689047e-06},{&#34;theta&#34;:0.06,&#34;probability&#34;:5.95561261361866e-06,&#34;x&#34;:0.06,&#34;y&#34;:5.95561261361866e-06},{&#34;theta&#34;:0.07,&#34;probability&#34;:1.85206634848512e-05,&#34;x&#34;:0.07,&#34;y&#34;:1.85206634848512e-05},{&#34;theta&#34;:0.08,&#34;probability&#34;:4.87954463305065e-05,&#34;x&#34;:0.08,&#34;y&#34;:4.87954463305065e-05},{&#34;theta&#34;:0.09,&#34;probability&#34;:0.000113243868828019,&#34;x&#34;:0.09,&#34;y&#34;:0.000113243868828019},{&#34;theta&#34;:0.1,&#34;probability&#34;:0.000237746775292845,&#34;x&#34;:0.1,&#34;y&#34;:0.000237746775292845},{&#34;theta&#34;:0.11,&#34;probability&#34;:0.000460169436248278,&#34;x&#34;:0.11,&#34;y&#34;:0.000460169436248278},{&#34;theta&#34;:0.12,&#34;probability&#34;:0.000832734447940497,&#34;x&#34;:0.12,&#34;y&#34;:0.000832734447940497},{&#34;theta&#34;:0.13,&#34;probability&#34;:0.0014239652669573,&#34;x&#34;:0.13,&#34;y&#34;:0.0014239652669573},{&#34;theta&#34;:0.14,&#34;probability&#34;:0.00231998890516482,&#34;x&#34;:0.14,&#34;y&#34;:0.00231998890516482},{&#34;theta&#34;:0.15,&#34;probability&#34;:0.00362502697453944,&#34;x&#34;:0.15,&#34;y&#34;:0.00362502697453944},{&#34;theta&#34;:0.16,&#34;probability&#34;:0.00546095711151733,&#34;x&#34;:0.16,&#34;y&#34;:0.00546095711151733},{&#34;theta&#34;:0.17,&#34;probability&#34;:0.00796588655322165,&#34;x&#34;:0.17,&#34;y&#34;:0.00796588655322165},{&#34;theta&#34;:0.18,&#34;probability&#34;:0.0112917413300254,&#34;x&#34;:0.18,&#34;y&#34;:0.0112917413300254},{&#34;theta&#34;:0.19,&#34;probability&#34;:0.0156009338215457,&#34;x&#34;:0.19,&#34;y&#34;:0.0156009338215457},{&#34;theta&#34;:0.2,&#34;probability&#34;:0.0210622247007996,&#34;x&#34;:0.2,&#34;y&#34;:0.0210622247007996},{&#34;theta&#34;:0.21,&#34;probability&#34;:0.0278459398154536,&#34;x&#34;:0.21,&#34;y&#34;:0.0278459398154536},{&#34;theta&#34;:0.22,&#34;probability&#34;:0.0361187364416553,&#34;x&#34;:0.22,&#34;y&#34;:0.0361187364416553},{&#34;theta&#34;:0.23,&#34;probability&#34;:0.0460381355411022,&#34;x&#34;:0.23,&#34;y&#34;:0.0460381355411022},{&#34;theta&#34;:0.24,&#34;probability&#34;:0.0577470468616008,&#34;x&#34;:0.24,&#34;y&#34;:0.0577470468616008},{&#34;theta&#34;:0.25,&#34;probability&#34;:0.0713685123146205,&#34;x&#34;:0.25,&#34;y&#34;:0.0713685123146205},{&#34;theta&#34;:0.26,&#34;probability&#34;:0.087000880960923,&#34;x&#34;:0.26,&#34;y&#34;:0.087000880960923},{&#34;theta&#34;:0.27,&#34;probability&#34;:0.104713607490085,&#34;x&#34;:0.27,&#34;y&#34;:0.104713607490085},{&#34;theta&#34;:0.28,&#34;probability&#34;:0.124543836956545,&#34;x&#34;:0.28,&#34;y&#34;:0.124543836956545},{&#34;theta&#34;:0.29,&#34;probability&#34;:0.146493903594774,&#34;x&#34;:0.29,&#34;y&#34;:0.146493903594774},{&#34;theta&#34;:0.3,&#34;probability&#34;:0.170529832729409,&#34;x&#34;:0.3,&#34;y&#34;:0.170529832729409},{&#34;theta&#34;:0.31,&#34;probability&#34;:0.196580894065467,&#34;x&#34;:0.31,&#34;y&#34;:0.196580894065467},{&#34;theta&#34;:0.32,&#34;probability&#34;:0.224540213842213,&#34;x&#34;:0.32,&#34;y&#34;:0.224540213842213},{&#34;theta&#34;:0.33,&#34;probability&#34;:0.254266414156535,&#34;x&#34;:0.33,&#34;y&#34;:0.254266414156535},{&#34;theta&#34;:0.34,&#34;probability&#34;:0.285586211691276,&#34;x&#34;:0.34,&#34;y&#34;:0.285586211691276},{&#34;theta&#34;:0.35,&#34;probability&#34;:0.318297876353866,&#34;x&#34;:0.35,&#34;y&#34;:0.318297876353866},{&#34;theta&#34;:0.36,&#34;probability&#34;:0.35217542389985,&#34;x&#34;:0.36,&#34;y&#34;:0.35217542389985},{&#34;theta&#34;:0.37,&#34;probability&#34;:0.386973396157569,&#34;x&#34;:0.37,&#34;y&#34;:0.386973396157569},{&#34;theta&#34;:0.38,&#34;probability&#34;:0.422432068373071,&#34;x&#34;:0.38,&#34;y&#34;:0.422432068373071},{&#34;theta&#34;:0.39,&#34;probability&#34;:0.458282915573536,&#34;x&#34;:0.39,&#34;y&#34;:0.458282915573536},{&#34;theta&#34;:0.4,&#34;probability&#34;:0.49425416856512,&#34;x&#34;:0.4,&#34;y&#34;:0.49425416856512},{&#34;theta&#34;:0.41,&#34;probability&#34;:0.530076294873525,&#34;x&#34;:0.41,&#34;y&#34;:0.530076294873525},{&#34;theta&#34;:0.42,&#34;probability&#34;:0.565487250045856,&#34;x&#34;:0.42,&#34;y&#34;:0.565487250045856},{&#34;theta&#34;:0.43,&#34;probability&#34;:0.6002373595472,&#34;x&#34;:0.43,&#34;y&#34;:0.6002373595472},{&#34;theta&#34;:0.44,&#34;probability&#34;:0.63409371017361,&#34;x&#34;:0.44,&#34;y&#34;:0.63409371017361},{&#34;theta&#34;:0.45,&#34;probability&#34;:0.666843951555161,&#34;x&#34;:0.45,&#34;y&#34;:0.666843951555161},{&#34;theta&#34;:0.46,&#34;probability&#34;:0.698299431988929,&#34;x&#34;:0.46,&#34;y&#34;:0.698299431988929},{&#34;theta&#34;:0.47,&#34;probability&#34;:0.728297617569333,&#34;x&#34;:0.47,&#34;y&#34;:0.728297617569333},{&#34;theta&#34;:0.48,&#34;probability&#34;:0.756703768450287,&#34;x&#34;:0.48,&#34;y&#34;:0.756703768450287},{&#34;theta&#34;:0.49,&#34;probability&#34;:0.783411870218361,&#34;x&#34;:0.49,&#34;y&#34;:0.783411870218361},{&#34;theta&#34;:0.5,&#34;probability&#34;:0.808344841003418,&#34;x&#34;:0.5,&#34;y&#34;:0.808344841003418},{&#34;theta&#34;:0.51,&#34;probability&#34;:0.831454055434115,&#34;x&#34;:0.51,&#34;y&#34;:0.831454055434115},{&#34;theta&#34;:0.52,&#34;probability&#34;:0.85271824431402,&#34;x&#34;:0.52,&#34;y&#34;:0.85271824431402},{&#34;theta&#34;:0.53,&#34;probability&#34;:0.872141843535642,&#34;x&#34;:0.53,&#34;y&#34;:0.872141843535642},{&#34;theta&#34;:0.54,&#34;probability&#34;:0.889752876987755,&#34;x&#34;:0.54,&#34;y&#34;:0.889752876987755},{&#34;theta&#34;:0.55,&#34;probability&#34;:0.905600465906429,&#34;x&#34;:0.55,&#34;y&#34;:0.905600465906429},{&#34;theta&#34;:0.56,&#34;probability&#34;:0.91975206126523,&#34;x&#34;:0.56,&#34;y&#34;:0.91975206126523},{&#34;theta&#34;:0.57,&#34;probability&#34;:0.932290496511752,&#34;x&#34;:0.57,&#34;y&#34;:0.932290496511752},{&#34;theta&#34;:0.58,&#34;probability&#34;:0.94331095546382,&#34;x&#34;:0.58,&#34;y&#34;:0.94331095546382},{&#34;theta&#34;:0.59,&#34;probability&#34;:0.952917944802709,&#34;x&#34;:0.59,&#34;y&#34;:0.952917944802709},{&#34;theta&#34;:0.6,&#34;probability&#34;:0.961222352743988,&#34;x&#34;:0.6,&#34;y&#34;:0.961222352743988},{&#34;theta&#34;:0.61,&#34;probability&#34;:0.968338665588788,&#34;x&#34;:0.61,&#34;y&#34;:0.968338665588788},{&#34;theta&#34;:0.62,&#34;probability&#34;:0.974382402457655,&#34;x&#34;:0.62,&#34;y&#34;:0.974382402457655},{&#34;theta&#34;:0.63,&#34;probability&#34;:0.979467816101886,&#34;x&#34;:0.63,&#34;y&#34;:0.979467816101886},{&#34;theta&#34;:0.64,&#34;probability&#34;:0.983705894787928,&#34;x&#34;:0.64,&#34;y&#34;:0.983705894787928},{&#34;theta&#34;:0.65,&#34;probability&#34;:0.987202687353466,&#34;x&#34;:0.65,&#34;y&#34;:0.987202687353466},{&#34;theta&#34;:0.66,&#34;probability&#34;:0.990057961096871,&#34;x&#34;:0.66,&#34;y&#34;:0.990057961096871},{&#34;theta&#34;:0.67,&#34;probability&#34;:0.992364190591014,&#34;x&#34;:0.67,&#34;y&#34;:0.992364190591014},{&#34;theta&#34;:0.68,&#34;probability&#34;:0.994205865151394,&#34;x&#34;:0.68,&#34;y&#34;:0.994205865151394},{&#34;theta&#34;:0.69,&#34;probability&#34;:0.995659093808592,&#34;x&#34;:0.69,&#34;y&#34;:0.995659093808592},{&#34;theta&#34;:0.7,&#34;probability&#34;:0.996791479430329,&#34;x&#34;:0.7,&#34;y&#34;:0.996791479430329},{&#34;theta&#34;:0.71,&#34;probability&#34;:0.997662228223176,&#34;x&#34;:0.71,&#34;y&#34;:0.997662228223176},{&#34;theta&#34;:0.72,&#34;probability&#34;:0.998322457253502,&#34;x&#34;:0.72,&#34;y&#34;:0.998322457253502},{&#34;theta&#34;:0.73,&#34;probability&#34;:0.998815660821706,&#34;x&#34;:0.73,&#34;y&#34;:0.998815660821706},{&#34;theta&#34;:0.74,&#34;probability&#34;:0.999178296394706,&#34;x&#34;:0.74,&#34;y&#34;:0.999178296394706},{&#34;theta&#34;:0.75,&#34;probability&#34;:0.999440452181261,&#34;x&#34;:0.75,&#34;y&#34;:0.999440452181261},{&#34;theta&#34;:0.76,&#34;probability&#34;:0.99962656110662,&#34;x&#34;:0.76,&#34;y&#34;:0.99962656110662},{&#34;theta&#34;:0.77,&#34;probability&#34;:0.999756129655175,&#34;x&#34;:0.77,&#34;y&#34;:0.999756129655175},{&#34;theta&#34;:0.78,&#34;probability&#34;:0.999844454527686,&#34;x&#34;:0.78,&#34;y&#34;:0.999844454527686},{&#34;theta&#34;:0.79,&#34;probability&#34;:0.99990330502023,&#34;x&#34;:0.79,&#34;y&#34;:0.99990330502023},{&#34;theta&#34;:0.8,&#34;probability&#34;:0.999941554197265,&#34;x&#34;:0.8,&#34;y&#34;:0.999941554197265},{&#34;theta&#34;:0.81,&#34;probability&#34;:0.999965747040655,&#34;x&#34;:0.81,&#34;y&#34;:0.999965747040655},{&#34;theta&#34;:0.82,&#34;probability&#34;:0.999980598578908,&#34;x&#34;:0.82,&#34;y&#34;:0.999980598578908},{&#34;theta&#34;:0.83,&#34;probability&#34;:0.999989419342954,&#34;x&#34;:0.83,&#34;y&#34;:0.999989419342954},{&#34;theta&#34;:0.84,&#34;probability&#34;:0.999994469208827,&#34;x&#34;:0.84,&#34;y&#34;:0.999994469208827},{&#34;theta&#34;:0.85,&#34;probability&#34;:0.999997243675202,&#34;x&#34;:0.85,&#34;y&#34;:0.999997243675202},{&#34;theta&#34;:0.86,&#34;probability&#34;:0.999998698837753,&#34;x&#34;:0.86,&#34;y&#34;:0.999998698837753},{&#34;theta&#34;:0.87,&#34;probability&#34;:0.999999422764826,&#34;x&#34;:0.87,&#34;y&#34;:0.999999422764826},{&#34;theta&#34;:0.88,&#34;probability&#34;:0.999999761697516,&#34;x&#34;:0.88,&#34;y&#34;:0.999999761697516},{&#34;theta&#34;:0.89,&#34;probability&#34;:0.999999909577602,&#34;x&#34;:0.89,&#34;y&#34;:0.999999909577602},{&#34;theta&#34;:0.9,&#34;probability&#34;:0.999999968963797,&#34;x&#34;:0.9,&#34;y&#34;:0.999999968963797},{&#34;theta&#34;:0.91,&#34;probability&#34;:0.999999990564098,&#34;x&#34;:0.91,&#34;y&#34;:0.999999990564098},{&#34;theta&#34;:0.92,&#34;probability&#34;:0.999999997530193,&#34;x&#34;:0.92,&#34;y&#34;:0.999999997530193},{&#34;theta&#34;:0.93,&#34;probability&#34;:0.999999999465214,&#34;x&#34;:0.93,&#34;y&#34;:0.999999999465214},{&#34;theta&#34;:0.94,&#34;probability&#34;:0.999999999909645,&#34;x&#34;:0.94,&#34;y&#34;:0.999999999909645},{&#34;theta&#34;:0.95,&#34;probability&#34;:0.99999999998912,&#34;x&#34;:0.95,&#34;y&#34;:0.99999999998912},{&#34;theta&#34;:0.96,&#34;probability&#34;:0.999999999999198,&#34;x&#34;:0.96,&#34;y&#34;:0.999999999999198},{&#34;theta&#34;:0.97,&#34;probability&#34;:0.999999999999973,&#34;x&#34;:0.97,&#34;y&#34;:0.999999999999973},{&#34;theta&#34;:0.98,&#34;probability&#34;:1,&#34;x&#34;:0.98,&#34;y&#34;:1},{&#34;theta&#34;:0.99,&#34;probability&#34;:1,&#34;x&#34;:0.99,&#34;y&#34;:1},{&#34;theta&#34;:1,&#34;probability&#34;:1,&#34;x&#34;:1,&#34;y&#34;:1}],&#34;type&#34;:&#34;line&#34;}],&#34;xAxis&#34;:{&#34;type&#34;:&#34;linear&#34;,&#34;title&#34;:{&#34;text&#34;:&#34;theta&#34;},&#34;categories&#34;:null},&#34;tooltip&#34;:{&#34;valueDecimals&#34;:4,&#34;valuePrefix&#34;:&#34;cum prob = &#34;}},&#34;theme&#34;:{&#34;chart&#34;:{&#34;backgroundColor&#34;:&#34;transparent&#34;}},&#34;conf_opts&#34;:{&#34;global&#34;:{&#34;Date&#34;:null,&#34;VMLRadialGradientURL&#34;:&#34;http =//code.highcharts.com/list(version)/gfx/vml-radial-gradient.png&#34;,&#34;canvasToolsURL&#34;:&#34;http =//code.highcharts.com/list(version)/modules/canvas-tools.js&#34;,&#34;getTimezoneOffset&#34;:null,&#34;timezoneOffset&#34;:0,&#34;useUTC&#34;:true},&#34;lang&#34;:{&#34;contextButtonTitle&#34;:&#34;Chart context menu&#34;,&#34;decimalPoint&#34;:&#34;.&#34;,&#34;downloadJPEG&#34;:&#34;Download JPEG image&#34;,&#34;downloadPDF&#34;:&#34;Download PDF document&#34;,&#34;downloadPNG&#34;:&#34;Download PNG image&#34;,&#34;downloadSVG&#34;:&#34;Download SVG vector image&#34;,&#34;drillUpText&#34;:&#34;Back to {series.name}&#34;,&#34;invalidDate&#34;:null,&#34;loading&#34;:&#34;Loading...&#34;,&#34;months&#34;:[&#34;January&#34;,&#34;February&#34;,&#34;March&#34;,&#34;April&#34;,&#34;May&#34;,&#34;June&#34;,&#34;July&#34;,&#34;August&#34;,&#34;September&#34;,&#34;October&#34;,&#34;November&#34;,&#34;December&#34;],&#34;noData&#34;:&#34;No data to display&#34;,&#34;numericSymbols&#34;:[&#34;k&#34;,&#34;M&#34;,&#34;G&#34;,&#34;T&#34;,&#34;P&#34;,&#34;E&#34;],&#34;printChart&#34;:&#34;Print chart&#34;,&#34;resetZoom&#34;:&#34;Reset zoom&#34;,&#34;resetZoomTitle&#34;:&#34;Reset zoom level 1:1&#34;,&#34;shortMonths&#34;:[&#34;Jan&#34;,&#34;Feb&#34;,&#34;Mar&#34;,&#34;Apr&#34;,&#34;May&#34;,&#34;Jun&#34;,&#34;Jul&#34;,&#34;Aug&#34;,&#34;Sep&#34;,&#34;Oct&#34;,&#34;Nov&#34;,&#34;Dec&#34;],&#34;thousandsSep&#34;:&#34; &#34;,&#34;weekdays&#34;:[&#34;Sunday&#34;,&#34;Monday&#34;,&#34;Tuesday&#34;,&#34;Wednesday&#34;,&#34;Thursday&#34;,&#34;Friday&#34;,&#34;Saturday&#34;]}},&#34;type&#34;:&#34;chart&#34;,&#34;fonts&#34;:[],&#34;debug&#34;:false},&#34;evals&#34;:[],&#34;jsHooks&#34;:[]}&lt;/script&gt;
&lt;p&gt;This is nice, but to really see how computing the confidence distribution might be useful, we compute and plot the confidence curve introduced by Birnbaum in his &lt;a href=&#34;https://projecteuclid.org/download/pdf_1/euclid.aoms/1177705145&#34;&gt;1961 paper&lt;/a&gt;.&lt;/p&gt;
&lt;pre class=&#34;r&#34;&gt;&lt;code&gt;conf_curve &amp;lt;-  
  conf_dist %&amp;gt;%  
  mutate(confidence = 2 * abs(.5 - probability))

hchart(conf_curve, &amp;quot;line&amp;quot;, hcaes(x = theta, y = confidence)) %&amp;gt;%
  hc_title(text = &amp;quot;Confidence Curve for Binomial Model&amp;quot;,
           margin = 20, align = &amp;quot;left&amp;quot;,
           style = list(color = &amp;quot;black&amp;quot;, useHTML = TRUE)) %&amp;gt;%
  hc_tooltip(valueDecimals=4, valuePrefix=&amp;quot;conf level = &amp;quot;)&lt;/code&gt;&lt;/pre&gt;
&lt;div id=&#34;htmlwidget-2&#34; style=&#34;width:100%;height:500px;&#34; class=&#34;highchart html-widget&#34;&gt;&lt;/div&gt;
&lt;script type=&#34;application/json&#34; data-for=&#34;htmlwidget-2&#34;&gt;{&#34;x&#34;:{&#34;hc_opts&#34;:{&#34;title&#34;:{&#34;text&#34;:&#34;Confidence Curve for Binomial Model&#34;,&#34;margin&#34;:20,&#34;align&#34;:&#34;left&#34;,&#34;style&#34;:{&#34;color&#34;:&#34;black&#34;,&#34;useHTML&#34;:true}},&#34;yAxis&#34;:{&#34;title&#34;:{&#34;text&#34;:&#34;confidence&#34;},&#34;type&#34;:&#34;linear&#34;},&#34;credits&#34;:{&#34;enabled&#34;:false},&#34;exporting&#34;:{&#34;enabled&#34;:false},&#34;plotOptions&#34;:{&#34;series&#34;:{&#34;label&#34;:{&#34;enabled&#34;:false},&#34;turboThreshold&#34;:0,&#34;showInLegend&#34;:false},&#34;treemap&#34;:{&#34;layoutAlgorithm&#34;:&#34;squarified&#34;},&#34;scatter&#34;:{&#34;marker&#34;:{&#34;symbol&#34;:&#34;circle&#34;}}},&#34;series&#34;:[{&#34;group&#34;:&#34;group&#34;,&#34;data&#34;:[{&#34;theta&#34;:0,&#34;probability&#34;:0,&#34;confidence&#34;:1,&#34;x&#34;:0,&#34;y&#34;:1},{&#34;theta&#34;:0.01,&#34;probability&#34;:5.73499566887768e-12,&#34;confidence&#34;:0.99999999998853,&#34;x&#34;:0.01,&#34;y&#34;:0.99999999998853},{&#34;theta&#34;:0.02,&#34;probability&#34;:1.33572401483433e-09,&#34;confidence&#34;:0.999999997328552,&#34;x&#34;:0.02,&#34;y&#34;:0.999999997328552},{&#34;theta&#34;:0.03,&#34;probability&#34;:3.11201811492425e-08,&#34;confidence&#34;:0.999999937759638,&#34;x&#34;:0.03,&#34;y&#34;:0.999999937759638},{&#34;theta&#34;:0.04,&#34;probability&#34;:2.82353239135745e-07,&#34;confidence&#34;:0.999999435293522,&#34;x&#34;:0.04,&#34;y&#34;:0.999999435293522},{&#34;theta&#34;:0.05,&#34;probability&#34;:1.52740959689047e-06,&#34;confidence&#34;:0.999996945180806,&#34;x&#34;:0.05,&#34;y&#34;:0.999996945180806},{&#34;theta&#34;:0.06,&#34;probability&#34;:5.95561261361866e-06,&#34;confidence&#34;:0.999988088774773,&#34;x&#34;:0.06,&#34;y&#34;:0.999988088774773},{&#34;theta&#34;:0.07,&#34;probability&#34;:1.85206634848512e-05,&#34;confidence&#34;:0.99996295867303,&#34;x&#34;:0.07,&#34;y&#34;:0.99996295867303},{&#34;theta&#34;:0.08,&#34;probability&#34;:4.87954463305065e-05,&#34;confidence&#34;:0.999902409107339,&#34;x&#34;:0.08,&#34;y&#34;:0.999902409107339},{&#34;theta&#34;:0.09,&#34;probability&#34;:0.000113243868828019,&#34;confidence&#34;:0.999773512262344,&#34;x&#34;:0.09,&#34;y&#34;:0.999773512262344},{&#34;theta&#34;:0.1,&#34;probability&#34;:0.000237746775292845,&#34;confidence&#34;:0.999524506449414,&#34;x&#34;:0.1,&#34;y&#34;:0.999524506449414},{&#34;theta&#34;:0.11,&#34;probability&#34;:0.000460169436248278,&#34;confidence&#34;:0.999079661127503,&#34;x&#34;:0.11,&#34;y&#34;:0.999079661127503},{&#34;theta&#34;:0.12,&#34;probability&#34;:0.000832734447940497,&#34;confidence&#34;:0.998334531104119,&#34;x&#34;:0.12,&#34;y&#34;:0.998334531104119},{&#34;theta&#34;:0.13,&#34;probability&#34;:0.0014239652669573,&#34;confidence&#34;:0.997152069466085,&#34;x&#34;:0.13,&#34;y&#34;:0.997152069466085},{&#34;theta&#34;:0.14,&#34;probability&#34;:0.00231998890516482,&#34;confidence&#34;:0.99536002218967,&#34;x&#34;:0.14,&#34;y&#34;:0.99536002218967},{&#34;theta&#34;:0.15,&#34;probability&#34;:0.00362502697453944,&#34;confidence&#34;:0.992749946050921,&#34;x&#34;:0.15,&#34;y&#34;:0.992749946050921},{&#34;theta&#34;:0.16,&#34;probability&#34;:0.00546095711151733,&#34;confidence&#34;:0.989078085776965,&#34;x&#34;:0.16,&#34;y&#34;:0.989078085776965},{&#34;theta&#34;:0.17,&#34;probability&#34;:0.00796588655322165,&#34;confidence&#34;:0.984068226893557,&#34;x&#34;:0.17,&#34;y&#34;:0.984068226893557},{&#34;theta&#34;:0.18,&#34;probability&#34;:0.0112917413300254,&#34;confidence&#34;:0.977416517339949,&#34;x&#34;:0.18,&#34;y&#34;:0.977416517339949},{&#34;theta&#34;:0.19,&#34;probability&#34;:0.0156009338215457,&#34;confidence&#34;:0.968798132356909,&#34;x&#34;:0.19,&#34;y&#34;:0.968798132356909},{&#34;theta&#34;:0.2,&#34;probability&#34;:0.0210622247007996,&#34;confidence&#34;:0.957875550598401,&#34;x&#34;:0.2,&#34;y&#34;:0.957875550598401},{&#34;theta&#34;:0.21,&#34;probability&#34;:0.0278459398154536,&#34;confidence&#34;:0.944308120369093,&#34;x&#34;:0.21,&#34;y&#34;:0.944308120369093},{&#34;theta&#34;:0.22,&#34;probability&#34;:0.0361187364416553,&#34;confidence&#34;:0.927762527116689,&#34;x&#34;:0.22,&#34;y&#34;:0.927762527116689},{&#34;theta&#34;:0.23,&#34;probability&#34;:0.0460381355411022,&#34;confidence&#34;:0.907923728917795,&#34;x&#34;:0.23,&#34;y&#34;:0.907923728917795},{&#34;theta&#34;:0.24,&#34;probability&#34;:0.0577470468616008,&#34;confidence&#34;:0.884505906276798,&#34;x&#34;:0.24,&#34;y&#34;:0.884505906276798},{&#34;theta&#34;:0.25,&#34;probability&#34;:0.0713685123146205,&#34;confidence&#34;:0.857262975370759,&#34;x&#34;:0.25,&#34;y&#34;:0.857262975370759},{&#34;theta&#34;:0.26,&#34;probability&#34;:0.087000880960923,&#34;confidence&#34;:0.825998238078154,&#34;x&#34;:0.26,&#34;y&#34;:0.825998238078154},{&#34;theta&#34;:0.27,&#34;probability&#34;:0.104713607490085,&#34;confidence&#34;:0.790572785019829,&#34;x&#34;:0.27,&#34;y&#34;:0.790572785019829},{&#34;theta&#34;:0.28,&#34;probability&#34;:0.124543836956545,&#34;confidence&#34;:0.75091232608691,&#34;x&#34;:0.28,&#34;y&#34;:0.75091232608691},{&#34;theta&#34;:0.29,&#34;probability&#34;:0.146493903594774,&#34;confidence&#34;:0.707012192810451,&#34;x&#34;:0.29,&#34;y&#34;:0.707012192810451},{&#34;theta&#34;:0.3,&#34;probability&#34;:0.170529832729409,&#34;confidence&#34;:0.658940334541182,&#34;x&#34;:0.3,&#34;y&#34;:0.658940334541182},{&#34;theta&#34;:0.31,&#34;probability&#34;:0.196580894065467,&#34;confidence&#34;:0.606838211869065,&#34;x&#34;:0.31,&#34;y&#34;:0.606838211869065},{&#34;theta&#34;:0.32,&#34;probability&#34;:0.224540213842213,&#34;confidence&#34;:0.550919572315575,&#34;x&#34;:0.32,&#34;y&#34;:0.550919572315575},{&#34;theta&#34;:0.33,&#34;probability&#34;:0.254266414156535,&#34;confidence&#34;:0.49146717168693,&#34;x&#34;:0.33,&#34;y&#34;:0.49146717168693},{&#34;theta&#34;:0.34,&#34;probability&#34;:0.285586211691276,&#34;confidence&#34;:0.428827576617447,&#34;x&#34;:0.34,&#34;y&#34;:0.428827576617447},{&#34;theta&#34;:0.35,&#34;probability&#34;:0.318297876353866,&#34;confidence&#34;:0.363404247292267,&#34;x&#34;:0.35,&#34;y&#34;:0.363404247292267},{&#34;theta&#34;:0.36,&#34;probability&#34;:0.35217542389985,&#34;confidence&#34;:0.295649152200299,&#34;x&#34;:0.36,&#34;y&#34;:0.295649152200299},{&#34;theta&#34;:0.37,&#34;probability&#34;:0.386973396157569,&#34;confidence&#34;:0.226053207684862,&#34;x&#34;:0.37,&#34;y&#34;:0.226053207684862},{&#34;theta&#34;:0.38,&#34;probability&#34;:0.422432068373071,&#34;confidence&#34;:0.155135863253859,&#34;x&#34;:0.38,&#34;y&#34;:0.155135863253859},{&#34;theta&#34;:0.39,&#34;probability&#34;:0.458282915573536,&#34;confidence&#34;:0.083434168852929,&#34;x&#34;:0.39,&#34;y&#34;:0.083434168852929},{&#34;theta&#34;:0.4,&#34;probability&#34;:0.49425416856512,&#34;confidence&#34;:0.0114916628697606,&#34;x&#34;:0.4,&#34;y&#34;:0.0114916628697606},{&#34;theta&#34;:0.41,&#34;probability&#34;:0.530076294873525,&#34;confidence&#34;:0.0601525897470501,&#34;x&#34;:0.41,&#34;y&#34;:0.0601525897470501},{&#34;theta&#34;:0.42,&#34;probability&#34;:0.565487250045856,&#34;confidence&#34;:0.130974500091712,&#34;x&#34;:0.42,&#34;y&#34;:0.130974500091712},{&#34;theta&#34;:0.43,&#34;probability&#34;:0.6002373595472,&#34;confidence&#34;:0.200474719094401,&#34;x&#34;:0.43,&#34;y&#34;:0.200474719094401},{&#34;theta&#34;:0.44,&#34;probability&#34;:0.63409371017361,&#34;confidence&#34;:0.26818742034722,&#34;x&#34;:0.44,&#34;y&#34;:0.26818742034722},{&#34;theta&#34;:0.45,&#34;probability&#34;:0.666843951555161,&#34;confidence&#34;:0.333687903110321,&#34;x&#34;:0.45,&#34;y&#34;:0.333687903110321},{&#34;theta&#34;:0.46,&#34;probability&#34;:0.698299431988929,&#34;confidence&#34;:0.396598863977857,&#34;x&#34;:0.46,&#34;y&#34;:0.396598863977857},{&#34;theta&#34;:0.47,&#34;probability&#34;:0.728297617569333,&#34;confidence&#34;:0.456595235138667,&#34;x&#34;:0.47,&#34;y&#34;:0.456595235138667},{&#34;theta&#34;:0.48,&#34;probability&#34;:0.756703768450287,&#34;confidence&#34;:0.513407536900574,&#34;x&#34;:0.48,&#34;y&#34;:0.513407536900574},{&#34;theta&#34;:0.49,&#34;probability&#34;:0.783411870218361,&#34;confidence&#34;:0.566823740436722,&#34;x&#34;:0.49,&#34;y&#34;:0.566823740436722},{&#34;theta&#34;:0.5,&#34;probability&#34;:0.808344841003418,&#34;confidence&#34;:0.616689682006836,&#34;x&#34;:0.5,&#34;y&#34;:0.616689682006836},{&#34;theta&#34;:0.51,&#34;probability&#34;:0.831454055434115,&#34;confidence&#34;:0.66290811086823,&#34;x&#34;:0.51,&#34;y&#34;:0.66290811086823},{&#34;theta&#34;:0.52,&#34;probability&#34;:0.85271824431402,&#34;confidence&#34;:0.70543648862804,&#34;x&#34;:0.52,&#34;y&#34;:0.70543648862804},{&#34;theta&#34;:0.53,&#34;probability&#34;:0.872141843535642,&#34;confidence&#34;:0.744283687071284,&#34;x&#34;:0.53,&#34;y&#34;:0.744283687071284},{&#34;theta&#34;:0.54,&#34;probability&#34;:0.889752876987755,&#34;confidence&#34;:0.779505753975511,&#34;x&#34;:0.54,&#34;y&#34;:0.779505753975511},{&#34;theta&#34;:0.55,&#34;probability&#34;:0.905600465906429,&#34;confidence&#34;:0.811200931812859,&#34;x&#34;:0.55,&#34;y&#34;:0.811200931812859},{&#34;theta&#34;:0.56,&#34;probability&#34;:0.91975206126523,&#34;confidence&#34;:0.839504122530459,&#34;x&#34;:0.56,&#34;y&#34;:0.839504122530459},{&#34;theta&#34;:0.57,&#34;probability&#34;:0.932290496511752,&#34;confidence&#34;:0.864580993023504,&#34;x&#34;:0.57,&#34;y&#34;:0.864580993023504},{&#34;theta&#34;:0.58,&#34;probability&#34;:0.94331095546382,&#34;confidence&#34;:0.88662191092764,&#34;x&#34;:0.58,&#34;y&#34;:0.88662191092764},{&#34;theta&#34;:0.59,&#34;probability&#34;:0.952917944802709,&#34;confidence&#34;:0.905835889605417,&#34;x&#34;:0.59,&#34;y&#34;:0.905835889605417},{&#34;theta&#34;:0.6,&#34;probability&#34;:0.961222352743988,&#34;confidence&#34;:0.922444705487976,&#34;x&#34;:0.6,&#34;y&#34;:0.922444705487976},{&#34;theta&#34;:0.61,&#34;probability&#34;:0.968338665588788,&#34;confidence&#34;:0.936677331177577,&#34;x&#34;:0.61,&#34;y&#34;:0.936677331177577},{&#34;theta&#34;:0.62,&#34;probability&#34;:0.974382402457655,&#34;confidence&#34;:0.94876480491531,&#34;x&#34;:0.62,&#34;y&#34;:0.94876480491531},{&#34;theta&#34;:0.63,&#34;probability&#34;:0.979467816101886,&#34;confidence&#34;:0.958935632203771,&#34;x&#34;:0.63,&#34;y&#34;:0.958935632203771},{&#34;theta&#34;:0.64,&#34;probability&#34;:0.983705894787928,&#34;confidence&#34;:0.967411789575856,&#34;x&#34;:0.64,&#34;y&#34;:0.967411789575856},{&#34;theta&#34;:0.65,&#34;probability&#34;:0.987202687353466,&#34;confidence&#34;:0.974405374706932,&#34;x&#34;:0.65,&#34;y&#34;:0.974405374706932},{&#34;theta&#34;:0.66,&#34;probability&#34;:0.990057961096871,&#34;confidence&#34;:0.980115922193742,&#34;x&#34;:0.66,&#34;y&#34;:0.980115922193742},{&#34;theta&#34;:0.67,&#34;probability&#34;:0.992364190591014,&#34;confidence&#34;:0.984728381182028,&#34;x&#34;:0.67,&#34;y&#34;:0.984728381182028},{&#34;theta&#34;:0.68,&#34;probability&#34;:0.994205865151394,&#34;confidence&#34;:0.988411730302788,&#34;x&#34;:0.68,&#34;y&#34;:0.988411730302788},{&#34;theta&#34;:0.69,&#34;probability&#34;:0.995659093808592,&#34;confidence&#34;:0.991318187617184,&#34;x&#34;:0.69,&#34;y&#34;:0.991318187617184},{&#34;theta&#34;:0.7,&#34;probability&#34;:0.996791479430329,&#34;confidence&#34;:0.993582958860658,&#34;x&#34;:0.7,&#34;y&#34;:0.993582958860658},{&#34;theta&#34;:0.71,&#34;probability&#34;:0.997662228223176,&#34;confidence&#34;:0.995324456446352,&#34;x&#34;:0.71,&#34;y&#34;:0.995324456446352},{&#34;theta&#34;:0.72,&#34;probability&#34;:0.998322457253502,&#34;confidence&#34;:0.996644914507004,&#34;x&#34;:0.72,&#34;y&#34;:0.996644914507004},{&#34;theta&#34;:0.73,&#34;probability&#34;:0.998815660821706,&#34;confidence&#34;:0.997631321643412,&#34;x&#34;:0.73,&#34;y&#34;:0.997631321643412},{&#34;theta&#34;:0.74,&#34;probability&#34;:0.999178296394706,&#34;confidence&#34;:0.998356592789413,&#34;x&#34;:0.74,&#34;y&#34;:0.998356592789413},{&#34;theta&#34;:0.75,&#34;probability&#34;:0.999440452181261,&#34;confidence&#34;:0.998880904362522,&#34;x&#34;:0.75,&#34;y&#34;:0.998880904362522},{&#34;theta&#34;:0.76,&#34;probability&#34;:0.99962656110662,&#34;confidence&#34;:0.99925312221324,&#34;x&#34;:0.76,&#34;y&#34;:0.99925312221324},{&#34;theta&#34;:0.77,&#34;probability&#34;:0.999756129655175,&#34;confidence&#34;:0.99951225931035,&#34;x&#34;:0.77,&#34;y&#34;:0.99951225931035},{&#34;theta&#34;:0.78,&#34;probability&#34;:0.999844454527686,&#34;confidence&#34;:0.999688909055371,&#34;x&#34;:0.78,&#34;y&#34;:0.999688909055371},{&#34;theta&#34;:0.79,&#34;probability&#34;:0.99990330502023,&#34;confidence&#34;:0.99980661004046,&#34;x&#34;:0.79,&#34;y&#34;:0.99980661004046},{&#34;theta&#34;:0.8,&#34;probability&#34;:0.999941554197265,&#34;confidence&#34;:0.99988310839453,&#34;x&#34;:0.8,&#34;y&#34;:0.99988310839453},{&#34;theta&#34;:0.81,&#34;probability&#34;:0.999965747040655,&#34;confidence&#34;:0.99993149408131,&#34;x&#34;:0.81,&#34;y&#34;:0.99993149408131},{&#34;theta&#34;:0.82,&#34;probability&#34;:0.999980598578908,&#34;confidence&#34;:0.999961197157815,&#34;x&#34;:0.82,&#34;y&#34;:0.999961197157815},{&#34;theta&#34;:0.83,&#34;probability&#34;:0.999989419342954,&#34;confidence&#34;:0.999978838685909,&#34;x&#34;:0.83,&#34;y&#34;:0.999978838685909},{&#34;theta&#34;:0.84,&#34;probability&#34;:0.999994469208827,&#34;confidence&#34;:0.999988938417654,&#34;x&#34;:0.84,&#34;y&#34;:0.999988938417654},{&#34;theta&#34;:0.85,&#34;probability&#34;:0.999997243675202,&#34;confidence&#34;:0.999994487350403,&#34;x&#34;:0.85,&#34;y&#34;:0.999994487350403},{&#34;theta&#34;:0.86,&#34;probability&#34;:0.999998698837753,&#34;confidence&#34;:0.999997397675507,&#34;x&#34;:0.86,&#34;y&#34;:0.999997397675507},{&#34;theta&#34;:0.87,&#34;probability&#34;:0.999999422764826,&#34;confidence&#34;:0.999998845529652,&#34;x&#34;:0.87,&#34;y&#34;:0.999998845529652},{&#34;theta&#34;:0.88,&#34;probability&#34;:0.999999761697516,&#34;confidence&#34;:0.999999523395032,&#34;x&#34;:0.88,&#34;y&#34;:0.999999523395032},{&#34;theta&#34;:0.89,&#34;probability&#34;:0.999999909577602,&#34;confidence&#34;:0.999999819155204,&#34;x&#34;:0.89,&#34;y&#34;:0.999999819155204},{&#34;theta&#34;:0.9,&#34;probability&#34;:0.999999968963797,&#34;confidence&#34;:0.999999937927595,&#34;x&#34;:0.9,&#34;y&#34;:0.999999937927595},{&#34;theta&#34;:0.91,&#34;probability&#34;:0.999999990564098,&#34;confidence&#34;:0.999999981128196,&#34;x&#34;:0.91,&#34;y&#34;:0.999999981128196},{&#34;theta&#34;:0.92,&#34;probability&#34;:0.999999997530193,&#34;confidence&#34;:0.999999995060386,&#34;x&#34;:0.92,&#34;y&#34;:0.999999995060386},{&#34;theta&#34;:0.93,&#34;probability&#34;:0.999999999465214,&#34;confidence&#34;:0.999999998930428,&#34;x&#34;:0.93,&#34;y&#34;:0.999999998930428},{&#34;theta&#34;:0.94,&#34;probability&#34;:0.999999999909645,&#34;confidence&#34;:0.999999999819289,&#34;x&#34;:0.94,&#34;y&#34;:0.999999999819289},{&#34;theta&#34;:0.95,&#34;probability&#34;:0.99999999998912,&#34;confidence&#34;:0.99999999997824,&#34;x&#34;:0.95,&#34;y&#34;:0.99999999997824},{&#34;theta&#34;:0.96,&#34;probability&#34;:0.999999999999198,&#34;confidence&#34;:0.999999999998396,&#34;x&#34;:0.96,&#34;y&#34;:0.999999999998396},{&#34;theta&#34;:0.97,&#34;probability&#34;:0.999999999999973,&#34;confidence&#34;:0.999999999999945,&#34;x&#34;:0.97,&#34;y&#34;:0.999999999999945},{&#34;theta&#34;:0.98,&#34;probability&#34;:1,&#34;confidence&#34;:1,&#34;x&#34;:0.98,&#34;y&#34;:1},{&#34;theta&#34;:0.99,&#34;probability&#34;:1,&#34;confidence&#34;:1,&#34;x&#34;:0.99,&#34;y&#34;:1},{&#34;theta&#34;:1,&#34;probability&#34;:1,&#34;confidence&#34;:1,&#34;x&#34;:1,&#34;y&#34;:1}],&#34;type&#34;:&#34;line&#34;}],&#34;xAxis&#34;:{&#34;type&#34;:&#34;linear&#34;,&#34;title&#34;:{&#34;text&#34;:&#34;theta&#34;},&#34;categories&#34;:null},&#34;tooltip&#34;:{&#34;valueDecimals&#34;:4,&#34;valuePrefix&#34;:&#34;conf level = &#34;}},&#34;theme&#34;:{&#34;chart&#34;:{&#34;backgroundColor&#34;:&#34;transparent&#34;}},&#34;conf_opts&#34;:{&#34;global&#34;:{&#34;Date&#34;:null,&#34;VMLRadialGradientURL&#34;:&#34;http =//code.highcharts.com/list(version)/gfx/vml-radial-gradient.png&#34;,&#34;canvasToolsURL&#34;:&#34;http =//code.highcharts.com/list(version)/modules/canvas-tools.js&#34;,&#34;getTimezoneOffset&#34;:null,&#34;timezoneOffset&#34;:0,&#34;useUTC&#34;:true},&#34;lang&#34;:{&#34;contextButtonTitle&#34;:&#34;Chart context menu&#34;,&#34;decimalPoint&#34;:&#34;.&#34;,&#34;downloadJPEG&#34;:&#34;Download JPEG image&#34;,&#34;downloadPDF&#34;:&#34;Download PDF document&#34;,&#34;downloadPNG&#34;:&#34;Download PNG image&#34;,&#34;downloadSVG&#34;:&#34;Download SVG vector image&#34;,&#34;drillUpText&#34;:&#34;Back to {series.name}&#34;,&#34;invalidDate&#34;:null,&#34;loading&#34;:&#34;Loading...&#34;,&#34;months&#34;:[&#34;January&#34;,&#34;February&#34;,&#34;March&#34;,&#34;April&#34;,&#34;May&#34;,&#34;June&#34;,&#34;July&#34;,&#34;August&#34;,&#34;September&#34;,&#34;October&#34;,&#34;November&#34;,&#34;December&#34;],&#34;noData&#34;:&#34;No data to display&#34;,&#34;numericSymbols&#34;:[&#34;k&#34;,&#34;M&#34;,&#34;G&#34;,&#34;T&#34;,&#34;P&#34;,&#34;E&#34;],&#34;printChart&#34;:&#34;Print chart&#34;,&#34;resetZoom&#34;:&#34;Reset zoom&#34;,&#34;resetZoomTitle&#34;:&#34;Reset zoom level 1:1&#34;,&#34;shortMonths&#34;:[&#34;Jan&#34;,&#34;Feb&#34;,&#34;Mar&#34;,&#34;Apr&#34;,&#34;May&#34;,&#34;Jun&#34;,&#34;Jul&#34;,&#34;Aug&#34;,&#34;Sep&#34;,&#34;Oct&#34;,&#34;Nov&#34;,&#34;Dec&#34;],&#34;thousandsSep&#34;:&#34; &#34;,&#34;weekdays&#34;:[&#34;Sunday&#34;,&#34;Monday&#34;,&#34;Tuesday&#34;,&#34;Wednesday&#34;,&#34;Thursday&#34;,&#34;Friday&#34;,&#34;Saturday&#34;]}},&#34;type&#34;:&#34;chart&#34;,&#34;fonts&#34;:[],&#34;debug&#34;:false},&#34;evals&#34;:[],&#34;jsHooks&#34;:[]}&lt;/script&gt;
&lt;p&gt;Pick a point on the left branch of the curve. The y value gives you the level of confidence and the x value is the lower bound of the corresponding confidence interval. Move horizontally across to the right branch to read off the upper end of the confidence interval. So reading up and down the curve you can read off the confidence intervals for any value of confidence.&lt;/p&gt;
&lt;p&gt;As a check, we compute the 95% confidence interval for &lt;span class=&#34;math inline&#34;&gt;\(\theta\)&lt;/span&gt; using the normal approximation to the binomial.&lt;/p&gt;
&lt;pre class=&#34;r&#34;&gt;&lt;code&gt;ub &amp;lt;- 8 / 20 + (1.96 / 20) * sqrt(8 * 12 / 20)
lb &amp;lt;- 8 / 20 - (1.96 / 20) * sqrt(8 * 12 / 20)
cat(&amp;quot;95% CI = [&amp;quot; , lb , &amp;quot;,&amp;quot; , ub, &amp;quot;]&amp;quot;)&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;## 95% CI = [ 0.1853 , 0.6147 ]&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you are a Bayesian, there is a really amusing side to confidence distributions. In order to be clear that what they are doing with confidence distributions is in fact different from what Bayesians do when they choose priors, the champions of confidence distributions appeal to &lt;a href=&#34;https://plato.stanford.edu/entries/epistemology/&#34;&gt;epistomology&lt;/a&gt;, the study of knowledge and justified belief. On page (xiv) of their book, Schweder and Hjort write:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The concept of confidence distribution is rather basic, but has proved difficult for statisticians to accept. The main reason is perhaps that confidence distributions represent epistemic probability obtained from the aleatory probability of the statistical model (i.e. the chance variation in nature and society), and to face both types of probability at the same time might be challenging. The traditional Bayesian deals only with subjective probability, which is epistemic when based on knowledge, and the frequentist of the Neyman-Wald school deals only with sampling variability, that is, aleatory probability.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Please indulge me while I unpack this. Aleatory probabilities are what nature and the world give us: the decay times of alpha particles, the valuable behaviors of large populations, etc. Hard-core frequentists will only allow themselves to compute aleatory probabilities. As soon as you compute a confidence distribution or even a confidence interval, you are working with epistemic probabilities: what you believe would be true under repeated sampling that may be impossible to actually carry out. But, you are justified in doing this because these epistemic probabilities are anchored in aleatory probabilities. When Bayesians base their choice of priors on rational beliefs based on plausible evidence, they are on the same epistemic footing as frequentists computing confidence intervals. When Bayesians are capricious in choosing their priors, they are not. Asking most statisticians to think about these things gives them headaches. Thus, quietly, in work that builds bridges, ends the Bayesian vs. Frequentist controversy.&lt;/p&gt;
&lt;p&gt;Notes:&lt;br /&gt;
1. Schweder and Hjolt’s book is really worth owning. Not only does it offer a comprehensive account of confidence distributions and how they may be useful in practice, but it is also a good general reference on statistical inference.&lt;/p&gt;
&lt;ol start=&#34;2&#34; style=&#34;list-style-type: decimal&#34;&gt;
&lt;li&gt;If you are interested in exploring confidence distributions further, have a look at the &lt;a href=&#34;https://CRAN.R-project.org/package=pvaluefunctions&#34;&gt;pvaluefunctions&lt;/a&gt; and &lt;a href=&#34;https://cran.r-project.org/package=gmeta&#34;&gt;gmeta&lt;/a&gt; that are both on CRAN.&lt;/li&gt;
&lt;/ol&gt;

        &lt;script&gt;window.location.href=&#39;https://rviews.rstudio.com/2019/11/05/a-first-look-at-confidence-distributions/&#39;;&lt;/script&gt;
      </description>
    </item>
    
  </channel>
</rss>
