-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvb_in.py
55 lines (54 loc) · 4.17 KB
/
vb_in.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from priors import *
jobctl = {
"trials" : {
"Pfizer (Final)" : {"n_p":162, "n_v":8, "v2p_ratio":1.0, "xlo":0.0},
"Pfizer (Severe)" : {"n_p": 9, "n_v": 1, "v2p_ratio":1.0, "xlo":0.0},
"Pfizer (14 days after dose1 to dose 2)": {"n_p":27, "n_v":2, "v2p_ratio":1.0, "xlo":0.0},
"Pfizer (Adolescents)": {"n_p":18, "n_v":0, "v2p_ratio":1.0, "xlo":0.0},
"Pfizer (D2+6mo)": {"n_p":850, "n_v":77, "v2p_ratio":1.0, "xlo":0.0},
"Pfizer (B.1.351)": {"n_p":6, "n_v":0, "v2p_ratio":1.0, "xlo":0.0},
"Moderna (Final)" : {"n_p":185, "n_v":11, "v2p_ratio":1.0, "xlo":0.0},
"Moderna (Severe)" : {"n_p": 30, "n_v":0, "v2p_ratio":1.0, "xlo":0.0},
"Moderna (14 days after dose 1 to dose 2)" : {"n_p": 35, "n_v":2, "v2p_ratio":1.0, "xlo":0.0},
"Moderna (>14 days after single dose)" : {"n_p": 28, "n_v":2, "v2p_ratio":0.92, "xlo":0.0},
"Sputnik V (Final)" : {"n_p":62, "n_v":16, "v2p_ratio":3.0, "xlo":0.0},
"Sputnik V (Moderate+Severe)" : {"n_p":20, "n_v":0, "v2p_ratio":3.0, "xlo":0.0},
"AstraZeneca SD+SD" : {"n_p":197, "n_v":74, "v2p_ratio":1.0, "xlo": 0.0},
"AstraZeneca SD+SD T2-T1 < 6 wks " : {"n_p":76, "n_v":35, "v2p_ratio":1.0, "xlo": 0.0},
"AstraZeneca SD+SD T2-T1 = 6-8 wks " : {"n_p":44, "n_v":20, "v2p_ratio":1.1, "xlo": 0.0},
"AstraZeneca SD+SD T2-T1 = 9-11 wks " : {"n_p":32, "n_v":11, "v2p_ratio":0.95, "xlo": 0.0},
"AstraZeneca SD+SD T2-T1 > 12 wks " : {"n_p":45, "n_v":8, "v2p_ratio":0.95, "xlo": 0.0},
"AstraZeneca LD+SD" : {"n_p":51, "n_v":10, "v2p_ratio":1.0, "xlo":0.0},
"AstraZeneca B.1.1.7" : {"n_p":27, "n_v":7, "v2p_ratio":1.0, "xlo":0.0},
"AstraZeneca B.1.351" : {"n_p":20, "n_v":19, "v2p_ratio":1.05, "xlo":0.0},
"AstraZeneca Non-B.1.1.7" : {"n_p":74, "n_v":12, "v2p_ratio":1.0, "xlo":0.0},
"AstraZeneca Single Dose, 22-90 days" :{"n_p":71, "n_v":17, "v2p_ratio":1.0, "xlo":0.0},
"AZ US-Peru-Chile (Guessed Data)" :{"n_p":128, "n_v":62, "v2p_ratio":2.0, "xlo":0.0},
"AZ US-Peru-Chile Severe" :{"n_p":8, "n_v":0, "v2p_ratio":2.0, "xlo":0.0},
"Novavax UK Phase 3 (Preliminary)" : {"n_p":56, "n_v":6, "v2p_ratio":1.0, "xlo":0.0},
"Novavax S. Africa Phase 2b (Preliminary)" : {"n_p":29, "n_v":15, "v2p_ratio":1.0, "xlo":0.0},
"Novavax UK Phase 3 (Final,PR)" : {"n_p":96, "n_v":10, "v2p_ratio":1.0, "xlo":0.0},
"Novavax UK Phase 3 Severe (Final,PR)" : {"n_p":5, "n_v":0, "v2p_ratio":1.0, "xlo":0.0},
"Novavax S. Africa Phase 2b (Final, PR)" : {"n_p":96, "n_v":51, "v2p_ratio":1.0, "xlo":0.0},
"Novavax S. Africa Phase 2b Severe (Final, PR)" : {"n_p":5, "n_v":0, "v2p_ratio":1.0, "xlo":0.0},
"Novavax US+Mex. Phase 3 Overall (PR)" : {"n_p":63, "n_v":14, "v2p_ratio":2.0, "xlo":0.0},
"Novavax US+Mex. Phase 3 VOC+VOI (PR)" : {"n_p":38, "n_v":6, "v2p_ratio":2.0, "xlo":0.0},
"J&J Guessed Data" : {"n_p":349, "n_v":119, "v2p_ratio":1.0, "xlo":0.0},
"J&J Overall" : {"n_p":348, "n_v":116, "v2p_ratio":1.0, "xlo":0.0},
"J&J North America":{"n_p":196, "n_v":51, "v2p_ratio":1.0, "xlo":0.0},
"J&J Brazil":{"n_p":114, "n_v":39, "v2p_ratio":1.0, "xlo":0.0},
"J&J South Africa":{"n_p":90, "n_v":43, "v2p_ratio":1.0, "xlo":0.0},
"J&J Severe":{"n_p":60, "n_v":14, "v2p_ratio":1.0, "xlo":0.0},
"J&J Severe, North America":{"n_p":18, "n_v":4, "v2p_ratio":1.0, "xlo":0.0},
"J&J Severe, Brazil":{"n_p":11, "n_v":2, "v2p_ratio":1.0, "xlo":0.0},
"J&J Severe, South Africa":{"n_p":30, "n_v":8, "v2p_ratio":1.0, "xlo":0.0},
"Sinovac (Interim, Turkey)": {"n_p":26, "n_v":3, "v2p_ratio":752.0/570.0, "xlo":0.0},
"COVAXIN (preliminary)": {"n_p":36, "n_v":7, "v2p_ratio":1.0, "xlo":0.0},
# "mRNA Effectiveness, 1 Dose": {"n_p":161, "n_v":8, "v2p_ratio":0.359, "xlo":0.0},
# "mRNA Effectiveness, 2 Doses": {"n_p":161, "n_v":3, "v2p_ratio":0.676, "xlo":0.0},
},
"cred": 0.90, # Probability level of credible regions
"cred_lb" : 0.99, # Probability level of lower bound
"nsamp" : 1000, # Number of equal-spaced samples in [0,1] for the posterior
"prior" : uniform_prior, # Prior choice, from 'priors.py'
}