Skip to content

Commit

Permalink
Merge pull request #227 from stan-dev/more-jsons
Browse files Browse the repository at this point in the history
Add more converted json data
  • Loading branch information
WardBrian authored Jul 30, 2024
2 parents bd393fa + 0b233c5 commit 4902ad7
Show file tree
Hide file tree
Showing 43 changed files with 1,548 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Bayesian_Cognitive_Modeling/GettingStarted/Rate_1.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"k": 5,
"n": 10
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"k": 5,
"n": 10
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"n1": 10,
"n2": 10,
"k1": 5,
"k2": 7
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"n1": 10,
"n2": 10,
"k1": 5,
"k2": 7
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"k": 1,
"n": 15
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"k": 24,
"n": 121
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"n1": 10,
"n2": 10,
"k1": 0,
"k2": 10
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"nmax": 500,
"k": [16, 18, 22, 25, 27],
"m": 5
}
564 changes: 564 additions & 0 deletions education/dina_independent/dina_independent.data.json

Large diffs are not rendered by default.

564 changes: 564 additions & 0 deletions education/dina_independent/dina_nostructure.data.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions education/hierarchical_2pl/hierarchical_2pl.data.json

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions education/tutorial_twopl/reg_centered.data.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions education/tutorial_twopl/reg_dif.data.json

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions education/tutorial_twopl/reg_noncentered.data.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions education/tutorial_twopl/twopl.data.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions knitr/car-iar-poisson/update_2021_02/scotland_lip.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"x": [0.16, 0.16, 0.1, 0.24, 0.1, 0.24, 0.1, 0.07, 0.07, 0.16, 0.07, 0.16, 0.1, 0.24, 0.07, 0.16, 0.1, 0.07, 0.07, 0.1, 0.07, 0.16, 0.1, 0.07, 0.01, 0.01, 0.07, 0.07, 0.1, 0.1, 0.07, 0.24, 0.1, 0.07, 0.07, 0, 0.1, 0.01, 0.16, 0, 0.01, 0.16, 0.16, 0, 0.01, 0.07, 0.01, 0.01, 0, 0.01, 0.01, 0, 0.01, 0.01, 0.16, 0.1],
"y": [9, 39, 11, 9, 15, 8, 26, 7, 6, 20, 13, 5, 3, 8, 17, 9, 2, 7, 9, 7, 16, 31, 11, 7, 19, 15, 7, 10, 16, 11, 5, 3, 7, 8, 11, 9, 11, 8, 6, 4, 10, 8, 2, 6, 19, 3, 2, 3, 28, 6, 1, 1, 1, 1, 0, 0],
"E": [1.4, 8.7, 3, 2.5, 4.3, 2.4, 8.1, 2.3, 2, 6.6, 4.4, 1.8, 1.1, 3.3, 7.8, 4.6, 1.1, 4.2, 5.5, 4.4, 10.5, 22.7, 8.8, 5.6, 15.5, 12.5, 6, 9, 14.4, 10.2, 4.8, 2.9, 7, 8.5, 12.3, 10.1, 12.7, 9.4, 7.2, 5.3, 18.8, 15.8, 4.3, 14.6, 50.7, 8.2, 5.6, 9.3, 88.7, 19.6, 3.4, 3.6, 5.7, 7, 4.2, 1.8]
}
7 changes: 7 additions & 0 deletions knitr/chapter1/fake-data.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"x": [2.2853296995163, 0.674138290341944, 2.97911234200001, 7.25195993902162, 5.48518705647439, 6.16006637923419, 9.12475175224245, 7.85220248624682, 4.64161953656003, 9.81822612928227, 7.95531257521361, 4.29855593945831, 5.55137525312603, 1.71344911446795, 4.05352542409673, 8.81462065735832, 2.18668370507658, 9.97622460359707, 7.72820800775662, 2.90110652800649, 6.35918467305601, 0.231357580050826, 4.19029676821083, 9.08321775961667, 3.3600021735765, 8.67224041838199, 8.59367203898728, 4.31982519337907, 4.18018239783123, 3.95117466570809, 4.53975410433486, 9.65833041351289, 5.05022519268095, 8.77252815989777, 5.1377896242775, 7.61265947949141, 9.20889288419858, 4.62758573470637, 9.81446951394901, 9.87865060800686, 8.17965957103297, 3.01347282482311, 1.82404764462262, 3.38288246886805, 5.80676758894697, 2.80335777206346, 4.61396040162072, 4.53697587829083, 9.61025682976469, 3.46600423566997, 0.817313937004656, 6.8241445091553, 5.6719551468268, 7.14498632820323, 3.53087692754343, 1.55980194685981, 2.46012952644378, 3.98026936454698, 8.03334353491664, 2.7307740971446, 6.58313227817416, 2.37085219938308, 2.48372358735651, 6.203433717601, 8.11904138652608, 4.05982252210379, 5.01939266454428, 5.41474604280666, 4.45003962609917, 0.451937709003687, 3.18692218745127, 1.42222109017894, 6.08129358151928, 8.47746526822448, 6.61727556958795, 0.536629417911172, 1.31974522257224, 3.49203322548419, 8.39104288257658, 5.05498125916347, 6.55772913945839, 9.14206789340824, 8.55886349920183, 1.42991979140788, 2.15637924149632, 7.85603262018412, 8.54894736781716, 8.66789509309456, 8.87904351809993, 2.55191378993914, 7.99239561660215, 6.19454300496727, 2.15904936660081, 3.43557879095897, 7.7779614389874, 3.05063382489607, 6.50456659263, 2.30009848019108, 0.329714738763869, 0.149868202861398],
"sigma": 5,
"a": 2,
"b": 3,
"N": 100
}
5 changes: 5 additions & 0 deletions knitr/chapter1/simplest-regression.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"x": [0.507328067906201, 1.53260154882446, 3.91292023472488, 8.07886009570211, 5.12549930950627, 9.0857648360543, 3.72509124688804, 5.95977402059361, 8.65114396205172, 9.69724742230028, 8.82765574846417, 8.0464987992309, 1.91117837559432, 5.97621644148603, 9.69551225891337, 9.40746597247198, 7.42127377772704, 4.46606757584959, 4.91346358787268, 5.20750917261466, 8.60888902796432, 7.89303531637415, 2.3096569837071, 6.31758658215404, 2.26071157725528, 0.708643249236047, 2.31518820859492, 4.82616354012862, 7.73621813859791, 7.39101707469672, 3.18168679485098, 7.61797866784036, 1.94191251182929, 1.08615981647745, 6.01567466277629, 8.80545222433284, 6.80963168852031, 1.12651099683717, 9.22755726147443, 4.82936889166012, 2.83023830736056, 3.06597816525027, 2.98667514929548, 2.29693892644718, 7.09124287823215, 7.1630224189721, 6.46266162861139, 7.16923107160255, 1.23017649631947, 9.85442902194336, 4.10298435948789, 9.44249524036422, 5.01679378096014, 3.50627436768264, 3.23523359140381, 8.11959446407855, 0.318629154935479, 8.19387938827276, 2.80205589719117, 7.90206669131294, 2.91444341884926, 0.501565947197378, 4.12775222444907, 1.25772389350459, 3.26489231549203, 8.03326084045693, 5.52027114434168, 9.49844204820693, 9.83832313679159, 6.06833420228213, 5.78228635713458, 0.159530621021986, 6.15989632671699, 0.565385406371206, 3.32634499762207, 5.99907119991258, 6.42221869435161, 7.78480920242146, 1.6154010198079, 6.40206620562822, 2.20054193399847, 3.67591219721362, 9.65326205827296, 4.24420014023781, 9.98306149151176, 8.26122796628624, 7.49002234777436, 6.38011312345043, 8.77622718457133, 4.10558220697567, 5.46563858631998, 2.48607469722629, 3.68429954629391, 3.36249730316922, 7.73126894375309, 1.9974720152095, 1.90315729007125, 5.13465406373143, 3.16930384142324, 2.34431644668803],
"y": [7.56552006313076, 9.76939121749182, 24.2448359410629, 20.9821514358478, 24.9962784837968, 26.8915997662255, 13.5881436017663, 19.6545045571507, 19.1911128631036, 30.8837628430223, 34.8955632358237, 18.8870707062523, 10.6975736476306, 15.5098375621426, 26.7910429618714, 21.9293182116884, 29.9959641528661, 14.4336073380027, 10.1660540700647, 17.663470456751, 35.4119442930633, 22.404822512505, -1.22042046262689, 23.4344635414683, 14.811312738173, 4.18069318567838, 12.5180973861314, 7.19119270574544, 24.1295396797915, 20.4869594668355, 13.213607838582, 29.777945592468, 12.2245266270612, 8.10797586076861, 19.8171814400653, 24.1081160733131, 22.9087287329155, 12.6086166985308, 32.0757649197201, 15.3861261517808, 8.61150222703634, 10.962062247365, 8.27427001372424, 11.508717141065, 35.5241284496367, 13.7909400941573, 18.6517195943646, 29.6273245188661, 2.04731665131452, 26.7040875860107, 11.4057023383477, 26.7880889846927, 20.0020738656452, 18.2364874544682, 7.44406620641143, 20.7642578817391, 2.05870239595777, 25.5704502520692, 16.6620364567942, 26.3144188598547, 10.8802999470338, -4.30981317344027, 23.1527270482452, -2.11294361574222, 9.16930389643637, 28.756143132455, 15.1350701685981, 26.7684106673939, 37.0069536323432, 29.3135092857704, 16.952588572893, 0.354036449175697, 16.330557176018, -13.7571897636472, 10.1466768142457, 18.7250139648418, 27.3524614620177, 22.0018363467837, 13.0654884830186, 24.4052030316632, 7.67434195964745, 10.2971540250292, 32.1844941240187, 20.3158889108271, 32.2194118439009, 19.2800804786584, 24.3680263777705, 22.9323155709183, 27.7139321374481, 10.1573110372689, 18.701397759763, 8.0429159918026, 12.4139349424528, 9.39088662208607, 20.7470342090419, 12.365636243757, 12.1422242014525, 26.5921509715383, 8.36492785003775, 16.6142577646007],
"N": 100
}
107 changes: 107 additions & 0 deletions knitr/chapter1/vector-regression.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"X": [
[1, 0.507328067906201],
[1, 1.53260154882446],
[1, 3.91292023472488],
[1, 8.07886009570211],
[1, 5.12549930950627],
[1, 9.0857648360543],
[1, 3.72509124688804],
[1, 5.95977402059361],
[1, 8.65114396205172],
[1, 9.69724742230028],
[1, 8.82765574846417],
[1, 8.0464987992309],
[1, 1.91117837559432],
[1, 5.97621644148603],
[1, 9.69551225891337],
[1, 9.40746597247198],
[1, 7.42127377772704],
[1, 4.46606757584959],
[1, 4.91346358787268],
[1, 5.20750917261466],
[1, 8.60888902796432],
[1, 7.89303531637415],
[1, 2.3096569837071],
[1, 6.31758658215404],
[1, 2.26071157725528],
[1, 0.708643249236047],
[1, 2.31518820859492],
[1, 4.82616354012862],
[1, 7.73621813859791],
[1, 7.39101707469672],
[1, 3.18168679485098],
[1, 7.61797866784036],
[1, 1.94191251182929],
[1, 1.08615981647745],
[1, 6.01567466277629],
[1, 8.80545222433284],
[1, 6.80963168852031],
[1, 1.12651099683717],
[1, 9.22755726147443],
[1, 4.82936889166012],
[1, 2.83023830736056],
[1, 3.06597816525027],
[1, 2.98667514929548],
[1, 2.29693892644718],
[1, 7.09124287823215],
[1, 7.1630224189721],
[1, 6.46266162861139],
[1, 7.16923107160255],
[1, 1.23017649631947],
[1, 9.85442902194336],
[1, 4.10298435948789],
[1, 9.44249524036422],
[1, 5.01679378096014],
[1, 3.50627436768264],
[1, 3.23523359140381],
[1, 8.11959446407855],
[1, 0.318629154935479],
[1, 8.19387938827276],
[1, 2.80205589719117],
[1, 7.90206669131294],
[1, 2.91444341884926],
[1, 0.501565947197378],
[1, 4.12775222444907],
[1, 1.25772389350459],
[1, 3.26489231549203],
[1, 8.03326084045693],
[1, 5.52027114434168],
[1, 9.49844204820693],
[1, 9.83832313679159],
[1, 6.06833420228213],
[1, 5.78228635713458],
[1, 0.159530621021986],
[1, 6.15989632671699],
[1, 0.565385406371206],
[1, 3.32634499762207],
[1, 5.99907119991258],
[1, 6.42221869435161],
[1, 7.78480920242146],
[1, 1.6154010198079],
[1, 6.40206620562822],
[1, 2.20054193399847],
[1, 3.67591219721362],
[1, 9.65326205827296],
[1, 4.24420014023781],
[1, 9.98306149151176],
[1, 8.26122796628624],
[1, 7.49002234777436],
[1, 6.38011312345043],
[1, 8.77622718457133],
[1, 4.10558220697567],
[1, 5.46563858631998],
[1, 2.48607469722629],
[1, 3.68429954629391],
[1, 3.36249730316922],
[1, 7.73126894375309],
[1, 1.9974720152095],
[1, 1.90315729007125],
[1, 5.13465406373143],
[1, 3.16930384142324],
[1, 2.34431644668803]
],
"y": [7.56552006313076, 9.76939121749182, 24.2448359410629, 20.9821514358478, 24.9962784837968, 26.8915997662255, 13.5881436017663, 19.6545045571507, 19.1911128631036, 30.8837628430223, 34.8955632358237, 18.8870707062523, 10.6975736476306, 15.5098375621426, 26.7910429618714, 21.9293182116884, 29.9959641528661, 14.4336073380027, 10.1660540700647, 17.663470456751, 35.4119442930633, 22.404822512505, -1.22042046262689, 23.4344635414683, 14.811312738173, 4.18069318567838, 12.5180973861314, 7.19119270574544, 24.1295396797915, 20.4869594668355, 13.213607838582, 29.777945592468, 12.2245266270612, 8.10797586076861, 19.8171814400653, 24.1081160733131, 22.9087287329155, 12.6086166985308, 32.0757649197201, 15.3861261517808, 8.61150222703634, 10.962062247365, 8.27427001372424, 11.508717141065, 35.5241284496367, 13.7909400941573, 18.6517195943646, 29.6273245188661, 2.04731665131452, 26.7040875860107, 11.4057023383477, 26.7880889846927, 20.0020738656452, 18.2364874544682, 7.44406620641143, 20.7642578817391, 2.05870239595777, 25.5704502520692, 16.6620364567942, 26.3144188598547, 10.8802999470338, -4.30981317344027, 23.1527270482452, -2.11294361574222, 9.16930389643637, 28.756143132455, 15.1350701685981, 26.7684106673939, 37.0069536323432, 29.3135092857704, 16.952588572893, 0.354036449175697, 16.330557176018, -13.7571897636472, 10.1466768142457, 18.7250139648418, 27.3524614620177, 22.0018363467837, 13.0654884830186, 24.4052030316632, 7.67434195964745, 10.2971540250292, 32.1844941240187, 20.3158889108271, 32.2194118439009, 19.2800804786584, 24.3680263777705, 22.9323155709183, 27.7139321374481, 10.1573110372689, 18.701397759763, 8.0429159918026, 12.4139349424528, 9.39088662208607, 20.7470342090419, 12.365636243757, 12.1422242014525, 26.5921509715383, 8.36492785003775, 16.6142577646007],
"K": 2,
"N": 100
}
8 changes: 8 additions & 0 deletions knitr/chapter2/golf1.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"x": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
"y": [1346, 577, 337, 208, 149, 136, 111, 69, 67, 75, 52, 46, 54, 28, 27, 31, 33, 20, 24],
"J": 19,
"n": [1443, 694, 455, 353, 272, 256, 240, 217, 200, 237, 202, 192, 174, 167, 201, 195, 191, 147, 152],
"R": 0.177083333333333,
"r": 0.07
}
11 changes: 11 additions & 0 deletions knitr/chapter2/worldcup_first_try.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"N_teams": 32,
"score_1": [3, 1, 0, 0, 1, 1, 1, 3, 0, 2, 0, 2, 3, 2, 2, 0, 1, 2, 1, 1, 2, 0, 0, 0, 2, 3, 2, 1, 0, 0, 2, 0, 1, 1, 2, 3, 4, 1, 2, 2, 0, 2, 2, 1, 1, 2, 0, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 0, 0, 1, 1, 0, 0, 1],
"score_2": [1, 0, 0, 4, 4, 3, 5, 1, 2, 3, 3, 0, 0, 1, 1, 0, 4, 1, 3, 2, 1, 1, 1, 0, 1, 0, 5, 2, 3, 0, 1, 0, 0, 0, 3, 1, 0, 2, 2, 2, 1, 1, 1, 1, 0, 4, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 7, 0, 3, 0],
"b": 0,
"N_games": 64,
"prior_score": [0.82615277587799, 0.772852596789088, 0.719552417700185, 0.666252238611283, 0.61295205952238, 0.559651880433477, 0.506351701344575, 0.453051522255672, 0.39975134316677, 0.346451164077867, 0.293150984988964, 0.239850805900062, 0.186550626811159, 0.133250447722257, 0.0799502686333539, 0.0266500895444513, -0.0266500895444513, -0.0799502686333539, -0.133250447722257, -0.186550626811159, -0.239850805900062, -0.293150984988964, -0.346451164077867, -0.39975134316677, -0.453051522255672, -0.506351701344575, -0.559651880433477, -0.61295205952238, -0.666252238611283, -0.719552417700185, -0.772852596789088, -0.82615277587799],
"df": 7,
"team_1": [1, 20, 1, 28, 28, 23, 4, 5, 4, 32, 32, 11, 7, 15, 7, 27, 27, 22, 8, 9, 8, 17, 17, 26, 18, 6, 18, 30, 30, 13, 2, 29, 2, 24, 24, 12, 3, 21, 3, 19, 19, 14, 10, 16, 10, 25, 25, 31, 1, 7, 11, 26, 6, 3, 2, 10, 1, 6, 11, 2, 1, 11, 1, 3],
"team_2": [23, 28, 20, 23, 1, 20, 11, 32, 5, 11, 4, 5, 22, 27, 15, 22, 7, 15, 26, 17, 9, 26, 8, 9, 13, 30, 6, 13, 18, 6, 12, 24, 29, 12, 2, 29, 14, 19, 21, 14, 3, 21, 31, 25, 16, 31, 10, 16, 5, 8, 20, 22, 24, 31, 18, 19, 7, 3, 26, 10, 3, 2, 11, 2]
}
11 changes: 11 additions & 0 deletions knitr/chapter2/worldcup_first_try_noprior.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"N_teams": 32,
"score_1": [3, 1, 0, 0, 1, 1, 1, 3, 0, 2, 0, 2, 3, 2, 2, 0, 1, 2, 1, 1, 2, 0, 0, 0, 2, 3, 2, 1, 0, 0, 2, 0, 1, 1, 2, 3, 4, 1, 2, 2, 0, 2, 2, 1, 1, 2, 0, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 0, 0, 1, 1, 0, 0, 1],
"score_2": [1, 0, 0, 4, 4, 3, 5, 1, 2, 3, 3, 0, 0, 1, 1, 0, 4, 1, 3, 2, 1, 1, 1, 0, 1, 0, 5, 2, 3, 0, 1, 0, 0, 0, 3, 1, 0, 2, 2, 2, 1, 1, 1, 1, 0, 4, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 7, 0, 3, 0],
"b": 0,
"N_games": 64,
"prior_score": [0.82615277587799, 0.772852596789088, 0.719552417700185, 0.666252238611283, 0.61295205952238, 0.559651880433477, 0.506351701344575, 0.453051522255672, 0.39975134316677, 0.346451164077867, 0.293150984988964, 0.239850805900062, 0.186550626811159, 0.133250447722257, 0.0799502686333539, 0.0266500895444513, -0.0266500895444513, -0.0799502686333539, -0.133250447722257, -0.186550626811159, -0.239850805900062, -0.293150984988964, -0.346451164077867, -0.39975134316677, -0.453051522255672, -0.506351701344575, -0.559651880433477, -0.61295205952238, -0.666252238611283, -0.719552417700185, -0.772852596789088, -0.82615277587799],
"df": 7,
"team_1": [1, 20, 1, 28, 28, 23, 4, 5, 4, 32, 32, 11, 7, 15, 7, 27, 27, 22, 8, 9, 8, 17, 17, 26, 18, 6, 18, 30, 30, 13, 2, 29, 2, 24, 24, 12, 3, 21, 3, 19, 19, 14, 10, 16, 10, 25, 25, 31, 1, 7, 11, 26, 6, 3, 2, 10, 1, 6, 11, 2, 1, 11, 1, 3],
"team_2": [23, 28, 20, 23, 1, 20, 11, 32, 5, 11, 4, 5, 22, 27, 15, 22, 7, 15, 26, 17, 9, 26, 8, 9, 13, 30, 6, 13, 18, 6, 12, 24, 29, 12, 2, 29, 14, 19, 21, 14, 3, 21, 31, 25, 16, 31, 10, 16, 5, 8, 20, 22, 24, 31, 18, 19, 7, 3, 26, 10, 3, 2, 11, 2]
}
11 changes: 11 additions & 0 deletions knitr/chapter2/worldcup_fixed.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"N_teams": 32,
"score_1": [3, 1, 0, 0, 1, 1, 1, 3, 0, 2, 0, 2, 3, 2, 2, 0, 1, 2, 1, 1, 2, 0, 0, 0, 2, 3, 2, 1, 0, 0, 2, 0, 1, 1, 2, 3, 4, 1, 2, 2, 0, 2, 2, 1, 1, 2, 0, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 0, 0, 1, 1, 0, 0, 1],
"score_2": [1, 0, 0, 4, 4, 3, 5, 1, 2, 3, 3, 0, 0, 1, 1, 0, 4, 1, 3, 2, 1, 1, 1, 0, 1, 0, 5, 2, 3, 0, 1, 0, 0, 0, 3, 1, 0, 2, 2, 2, 1, 1, 1, 1, 0, 4, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 7, 0, 3, 0],
"b": 0,
"N_games": 64,
"prior_score": [0.82615277587799, 0.772852596789088, 0.719552417700185, 0.666252238611283, 0.61295205952238, 0.559651880433477, 0.506351701344575, 0.453051522255672, 0.39975134316677, 0.346451164077867, 0.293150984988964, 0.239850805900062, 0.186550626811159, 0.133250447722257, 0.0799502686333539, 0.0266500895444513, -0.0266500895444513, -0.0799502686333539, -0.133250447722257, -0.186550626811159, -0.239850805900062, -0.293150984988964, -0.346451164077867, -0.39975134316677, -0.453051522255672, -0.506351701344575, -0.559651880433477, -0.61295205952238, -0.666252238611283, -0.719552417700185, -0.772852596789088, -0.82615277587799],
"df": 7,
"team_1": [1, 20, 1, 28, 28, 23, 4, 5, 4, 32, 32, 11, 7, 15, 7, 27, 27, 22, 8, 9, 8, 17, 17, 26, 18, 6, 18, 30, 30, 13, 2, 29, 2, 24, 24, 12, 3, 21, 3, 19, 19, 14, 10, 16, 10, 25, 25, 31, 1, 7, 11, 26, 6, 3, 2, 10, 1, 6, 11, 2, 1, 11, 1, 3],
"team_2": [23, 28, 20, 23, 1, 20, 11, 32, 5, 11, 4, 5, 22, 27, 15, 22, 7, 15, 26, 17, 9, 26, 8, 9, 13, 30, 6, 13, 18, 6, 12, 24, 29, 12, 2, 29, 14, 19, 21, 14, 3, 21, 31, 25, 16, 31, 10, 16, 5, 8, 20, 22, 24, 31, 18, 19, 7, 3, 26, 10, 3, 2, 11, 2]
}
11 changes: 11 additions & 0 deletions knitr/chapter2/worldcup_no_sqrt.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"N_teams": 32,
"score_1": [3, 1, 0, 0, 1, 1, 1, 3, 0, 2, 0, 2, 3, 2, 2, 0, 1, 2, 1, 1, 2, 0, 0, 0, 2, 3, 2, 1, 0, 0, 2, 0, 1, 1, 2, 3, 4, 1, 2, 2, 0, 2, 2, 1, 1, 2, 0, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 0, 0, 1, 1, 0, 0, 1],
"score_2": [1, 0, 0, 4, 4, 3, 5, 1, 2, 3, 3, 0, 0, 1, 1, 0, 4, 1, 3, 2, 1, 1, 1, 0, 1, 0, 5, 2, 3, 0, 1, 0, 0, 0, 3, 1, 0, 2, 2, 2, 1, 1, 1, 1, 0, 4, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 7, 0, 3, 0],
"b": 0,
"N_games": 64,
"prior_score": [0.82615277587799, 0.772852596789088, 0.719552417700185, 0.666252238611283, 0.61295205952238, 0.559651880433477, 0.506351701344575, 0.453051522255672, 0.39975134316677, 0.346451164077867, 0.293150984988964, 0.239850805900062, 0.186550626811159, 0.133250447722257, 0.0799502686333539, 0.0266500895444513, -0.0266500895444513, -0.0799502686333539, -0.133250447722257, -0.186550626811159, -0.239850805900062, -0.293150984988964, -0.346451164077867, -0.39975134316677, -0.453051522255672, -0.506351701344575, -0.559651880433477, -0.61295205952238, -0.666252238611283, -0.719552417700185, -0.772852596789088, -0.82615277587799],
"df": 7,
"team_1": [1, 20, 1, 28, 28, 23, 4, 5, 4, 32, 32, 11, 7, 15, 7, 27, 27, 22, 8, 9, 8, 17, 17, 26, 18, 6, 18, 30, 30, 13, 2, 29, 2, 24, 24, 12, 3, 21, 3, 19, 19, 14, 10, 16, 10, 25, 25, 31, 1, 7, 11, 26, 6, 3, 2, 10, 1, 6, 11, 2, 1, 11, 1, 3],
"team_2": [23, 28, 20, 23, 1, 20, 11, 32, 5, 11, 4, 5, 22, 27, 15, 22, 7, 15, 26, 17, 9, 26, 8, 9, 13, 30, 6, 13, 18, 6, 12, 24, 29, 12, 2, 29, 14, 19, 21, 14, 3, 21, 31, 25, 16, 31, 10, 16, 5, 8, 20, 22, 24, 31, 18, 19, 7, 3, 26, 10, 3, 2, 11, 2]
}
11 changes: 11 additions & 0 deletions knitr/chapter2/worldcup_with_replication.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"N_teams": 32,
"score_1": [3, 1, 0, 0, 1, 1, 1, 3, 0, 2, 0, 2, 3, 2, 2, 0, 1, 2, 1, 1, 2, 0, 0, 0, 2, 3, 2, 1, 0, 0, 2, 0, 1, 1, 2, 3, 4, 1, 2, 2, 0, 2, 2, 1, 1, 2, 0, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 0, 0, 1, 1, 0, 0, 1],
"score_2": [1, 0, 0, 4, 4, 3, 5, 1, 2, 3, 3, 0, 0, 1, 1, 0, 4, 1, 3, 2, 1, 1, 1, 0, 1, 0, 5, 2, 3, 0, 1, 0, 0, 0, 3, 1, 0, 2, 2, 2, 1, 1, 1, 1, 0, 4, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 7, 0, 3, 0],
"b": 0,
"N_games": 64,
"prior_score": [0.82615277587799, 0.772852596789088, 0.719552417700185, 0.666252238611283, 0.61295205952238, 0.559651880433477, 0.506351701344575, 0.453051522255672, 0.39975134316677, 0.346451164077867, 0.293150984988964, 0.239850805900062, 0.186550626811159, 0.133250447722257, 0.0799502686333539, 0.0266500895444513, -0.0266500895444513, -0.0799502686333539, -0.133250447722257, -0.186550626811159, -0.239850805900062, -0.293150984988964, -0.346451164077867, -0.39975134316677, -0.453051522255672, -0.506351701344575, -0.559651880433477, -0.61295205952238, -0.666252238611283, -0.719552417700185, -0.772852596789088, -0.82615277587799],
"df": 7,
"team_1": [1, 20, 1, 28, 28, 23, 4, 5, 4, 32, 32, 11, 7, 15, 7, 27, 27, 22, 8, 9, 8, 17, 17, 26, 18, 6, 18, 30, 30, 13, 2, 29, 2, 24, 24, 12, 3, 21, 3, 19, 19, 14, 10, 16, 10, 25, 25, 31, 1, 7, 11, 26, 6, 3, 2, 10, 1, 6, 11, 2, 1, 11, 1, 3],
"team_2": [23, 28, 20, 23, 1, 20, 11, 32, 5, 11, 4, 5, 22, 27, 15, 22, 7, 15, 26, 17, 9, 26, 8, 9, 13, 30, 6, 13, 18, 6, 12, 24, 29, 12, 2, 29, 14, 19, 21, 14, 3, 21, 31, 25, 16, 31, 10, 16, 5, 8, 20, 22, 24, 31, 18, 19, 7, 3, 26, 10, 3, 2, 11, 2]
}
Loading

0 comments on commit 4902ad7

Please sign in to comment.