Skip to content

Commit bd6c29a

Browse files
committed
add: test files
1 parent 947ac76 commit bd6c29a

2 files changed

Lines changed: 255 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"tests": [
3+
{
4+
"name": "vaccine --> cum_vaccinations",
5+
"estimator": "LinearRegressionEstimator",
6+
"estimate_type": "coefficient",
7+
"effect": "direct",
8+
"treatment_variable": "vaccine",
9+
"expected_effect": {
10+
"cum_vaccinations": "SomeEffect"
11+
},
12+
"formula": "cum_vaccinations ~ vaccine",
13+
"skip": false
14+
},
15+
{
16+
"name": "vaccine --> cum_vaccinated",
17+
"estimator": "LinearRegressionEstimator",
18+
"estimate_type": "coefficient",
19+
"effect": "direct",
20+
"treatment_variable": "vaccine",
21+
"expected_effect": {
22+
"cum_vaccinated": "SomeEffect"
23+
},
24+
"formula": "cum_vaccinated ~ vaccine",
25+
"skip": false
26+
},
27+
{
28+
"name": "vaccine --> cum_infections",
29+
"estimator": "LinearRegressionEstimator",
30+
"estimate_type": "coefficient",
31+
"effect": "direct",
32+
"treatment_variable": "vaccine",
33+
"expected_effect": {
34+
"cum_infections": "SomeEffect"
35+
},
36+
"formula": "cum_infections ~ vaccine",
37+
"skip": false
38+
},
39+
{
40+
"name": "cum_vaccinations _||_ cum_vaccinated | ['vaccine']",
41+
"estimator": "LinearRegressionEstimator",
42+
"estimate_type": "coefficient",
43+
"effect": "direct",
44+
"treatment_variable": "cum_vaccinations",
45+
"expected_effect": {
46+
"cum_vaccinated": "NoEffect"
47+
},
48+
"formula": "cum_vaccinated ~ cum_vaccinations + vaccine",
49+
"alpha": 0.05,
50+
"skip": false
51+
},
52+
{
53+
"name": "cum_vaccinations _||_ cum_infections | ['vaccine']",
54+
"estimator": "LinearRegressionEstimator",
55+
"estimate_type": "coefficient",
56+
"effect": "direct",
57+
"treatment_variable": "cum_vaccinations",
58+
"expected_effect": {
59+
"cum_infections": "NoEffect"
60+
},
61+
"formula": "cum_infections ~ cum_vaccinations + vaccine",
62+
"alpha": 0.05,
63+
"skip": false
64+
},
65+
{
66+
"name": "cum_vaccinated _||_ cum_infections | ['vaccine']",
67+
"estimator": "LinearRegressionEstimator",
68+
"estimate_type": "coefficient",
69+
"effect": "direct",
70+
"treatment_variable": "cum_vaccinated",
71+
"expected_effect": {
72+
"cum_infections": "NoEffect"
73+
},
74+
"formula": "cum_infections ~ cum_vaccinated + vaccine",
75+
"alpha": 0.05,
76+
"skip": false
77+
}
78+
]
79+
}
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
[
2+
{
3+
"name": "vaccine --> cum_vaccinations",
4+
"estimate_type": "coefficient",
5+
"effect": "direct",
6+
"treatment_variable": "vaccine",
7+
"expected_effect": {
8+
"cum_vaccinations": "SomeEffect"
9+
},
10+
"formula": "cum_vaccinations ~ vaccine",
11+
"alpha": 0.05,
12+
"skip": false,
13+
"passed": true,
14+
"result": {
15+
"treatment": "vaccine",
16+
"outcome": "cum_vaccinations",
17+
"adjustment_set": [],
18+
"effect_measure": "coefficient",
19+
"effect_estimate": {
20+
"vaccine": 315785.1333333332
21+
},
22+
"ci_low": {
23+
"vaccine": 315339.1666500188
24+
},
25+
"ci_high": {
26+
"vaccine": 316231.1000166476
27+
}
28+
}
29+
},
30+
{
31+
"name": "vaccine --> cum_vaccinated",
32+
"estimate_type": "coefficient",
33+
"effect": "direct",
34+
"treatment_variable": "vaccine",
35+
"expected_effect": {
36+
"cum_vaccinated": "SomeEffect"
37+
},
38+
"formula": "cum_vaccinated ~ vaccine",
39+
"alpha": 0.05,
40+
"skip": false,
41+
"passed": true,
42+
"result": {
43+
"treatment": "vaccine",
44+
"outcome": "cum_vaccinated",
45+
"adjustment_set": [],
46+
"effect_measure": "coefficient",
47+
"effect_estimate": {
48+
"vaccine": 266389.9166666665
49+
},
50+
"ci_low": {
51+
"vaccine": 265943.9382101579
52+
},
53+
"ci_high": {
54+
"vaccine": 266835.8951231751
55+
}
56+
}
57+
},
58+
{
59+
"name": "vaccine --> cum_infections",
60+
"estimate_type": "coefficient",
61+
"effect": "direct",
62+
"treatment_variable": "vaccine",
63+
"expected_effect": {
64+
"cum_infections": "SomeEffect"
65+
},
66+
"formula": "cum_infections ~ vaccine",
67+
"alpha": 0.05,
68+
"skip": false,
69+
"passed": true,
70+
"result": {
71+
"treatment": "vaccine",
72+
"outcome": "cum_infections",
73+
"adjustment_set": [],
74+
"effect_measure": "coefficient",
75+
"effect_estimate": {
76+
"vaccine": 3332.883333333332
77+
},
78+
"ci_low": {
79+
"vaccine": 3274.9650508109467
80+
},
81+
"ci_high": {
82+
"vaccine": 3390.801615855717
83+
}
84+
}
85+
},
86+
{
87+
"name": "cum_vaccinations _||_ cum_vaccinated | ['vaccine']",
88+
"estimate_type": "coefficient",
89+
"effect": "direct",
90+
"treatment_variable": "cum_vaccinations",
91+
"expected_effect": {
92+
"cum_vaccinated": "NoEffect"
93+
},
94+
"formula": "cum_vaccinated ~ cum_vaccinations + vaccine",
95+
"alpha": 0.05,
96+
"skip": false,
97+
"passed": false,
98+
"result": {
99+
"treatment": "cum_vaccinations",
100+
"outcome": "cum_vaccinated",
101+
"adjustment_set": [
102+
"vaccine"
103+
],
104+
"effect_measure": "coefficient",
105+
"effect_estimate": {
106+
"cum_vaccinations": 0.9998656401531978
107+
},
108+
"ci_low": {
109+
"cum_vaccinations": 0.9929245394500337
110+
},
111+
"ci_high": {
112+
"cum_vaccinations": 1.006806740856362
113+
}
114+
}
115+
},
116+
{
117+
"name": "cum_vaccinations _||_ cum_infections | ['vaccine']",
118+
"estimate_type": "coefficient",
119+
"effect": "direct",
120+
"treatment_variable": "cum_vaccinations",
121+
"expected_effect": {
122+
"cum_infections": "NoEffect"
123+
},
124+
"formula": "cum_infections ~ cum_vaccinations + vaccine",
125+
"alpha": 0.05,
126+
"skip": false,
127+
"passed": true,
128+
"result": {
129+
"treatment": "cum_vaccinations",
130+
"outcome": "cum_infections",
131+
"adjustment_set": [
132+
"vaccine"
133+
],
134+
"effect_measure": "coefficient",
135+
"effect_estimate": {
136+
"cum_vaccinations": -0.006416682407512808
137+
},
138+
"ci_low": {
139+
"cum_vaccinations": -0.056630100838863134
140+
},
141+
"ci_high": {
142+
"cum_vaccinations": 0.04379673602383752
143+
}
144+
}
145+
},
146+
{
147+
"name": "cum_vaccinated _||_ cum_infections | ['vaccine']",
148+
"estimate_type": "coefficient",
149+
"effect": "direct",
150+
"treatment_variable": "cum_vaccinated",
151+
"expected_effect": {
152+
"cum_infections": "NoEffect"
153+
},
154+
"formula": "cum_infections ~ cum_vaccinated + vaccine",
155+
"alpha": 0.05,
156+
"skip": false,
157+
"passed": true,
158+
"result": {
159+
"treatment": "cum_vaccinated",
160+
"outcome": "cum_infections",
161+
"adjustment_set": [
162+
"vaccine"
163+
],
164+
"effect_measure": "coefficient",
165+
"effect_estimate": {
166+
"cum_vaccinated": -0.00617690058829258
167+
},
168+
"ci_low": {
169+
"cum_vaccinated": -0.056393496121197616
170+
},
171+
"ci_high": {
172+
"cum_vaccinated": 0.044039694944612455
173+
}
174+
}
175+
}
176+
]

0 commit comments

Comments
 (0)