Skip to content

Instantly share code, notes, and snippets.

@tillahoffmann
Last active Oct 11, 2020
Embed
What would you like to do?
Sample data for hierarchical generalised gamma model with left censoring.
{
"num_patients": 100,
"num_samples_by_patient": [
5,
4,
2,
4,
4,
3,
1,
2,
1,
2,
2,
5,
3,
3,
4,
1,
4,
3,
4,
3,
3,
2,
4,
2,
4,
3,
3,
5,
2,
1,
4,
1,
5,
3,
2,
1,
2,
3,
2,
2,
4,
1,
5,
2,
2,
5,
1,
3,
4,
5,
2,
3,
4,
5,
2,
1,
5,
2,
3,
5,
4,
1,
5,
5,
1,
3,
4,
2,
3,
2,
4,
3,
5,
3,
2,
5,
1,
3,
3,
5,
3,
5,
1,
3,
2,
3,
5,
5,
2,
2,
5,
5,
3,
5,
2,
3,
5,
1,
2,
1
],
"num_samples": 305,
"loq": [
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0,
100.0
],
"idx": [
1,
1,
1,
1,
1,
2,
2,
2,
2,
3,
3,
4,
4,
4,
4,
5,
5,
5,
5,
6,
6,
6,
7,
8,
8,
9,
10,
10,
11,
11,
12,
12,
12,
12,
12,
13,
13,
13,
14,
14,
14,
15,
15,
15,
15,
16,
17,
17,
17,
17,
18,
18,
18,
19,
19,
19,
19,
20,
20,
20,
21,
21,
21,
22,
22,
23,
23,
23,
23,
24,
24,
25,
25,
25,
25,
26,
26,
26,
27,
27,
27,
28,
28,
28,
28,
28,
29,
29,
30,
31,
31,
31,
31,
32,
33,
33,
33,
33,
33,
34,
34,
34,
35,
35,
36,
37,
37,
38,
38,
38,
39,
39,
40,
40,
41,
41,
41,
41,
42,
43,
43,
43,
43,
43,
44,
44,
45,
45,
46,
46,
46,
46,
46,
47,
48,
48,
48,
49,
49,
49,
49,
50,
50,
50,
50,
50,
51,
51,
52,
52,
52,
53,
53,
53,
53,
54,
54,
54,
54,
54,
55,
55,
56,
57,
57,
57,
57,
57,
58,
58,
59,
59,
59,
60,
60,
60,
60,
60,
61,
61,
61,
61,
62,
63,
63,
63,
63,
63,
64,
64,
64,
64,
64,
65,
66,
66,
66,
67,
67,
67,
67,
68,
68,
69,
69,
69,
70,
70,
71,
71,
71,
71,
72,
72,
72,
73,
73,
73,
73,
73,
74,
74,
74,
75,
75,
76,
76,
76,
76,
76,
77,
78,
78,
78,
79,
79,
79,
80,
80,
80,
80,
80,
81,
81,
81,
82,
82,
82,
82,
82,
83,
84,
84,
84,
85,
85,
86,
86,
86,
87,
87,
87,
87,
87,
88,
88,
88,
88,
88,
89,
89,
90,
90,
91,
91,
91,
91,
91,
92,
92,
92,
92,
92,
93,
93,
93,
94,
94,
94,
94,
94,
95,
95,
96,
96,
96,
97,
97,
97,
97,
97,
98,
99,
99,
100
],
"regular_gamma": 0,
"patient_mean": [
122199.04269950488,
190977.59152867427,
35626.19419140313,
41561.00603235297,
4285312.440636299,
699747.9040560019,
143977.47444697795,
7.223602332147624,
0.01819824153189328,
644427.3991910148,
6634613.564955731,
53533.70518809786,
81.86469705336708,
204.54823930126935,
96133.54486586565,
3784.277655861756,
50653.19948145671,
0.012837601557477072,
205473.66356951348,
2892635.275521877,
16301.5177669765,
308803.8280754131,
1270.9807943507615,
8744.10009428653,
146593.68169975502,
1228.2411346679667,
279820.4043905364,
56255.65476630717,
334.684539219988,
286453.7073148909,
920.0862960292395,
6210526.513581865,
5199.3640242045785,
6474.748626230483,
9086.530359040757,
4.444322096652738,
142244.0059233884,
97367.63578814824,
153767.55677789057,
9166.51540638629,
137.08489447963333,
5803.005104063067,
333944.52944077196,
491723.57811678236,
2822.342105013651,
175334.0517628482,
1680.1531734843074,
46055.325989712874,
387913.38736829034,
804445.7948641926,
1354038.2850500245,
1361993.8433628294,
460861.2981151977,
3628354.587695519,
35706.45341460462,
0.01420408737898282,
294531.159337657,
215110.0974905047,
156.27296621578944,
146310.0437543986,
151717.2786291348,
277775.80717732676,
1574080.8203467764,
40787.805754444176,
765710.5959797007,
37.21210616306562,
428475.26424748916,
249.40598412605485,
371.51051063649544,
101.82585010922914,
771251.0493869473,
29495.724607196178,
382528.13526164636,
451262.24576139497,
5956991.78834079,
0.0013529295845414466,
95423.56741038148,
998.7059008388541,
13463.182473244005,
396.0940204410873,
155404.37776539766,
2491963.487728084,
108841.22196953969,
475777.93391317094,
26529.666581091053,
710.4560303399497,
505755.10688198084,
1841.334120415206,
2.7574237121362204,
8274.867923018372,
20634.79593500383,
0.047021483231055726,
337658.7172946353,
109760.03827546022,
300753.3575440772,
0.020128528422471696,
9366.650278101655,
170142.9505821458,
233903.1093508556,
4436.744253364024
],
"load": [
91.02636726726121,
89498.50150729666,
847886.5848705138,
473.516217444393,
163.43420889824435,
5691.454102821416,
1183.2974072496393,
31329.95675259665,
174323.5018045219,
9326.34510930274,
7.190548967105356,
947.6656266647461,
53529.827163201706,
157196.65981512642,
9605.366146592025,
40088358.29264165,
12562.107292961358,
0.009157904564831796,
2738724.7686769427,
4683.532899661327,
1.9112895316145555,
10278715.02708327,
2519.0096894046824,
0.017279123748578467,
45.20095343886523,
0.008448859257864726,
5304.185963151985,
12961.031190367717,
884579.7402404117,
182674.88255215014,
8254.167167852374,
1.3705886154974076,
673766.9207076891,
209010.25826849684,
865.8016854563883,
3.8100514213484313,
0.010332687739046952,
0.0007037792430001871,
132.92968595842717,
11.273991978050383,
513.4448884596594,
517.6942617823286,
0.12301415555811215,
440.1287509651175,
68169.90872382719,
26.186754310778756,
33.1744735564409,
0.07442618817305921,
71466.71900348333,
219.62588973968784,
0.004115000166224483,
0.0003650649081306456,
0.0011325445082343857,
34210.32874345367,
60142.71312914772,
12794.621059753597,
40673.43815615195,
17911.695262349134,
111141.6711739916,
2247.640514262951,
3475.955473343451,
49441.9668218207,
15695.875924913309,
1172198.9789714513,
247982.55716461787,
1543.0479612313186,
3.660432193965512,
2018.3621012575193,
109.94097812471945,
21446.325101586728,
66001.90596440966,
273382.48517375346,
67182.95594203986,
0.3611294757644516,
626.1462111127171,
0.00010820274802016418,
27.90516130140391,
2.5408824513051615e-06,
12047.3260945858,
7.873160799408343,
757619.6862985446,
820.935305732002,
9.17129064614583e-05,
0.2134082607437722,
105.31962718640806,
6.705567450835734,
0.02050181150986007,
4396.1335143250835,
13647.138843625235,
457.6599335434462,
1338.4760929751737,
2.7321216379956446,
3.0203500754480204,
1018108.1608868564,
1230.507036405807,
4398.370571867443,
127.46999004930075,
25479.6591770117,
12.700732346992245,
11613.658416275424,
72521.98718297122,
56.76565388455645,
32.03309750067721,
67380.10255082259,
4.486604586846477,
797.9868892756114,
4246.6417947160935,
267.07615434896957,
7600.861965094505,
206884.49833002858,
21609.27275213881,
73530.46759814855,
56271.96474069658,
7358.498239990391,
0.0006427337785239745,
0.03609752581430169,
0.016494465556931442,
4.606801923492207,
62928.640809433426,
1961.4319313703245,
1172012.7553625007,
77095.5769271664,
28003.4073325276,
1152.4761791632752,
5479.361859637826,
87094.9486977218,
45.9076771542446,
10.868828109014082,
6.387964110358453,
189303.9975009931,
76069.60943381613,
219.74222396097636,
117737.56159680335,
357.8140539385795,
0.002439101273573391,
2.064436906229122e-06,
8623.078261812776,
6.210420122438315,
0.00652248912838022,
168080.12115621153,
549.5294655827355,
234600.6891263341,
522413.779432542,
1.2892118678612144e-07,
288809.82633786165,
630891.3634076328,
205545.85400271747,
97020.39767373858,
2976.589402423297,
595470.9385055887,
573343.0408834417,
7632291.786069977,
64990.89792998478,
95984.2619761144,
915617.7241292291,
16609303.350841312,
1967.7319854725542,
27530651.108288072,
1255.4081474330872,
273760.38960737205,
12.258603312364926,
2504.943967615475,
0.011138015978240384,
0.06467282018352295,
0.6314192019945735,
317515.51317483233,
192209.43650385624,
2964.922829038513,
5401.497507988403,
6786.750997247495,
0.08446049622001302,
59.56031270842587,
1.0910839645997656,
23310.566738349455,
12422.333884306721,
3.5409171491780977,
48356.340369183934,
5975.433159337074,
3273.172795458779,
74735.38728714453,
2129796.129461182,
194385.58045693484,
4662.0101326496815,
3.8527280605513656,
100289.55263329351,
2137920.2596205133,
104.77097035212087,
514100.920156931,
92734.03889959225,
1324.7281164195651,
29293.515556275626,
5460.378785159644,
121.48201887661801,
76300.60295740538,
3.179141068862964,
2.133608515412853,
0.002476295142228524,
19068.74851297665,
277007.39599506446,
382310.5529729885,
17945.372193852763,
470.34662341926474,
243.96005189747663,
0.018022233123308043,
16.877137373974335,
1.8718809765471215e-05,
0.0047788071932942785,
84.0065638523839,
150789.1071043313,
135531.51658330683,
659.5056191016616,
127519.19697905619,
867.2901799459373,
0.270984818787546,
55.53096012448754,
1856.5392853340427,
1.1946961681250714,
139.6878700846442,
520867.7288462184,
104.3076854960328,
28998.15897446057,
9383.725443390562,
526277.3050305664,
0.25112396933394465,
228553.54777030257,
0.001016148452470145,
0.0016713430778416353,
0.00018750305632397272,
3.533846211264282e-05,
0.00017768741923907932,
588.0187639543374,
0.06665252596373708,
0.000527580005599531,
1.044047065867623e-09,
5386.022251663585,
40777.75390494086,
140644.9190855121,
3.716421508208235,
2106.254413202271,
2.0065712958457964,
1.3459946891877133,
979.872035699332,
11477.623303652505,
465353.2268670935,
1613231.5542765027,
1666170.1760158895,
4166.264163840009,
11856827.858583074,
203354.65000475434,
3503487.4817288723,
17.733178952053706,
1038926.6496386541,
15.488529680926153,
4768.987433370939,
1539.2787613904734,
7127.712487667246,
246.33689160496755,
9855.742966908305,
26.97736912317697,
1820.0690284735992,
0.11673371783635111,
23863.053205933527,
874452.3996422241,
4008257.1038676337,
6515.570888198532,
43.1239453289884,
13.982840327758568,
0.09794170741109985,
1.2733811795456746,
3.0874705493717522,
0.16145880404417118,
11.288818251815123,
13.482028822868482,
7760.307501812439,
20411.319123550118,
36281.12593327835,
88826.28755619025,
169.44048633203704,
0.0025138004954520098,
1.94775289378183e-06,
0.004819216139898776,
0.04835763919483839,
0.0013883790581588678,
1095818.0692767347,
1.6140604351083612e-06,
1540248.0864524152,
63.639955899944866,
18.74051168999726,
641448.0844962525,
749.9598122140465,
39343.813220341144,
67.5060905163202,
843983.6095970077,
0.07230210361656617,
0.0038490972023997633,
0.0002487446456145644,
602.5844428482026,
40373.52016573872,
9242.375185353183,
2745.8064905088777,
14795.987344204148,
227631.54773164986,
41.752665959324176,
16617.74781596702,
342.6216079816944
],
"num_positives_by_patient": [
4,
4,
1,
4,
3,
2,
1,
0,
0,
2,
2,
4,
0,
2,
3,
0,
2,
0,
4,
3,
3,
2,
3,
2,
3,
0,
2,
2,
1,
1,
2,
1,
4,
2,
1,
0,
2,
3,
2,
2,
0,
1,
5,
2,
0,
4,
1,
1,
2,
4,
2,
3,
4,
5,
1,
0,
3,
2,
0,
4,
4,
1,
4,
5,
1,
0,
4,
2,
0,
0,
4,
1,
4,
3,
1,
0,
1,
0,
3,
2,
3,
5,
0,
2,
2,
2,
4,
1,
0,
0,
5,
0,
2,
3,
1,
0,
5,
1,
1,
1
],
"num_negatives_by_patient": [
1,
0,
1,
0,
1,
1,
0,
2,
1,
0,
0,
1,
3,
1,
1,
1,
2,
3,
0,
0,
0,
0,
1,
0,
1,
3,
1,
3,
1,
0,
2,
0,
1,
1,
1,
1,
0,
0,
0,
0,
4,
0,
0,
0,
2,
1,
0,
2,
2,
1,
0,
0,
0,
0,
1,
1,
2,
0,
3,
1,
0,
0,
1,
0,
0,
3,
0,
0,
3,
2,
0,
2,
1,
0,
1,
5,
0,
3,
0,
3,
0,
0,
1,
1,
0,
1,
1,
4,
2,
2,
0,
5,
1,
2,
1,
3,
0,
0,
1,
0
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment