-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchi2.log
More file actions
70 lines (61 loc) · 2.42 KB
/
chi2.log
File metadata and controls
70 lines (61 loc) · 2.42 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---------------------------------------------------------------------------------------------------
name: <unnamed>
log: /Users/d/Desktop/chi2.log
log type: text
opened on: 20 Jun 2023, 05:46:36
. use transplants
. tab dx gender, row chi2
+----------------+
| Key |
|----------------|
| frequency |
| row percentage |
+----------------+
Primary | gender
Diagnosis | 0 1 | Total
---------------+----------------------+----------
1=Glomerular | 237 187 | 424
| 55.90 44.10 | 100.00
---------------+----------------------+----------
2=Diabetes | 60 37 | 97
| 61.86 38.14 | 100.00
---------------+----------------------+----------
3=PKD | 81 66 | 147
| 55.10 44.90 | 100.00
---------------+----------------------+----------
4=Hypertensive | 316 176 | 492
| 64.23 35.77 | 100.00
---------------+----------------------+----------
5=Renovascular | 24 15 | 39
| 61.54 38.46 | 100.00
---------------+----------------------+----------
6=Congenital | 46 22 | 68
| 67.65 32.35 | 100.00
---------------+----------------------+----------
7=Tubulo | 32 35 | 67
| 47.76 52.24 | 100.00
---------------+----------------------+----------
8=Neoplasm | 8 5 | 13
| 61.54 38.46 | 100.00
---------------+----------------------+----------
9=Other | 421 232 | 653
| 64.47 35.53 | 100.00
---------------+----------------------+----------
Total | 1,225 775 | 2,000
| 61.25 38.75 | 100.00
Pearson chi2(8) = 18.4805 Pr = 0.018
. return list
scalars:
r(N) = 2000
r(r) = 9
r(c) = 2
r(chi2) = 18.48047641017726
r(p) = .0178990677414798
. qui {
p = 0.02
. log close
name: <unnamed>
log: /Users/d/Desktop/chi2.log
log type: text
closed on: 20 Jun 2023, 05:46:36
---------------------------------------------------------------------------------------------------