You are on page 1of 5

In the following table, the results from the exact test of goodness of fit calculations are presented, as

well as the information if the null hypothesis is accepted or rejected based on the calculations and if the
value of the result is less than 0.05.

results hypothesis
Hypertension 0.709473 Accepted
Fatigue 0.133423 Accepted
Rheumatoid arthritis 0.6875 Accepted
Arrythmia 0.123894 Accepted
Impaired Vision 0.018242 Rejected

Table 1: Prevalence of following conditions and their calculated hypothesis. Exact test of goodness of fit
results.

Based on the following results, the prevalence of diseases in males and females are almost equal in all
the diseases, except the impaired vision. We assumed that the prevalence of impaired vision would be
equal, however the number of females with impaired vision turned out to be significantly higher than
the number of males (p=0.018242).

The plotted bar charts for all the values with people who have the diseases are represented in following
figures.

Prevalence of Hypertension
18
16
16
14
12
10
8 7 6.5 6.5
6
4
2
0
Male Female

Observed Expected

Figure 1: Column chart representing the observed and expected number of participants of both sexes
with hypertension.
Prevalence of Fatigue
20 19
18
16
14
12
10
8 6.5 6.5
6
4
4
2
0
Male Female

observed expected
Figure 2: Column chart
representing the observed and expected number of participants of both sexes with fatigue.

Prevalence of Arrhytmia
18 17
16
14 13.5 13.5

12
10
10
8
6
4
2
0
Male Female

observed expected
Figure 3: Column chart
representing the observed and expected number of participants of both sexes with arrhytmia.
Prevalence of Rheumatoid Arthritis
2.5

2 2 2 2
2

1.5

0.5

0
Female Male

observed expected
Figure 4: Column chart
representing the observed and expected number of participants of both sexes with rheumatoid arthritis.

Prevalence of Impaired Vision


40
35 34

30
26 26
25
20 18
15
10
5
0
Female Male

Observed Expected
Figure 5: Column chart
representing the observed and expected number of participants of both sexes with impaired vision.

In Task 3, we analyzed the prevalence of the following conditions between the people coming from
Serbia and Croatia.

Results Hypothesis
Impaired vision 0.331812 Accepted
Arrhytmia 0.363281 Accepted
UTIs 0.5 Accepted
Table 2: Prevalence of the following conditions with the calculated hypothesis. Exact test of goodness of
fit results.

According to the table, the prevalence of the following conditions is equal between the people from
Serbia and Croatia.
Prevalence of Impaired vision
14
12
12
10.5 10.5
10 9
8

0
Croatia Serbia

Observed Expected
Figure 6: Column chart
representing the observed and expected numbers of participants of both countries with impaired vision.

Prevalence of Arrhytmia
6
5
5
4 4
4
3
3

0
Serbia Croatia

Observed Expected
Figure 7: Column chart
representing the observed and expected numbers of participants of both countries with arrhytmia.
Prevalence of UTIs
1.2

0.8

0.6

0.4

0.2

0
Serbia Croatia

Observed Expected
Figure 8: Column chart
representing the observed and expected numbers of participants of both countries with UTIs.

You might also like