1
+ <!DOCTYPE HTML>
2
+ < html >
3
+ < head >
4
+ < meta http-equiv ='Content-Type ' content ='text/html; charset=utf-8 ' />
5
+ < title > JASP</ title > < style > p {margin-top : 1em ; margin-bottom : 1em ;} body {font-family : sans-serif;} </ style > </ head >
6
+ < body style ='display: block; padding: 0px; margin: 0px; '>
7
+ < div style ="display:inline-block "> < div style ='padding: 0px; text-align: start; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; display: block; float: none; position: static; '>
8
+ < div style ="display:inline-block; ">
9
+ < div style ='padding: 0px; margin: 0px 20.4px; display: block; float: none; '> < h1 style ='padding: 0px; text-align: start; margin: 14.07px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 21px; font: 700 21px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Adam Sandler: Bayesian Pearson's Correlation</ h1 > </ div > < div style ='margin: 7.2px 20.4px; padding: 0px; max-width: 840px; min-width: 480px; display: block; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0.996094px; border-top-color: rgb(205, 205, 205); border-bottom-style: solid; border-bottom-width: 0.996094px; border-bottom-color: rgb(205, 205, 205); '> < p > < strong > Description:</ strong > </ p > < p > This data set, "Adam Sandler", provides Rotten Tomatoes ratings and box office success for movies featuring Adam Sandler.</ p > < p > The data contain the 2001-2015 filmography of Adam Sandler together with freshness ratings (indicated by a score from 0 to 1) and box office success in millions of US dollars. The data were obtained from the Rotten Tomatoes website.</ p > < p > < strong > Variables:</ strong > </ p > < ul > < li > < strong > Year -</ strong > Year of the movies' premiere.</ li > < li > < strong > Freshness -</ strong > Freshness ratings on Rotten Tomatoes (ranges from 0 = rotten to 1 = fresh).</ li > < li > < strong > Box Office ($M) -</ strong > Box office succes of the movies, expressed in millions of US dollars.</ li > < li > < strong > Movie Title -</ strong > The movie title.</ li > </ ul > < p > Thie example JASP file demonstrates the use of a Bayesian Pearson's correlation. Specifically, we will assess whether the data are more likely to occur under the null hypothesis (which holds that there is no linear association between freshness ratings and box office success), or under the alternative hypothesis (which holds that there is a positive association between freshness ratings and box office success, that is, Adam Sandler movies with relatively good reviews attract a bigger audience).</ p > < p > < strong > Reference:</ strong > </ p > < p > The data were collected from Rotten Tomatoes (www.rottentomatoes.com) in 2015 by Eric-Jan Wagenmakers.</ p > </ div > < div style ='padding: 0px 12px 12px; text-align: start; margin-bottom: 8.4px; margin-top: 0px; margin-left: 8.4px; margin-right: 8.4px; display: block; float: none; position: relative; '>
10
+ < div style ="display:inline-block; ">
11
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h2 style ='padding: 0px; text-align: start; margin: 14.94px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 18px; font: 700 18px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Bayesian Correlation</ h2 > </ div > < div style ='margin: 7.2px 0px 6px; padding: 0px; max-width: 840px; min-width: 480px; display: block; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0.996094px; border-top-color: rgb(205, 205, 205); border-bottom-style: solid; border-bottom-width: 0.996094px; border-bottom-color: rgb(205, 205, 205); '> < p > The sample correlation is weak and even somewhat negative (r = -0.029). The Bayes factor BF0+ indicates that it is about 5 times more likely that we would observe this sample correlation if there is no relationship between the ratings and Box Office sales than if the correlation was positive (and given by a uniform distribution from 0 to 1). </ p > </ div > < div style ='padding: 0px 7.2px 0px 0px; text-align: start; margin-bottom: 7.2px; margin-top: 1.2px; margin-left: 0px; margin-right: 7.2px; display: block; float: none; position: static; '>
12
+ < div style ="display:inline-block; ">
13
+ < div > < table style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(128, 128, 128); border-style: none; padding: 0px; text-align: start; margin-bottom: 24px; margin-top: 0px; display: table; float: none; color: rgb(0, 0, 0); ' > < thead > < tr > < th style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0.996094px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 6px 10px 6px 0px; text-align: left; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="10 " > < div > < div > < span style ='padding: 0px; text-align: left; margin: 0px; display: inline-block; float: none; vertical-align: middle; font-size: 12px; font: 12px Arial; font-weight: 400; color: rgb(0, 0, 0); ' > Bayesian Pearson Correlations</ span >
14
+ < div > </ div >
15
+ < div > </ div >
16
+ </ div >
17
+ </ div >
18
+ </ th >
19
+ </ tr >
20
+ < tr > < th style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0.996094px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 3px 12px; text-align: center; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="2 " > </ th >
21
+ < th style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0.996094px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 3px 0px; text-align: center; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="2 " > </ th >
22
+ < th style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0.996094px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 3px 12px; text-align: center; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="2 " > </ th >
23
+ < th style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0.996094px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 3px 12px; text-align: center; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="2 " > Pearson's r</ th >
24
+ < th style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0.996094px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 3px 12px; text-align: center; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="2 " > BF₀₊</ th >
25
+ </ tr >
26
+ </ thead >
27
+ < tbody > < tr > < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 0px 1px 12px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > Freshness</ td >
28
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 12px 1px 0px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > </ td >
29
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 0px 1px 12px; text-align: right; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > -</ td >
30
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 12px 1px 0px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > </ td >
31
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 0px 1px 12px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > Box Office ($M)</ td >
32
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 12px 1px 0px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > </ td >
33
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 0px 1px 12px; text-align: right; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > -0.029</ td >
34
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 12px 1px 0px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > </ td >
35
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 0px 1px 12px; text-align: right; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > 5.020</ td >
36
+ < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 10.8px 12px 1px 0px; text-align: left; margin: 0px 0px 9.6px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' > </ td >
37
+ </ tr >
38
+ < tr > < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 1.9987px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none none solid; padding: 1px; text-align: right; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="10 " > </ td >
39
+ </ tr >
40
+ </ tbody >
41
+ < tfoot > < tr > < td style ='border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-color: rgb(0, 0, 0); border-style: none; padding: 1px; text-align: left; margin: 0px; display: table-cell; float: none; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); ' colspan ="10 " > < em > Note.</ em >
42
+ For all tests, the alternative hypothesis specifies that the correlation is positive.</ td >
43
+ </ tr >
44
+ </ tfoot >
45
+ </ table >
46
+ </ div >
47
+ </ div > </ div > < div style ='padding: 0px 7.2px; text-align: start; margin-bottom: 7.2px; margin-top: 7.2px; margin-left: 0px; margin-right: 7.2px; display: block; float: none; position: static; '>
48
+ < div style ="display:inline-block; ">
49
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h3 style ='padding: 0px; text-align: start; margin: 7.5px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 15px; font: 700 15px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Bayesian Correlation Pairwise Plots</ h3 > </ div > < div style ='padding: 0px 7.2px; text-align: start; margin-bottom: 7.2px; margin-top: 1.2px; margin-left: 0px; margin-right: 7.2px; display: block; float: none; position: static; '>
50
+ < div style ="display:inline-block; ">
51
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h4 style ='padding: 0px; text-align: start; margin: 6.9px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 13.8px; font: 700 13.8px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Freshness - Box Office ($M)</ h4 > </ div > < div style ='padding: 0px 7.2px; text-align: start; margin-bottom: 7.2px; margin-top: 1.2px; margin-left: 0px; margin-right: 7.2px; display: inline-block; float: none; position: relative; '>
52
+ < div style ="display:inline-block; ">
53
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h5 style ='padding: 0px; text-align: start; margin: 6.3px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 12.6px; font: 700 12.6px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Scatterplot</ h5 > </ div > < img src ="resources/0/_0_t1681915520102.png " style ="width:530px; height:400px; " /> </ div > </ div > < div style ='padding: 0px 7.2px; text-align: start; margin-bottom: 7.2px; margin-top: 7.2px; margin-left: 0px; margin-right: 7.2px; display: inline-block; float: none; position: relative; '>
54
+ < div style ="display:inline-block; ">
55
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h5 style ='padding: 0px; text-align: start; margin: 6.3px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 12.6px; font: 700 12.6px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Prior and Posterior</ h5 > </ div > < img src ="resources/0/_1_t1681915520346.png " style ="width:530px; height:400px; " /> </ div > </ div > < div style ='padding: 0px 7.2px; text-align: start; margin-bottom: 7.2px; margin-top: 7.2px; margin-left: 0px; margin-right: 7.2px; display: inline-block; float: none; position: relative; '>
56
+ < div style ="display:inline-block; ">
57
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h5 style ='padding: 0px; text-align: start; margin: 6.3px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 12.6px; font: 700 12.6px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Bayes Factor Robustness Check</ h5 > </ div > < img src ="resources/0/_3_t1681915521032.png " style ="width:530px; height:400px; " /> </ div > </ div > < div style ='padding: 0px 7.2px; text-align: start; margin-bottom: 7.2px; margin-top: 7.2px; margin-left: 0px; margin-right: 7.2px; display: inline-block; float: none; position: relative; '>
58
+ < div style ="display:inline-block; ">
59
+ < div style ='padding: 0px; margin: 0px; display: block; float: none; '> < h5 style ='padding: 0px; text-align: start; margin: 6.3px 0px; display: inline-block; float: none; vertical-align: middle; font-size: 12.6px; font: 700 12.6px Arial; font-weight: 700; color: rgb(0, 0, 0); '> Sequential Analysis</ h5 > </ div > < img src ="resources/0/_2_t1681915520782.png " style ="width:530px; height:400px; " /> </ div > </ div > </ div > </ div > </ div > </ div > < div style ='margin: 7.2px 0px; padding: 0px; max-width: 840px; min-width: 480px; display: block; font-size: 12px; font-weight: 400; font: 12px Arial; color: rgb(0, 0, 0); border-top-style: solid; border-top-width: 0.996094px; border-top-color: rgb(205, 205, 205); border-bottom-style: solid; border-bottom-width: 0.996094px; border-bottom-color: rgb(205, 205, 205); '> < p > < br > </ p > </ div > </ div > </ div > </ div > </ div > </ div > </ body >
60
+ </ html >
0 commit comments