problem about degree of freedom
阿新 • • 發佈:2018-12-30
Dear Professor Ricco RAKOTOMALALA:
the Reference is:
<An Empirical Comparison of Selection Measures for Decision-Tree Induction>
The following datasets from above reference
try to find what feature is relevant to Cancer Recurrence.
Datasets(totally 10 items):
Radiation | menopause | Class |
---|---|---|
No | <60 | Recur |
No | ≥60 | Recur |
No | <60 | Recur |
No | NOT | Recur |
Yes | ≥60 | Not Recur |
Yes | <60 | Not Recur |
Yes | ≥60 | Not Recur |
No | NOT | Not Recur |
No | <60 | Not Recur |
No | <60 | Recur |
for datasets as follows:
we have Chi-square Test formula:
where
-------------------All the following computation are identical with the above article(skip please)-----------
For Radiation:
Radiation\Class | Recur | Not Recur | Total |
---|---|---|---|
Yes | 0 | 3 | 3 |
No | 5 | 2 | 7 |
Total | 5 | 5 | 10 |
where
∴