-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpoweranalysis.txt
More file actions
39 lines (36 loc) · 780 Bytes
/
poweranalysis.txt
File metadata and controls
39 lines (36 loc) · 780 Bytes
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
from pydantic import BaseModel
class poweranalysis(BaseModel):
x: str
y: str
case_no: int
message:str
# /*
# {
# "size": 50000,
# "percentage_alcoholism": 0.25,
# "percentage_depression": 0.25,
# "percentage_tobacco": 0.25,
# "percentage_alcoholism_depression": 0.1,
# "percentage_tobacco_alcoholism": 0.1,
# "percentage_tobacco_depression": 0.1,
# "percentage_tobacco_alcoholism_depression": 0.05,
# "treatment_noth": 0.9,
# "treatment_1_conditions": 0.8,
# "treatment_2_conditions": 0.7,
# "treatment_3_conditions": 0.6,
# "treatment_intervention": 0.85,
# "age": [
# 0.3,0.4,0.3
# ],
# "gender": [
# 0.5,0.5
# ],
# "bmi": [
# 0.2,0.5,0.3
# ],
# "edu": [
# 0.1,0.2,0.2,0.5
# ],
# "seed": 52
# }
# */