Professional Documents
Culture Documents
Department of Informatics, Faculty of Engineering and Computer Science, Krida Wacana Christian University
1,2,3,4
Received: 14th August 2019/ Revised: 1st October 2019/ Accepted: 9th October 2019
How to Cite: Saputri, A. E., Sevani, N., Saputra, F., & Sali, R. K. (2020). Using Certainty Factor Method to Handle
Uncertain Condition in Hepatitis Diagnosis. ComTech: Computer, Mathematics and Engineering Applications, 11(1), 1-10.
https://doi.org/10.21512/comtech.v11i1.5903
Abstract - The research aimed to develop a The worst risk for hepatitis patients who cannot be
web-based application using the certainty factor. The adequately cured is death. Hepatitis can be caused by
use of this certainty factor method allowed processing a viral infection which can be divided alphabetically,
the data based on the degree of confidence from namely A, B, C, D, and E virus. Moreover, alcohol,
the experts and the users. The users inputted their drugs, and chemicals can also be the cause of hepatitis
symptoms each with the level of confidence. The (Novarina, Santoso, & Indriati, 2018; Kementerian
inference engine drew some conclusions based on Kesehatan Republik Indonesia, 2014). Someone that
the matching process between the input and the rules consumes much alcohol or drugs potentially has
in the knowledge-based. For every matching pair, hepatitis.
the system would calculate the certainty factor. The Generally, hepatitis can be detected by visiting
knowledge-based was developed through discussion doctors, but this is usually can be done by the middle
with three specialist physicians and literature in and upper-class society. Moreover, visiting doctors
some previous studies. The evaluation of the system sometimes can be a problem for middle to lower
involved three specialists for validation testing and 51 class society. Financial reasons and ignorance about
respondents for BlackBox testing. The final result is hepatitis are the reason they do not visit the doctor
displayed in the form of a percentage for each hepatitis for a medical check-up. Therefore, by utilizing
type, explanation of first aid for hepatitis, and referral technological advances that have reached many aspects
hospital for hepatitis patients. The result shows that of life, the researchers can make a health care web-
the error rate in the diagnosis process is under 36%. based application to help people making a diagnosis
Most of the respondents think that the quality of the of hepatitis. For data processing, the application
system is good overall. uses the Certainty Factor (CF) method. This method
allows a conclusion or diagnosis, although there is
Keywords: Certainty Factor method, hepatitis an uncertainty in patient condition or uncertainty in
diagnosis the rules used to conclude (Sari, 2013; Gunawan &
Wardoyo, 2018). CF can also describe the level of
confidence of experts (the doctor) to the problems
I. INTRODUCTION (Aji, Furqon, & Widodo, 2018; Nst, Mesran, Suginam,
& Fadlina, 2017). It is by considering that a doctor
In Indonesia, hepatitis has become one of the often using the phrase ‘maybe, most likely, almost
infectious diseases with a reasonably large number definitely,’ in making a diagnose. In short, CF is a
of patients. Based on the survey from Basic Health value that shows the degree of confidence of an expert
Research in 34 provinces in Indonesia (Kementerian to assume the data (Aji et al., 2018; Ratama, 2018).
Kesehatan Republik Indonesia, 2018), there was an All of these theories make the CF method suitable for
incremental prevalence amount of hepatitis patients diagnosing uncertain things (Wulandari & Yuliandri,
from 0,2% of the population in 2013 to 0,4% in 2018. 2014). It can give more than one disease as a result
This survey was conducted based on doctor diagnose. based on their probability (Munandar, Suherman, &
*Corresponding Author 1
Sumiati, 2012; Ramadhan & Pane, 2018). Previous
researchers also show that CF method successfully Start
provides high accuracy in detection of disease in
a human or plants (Muludi, Suharjo, Syarif, &
Ramadhani, 2018; Sevani & Chandra, 2016; Gunawan Problem Identification
2 ComTech: Computer, Mathematics and Engineering Applications, Vol. 11 No. 1 June 2020, 1-10
executes the action to obtain a hypothesis. The eighth step is system implementation.
The sixth step is the implementation of the The application for the detection of hepatitis disease
CF method. It is carried out simultaneously with the is created using the Bootstrap Design Framework.
inference process. There are several steps to implement The PHP and MySQL software are also used as the
CF. First, the researchers determine the value of CF programming language and the database respectively.
from the expert for all the symptoms of hepatitis. The The last step is the system evaluation process.
CF value is acquired through discussion and interview The researchers tests the developed application.
with the expert. Second, the researchers specify the Black-Box and White-Box testing are used to test the
rule that will be used for the calculation of the CF application.
method. Third, it is the determination of the answer The goal of Black-Box testing is to try the
value of CF from the users. The users are given the usability of all functions of the system. The tester of
option of the answer value when they use the system. Black-Box testing does not know the details of the
Fourth, the researchers multiply the CF value system. It is done by demonstrating the application
from experts and users. It is to get the value of CF and distributing questionnaires to 51 respondents.
symptoms using Equation (1) as follows: They directly participate in the demonstration. The
researchers use the random sampling method to
choose the respondents. The questions are a simple
(1) version of the questions used by Sevani, Putro, and
Marpaung (2016) in the usability testing for the web-
CF is the factor of the hypothesis (H). It is based system.
influenced by the fact (event (E)). CF [E] is the Meanwhile, White-Box testing is performed by
evidence of CF in E. Meanwhile, CF[H] is the evidence system developers to find possible bugs or errors in
of CF in H. the application logic. It is done by trying all the menu,
Fifth, the results of CF symptoms of the fourth function, and link in the system and comparing the
step are combined using Equation (2) as follows: result with the diagram made in the design process.
The validation testing is also conducted to validate
the output of the system. Three specialist physicians
conduct it. The error rate is calculated based on the
(2) comparison between the output of the application and
the diagnosis result from the physicians.
If the value of CF symptoms is more than two,
the researchers use Equation (3) to find the value of
CF old. The equation is as follows:
III. RESULTS AND DISCUSSIONS
Description: User can use all the functions provided by the application, except viewing and deleting user data, entering the hospital data,
editing and deleting, and registering admin/user. Admins can use all functions provided by the application, including diagnosis, view
and edit diagnosis result, and edit and delete user’s data profiles and hospital list.
START Register
Input
Login No
Login
Register
Proses Register
Yes Logout
Input Diagnose
Login
No
View Diagnose
Username Result
and
Password
Delete Diagnose
Yes Result
Input The User Admin
Symptoms
View and Edit
Diagnose Result
Calculate CF Value Using
formula (1) View and Edit
User Data
Combine CF value using
formula (2) and formula (3) View List of
Hospital
Transform CF value to
percentage using formula (4) Input, Edit, Delete
Hospital
4 ComTech: Computer, Mathematics and Engineering Applications, Vol. 11 No. 1 June 2020, 1-10
Then, the system makes the diagnosis based Based on the results of knowledge acquisition,
on the knowledge base built in the earlier stages of the researchers make the rules. Three rules are used in
the research. Tables 2−4 are the knowledge base. this application. Those are as follows:
The information is obtained as a result of knowledge
acquisition. Table 2 shows the types of hepatitis. Then, Rule 1: IF G01 AND G02 AND G03 AND G04 AND
the data of hepatitis symptoms with their CF are in G05 AND G06 AND G07 AND G08 AND G09 AND
Table 3. Meanwhile, Table 4 shows the CF values that G010 AND G013 AND G014
represent users’ uncertainty about their condition. It AND THEN G015 P01
can be selected by the
users every time they answer
the questions from the system (Setiabudi, Sugiharti, & Rule 2: IF G01 AND G02 AND G04 AND G05 AND
Arini, 2017). G06 AND G08 AND G09 AND G010 AND G011
AND G012 AND G013 AND G015 THEN P02
Table 2 Type of Hepatitis Rule 3: IF G01 AND G02 AND G03 AND G04 AND
G05 AND G06 AND G07 AND G09 AND G011 AND
G012 G014 AND THEN P03
Code Type of disease
P01 Hepatitis A The calculation uses the CF equation and
P02 Hepatitis B knowledge base in the system. The calculation process
implemented in the system is according to the steps
P03 Hepatitis C mentioned previously. For example, the user states
that there are four symptoms experienced (G03, G06,
G014, and G015), and based on the existing rules in
Table 3 Symptoms of Hepatitis the knowledge base, it can be concluded that the user
suffers the symptoms of hepatitis A, B, and C.
CF Specialist / Based on Table 3, the researchers can see that
Code Symptom
Weight the CF value of each symptom from the expert are
G01 Fatigue 0,1 G03 = 0,3; G06 = 0,3; G14 = 0,7; and G15 = 0,1. User
answers that he/she has four symptoms which each the
G02 Nausea 0,1
symptom has CF value of G03 = 0,6; G06 = 0,4; G14
G03 Throwing up 0,3 = 1; and G15 = 0,8.
G04 Diarrhea 0,2 Then, the CF combination value is calculated
G05 Fever 0,2 by multiplying the CF value from an expert with the
CF value from the user using Equation (1). The result
G06 Joint pain 0,3 for the four symptoms written sequentially are 0,18,
G07 Muscle ache 0,3 0,12; 0,7; and 0,08. All values obtained
from CF
G08 Itchy 0,1
and symptoms will be combined using Equation (2).
It gets the result of 0,2784, which will be saved as
G09 Loss of appetite 0,3 CFcombine1,2 or CFold 1.
G10 Losing Weight 0,4 Next, the calculation is continued using
G11 Pain in the liver area 0,6 Equation (3). The result is 0,78352 and saved as
CFcombineold 1,3 or CFold 2. By repeating the fourth and
G12 Yellow skin and eyes 0,8 fifth steps in the implementation of the CF method,
G13 Dark-colored urine 0,7 the researchers finds the value of CF old. The final old
G14 Gray Feces 0,7 value obtained is 0,8008. Then the old value will be
converted to the percentage using Equation (4). The
G15 Stomachache 0,1 value of the confidence of user is 75,4% (diagnosed
with hepatitis A (P01)), 19,04% (diagnosed with
hepatitis B (P02)), 80,08% (diagnosed with hepatitis
Table 4 Data Value of Assurance User C (P03)). It can be concluded that users are exposed to
hepatitis C (P03).
No. Information User value Figures 4 and 5 are examples of the existing
1 Really do not know 0 system interface. Figure 4 contains the questions to
2 Do not know 0,2 make the diagnosis. Users must answer the questions
by choosing one of the answers that most reflect their
3 Slightly sure 0,4 condition. All answers will be calculated using the
4 Sure enough 0,6 CF equation to produce final results. The final result
5 Sure 0,8 is presented in the form of a percentage. It indicates
6 Very sure 1 the level of confidence of the disease according to the
user’s answer.
6 ComTech: Computer, Mathematics and Engineering Applications, Vol. 11 No. 1 June 2020, 1-10
The first question is about the quality of the
information provided for the user. The result has
shown that there is 56,9% of users who answer good,
41,2% (sufficient), and 2,0% (not good), as displayed
in Figure 6(a). The second question is about the ease
of use as seen in Figure 6(b). About 84,3% of users
answer that the system is easy to use. Then, 13,7% of
the users agree that it is sufficient, and 2,0% of users
state that the system is difficult to use.
The third question in Figure 6(c) is about the
appearance of the system. About 2% of users answer
that the interface is not good. Then, 27,5% agree
that they are neutral, and 58,8% say that it is good.
(a) However, only 11,8% mention that the interface is very
good. The fourth question in Figure 6(d) measures the
overall quality of the system. The result shows that
3,9% of the users answer that the system is not good.
About 23,5% are neutral, 58,8% say that the system is
good, and 13,7% mention that the system is very good.
In White-Box testing, the system will be tested
based on two types of actors (user and admin). The
White-Box testing is to test some function of the
system (the logic). The result is shown in Table 5.
The examination column describes the testing action.
Meanwhile, the expectation column describes the
expected result, and the reality column shows the real
result of the examination. The result column shows
(b) whether the action is successfully conducted or not.
It means that there are no different results between
expectation and reality.
The researchers also conduct validation testing
by matching the system output with the opinion of the
physician as an expert. There are three physicians
involved as the tester of the system. Then, there are 40
test data obtained randomly. Due to time constraints,
each physician only can validate about 15 test data. The
comparison between system output and the opinion of
the expert can be seen in Table 6. The results of the
calculation error by the expert are done as follows:
(c)
(5)
(6)
(d)
Figure 6 The Results of the Questionnaire (7)
8 ComTech: Computer, Mathematics and Engineering Applications, Vol. 11 No. 1 June 2020, 1-10
Table 6 Comparison between System Output Gunawan, E. P., & Wardoyo, R. (2018). An expert system
and the Experts’ Decision using Certainty Factor for determining insomnia
acupoint. IJCCS (Indonesian Journal of Computing
Comparison between System and Cybernetics Systems), 12(2), 119-128.
& Expert Total Halim, S., & Hansun, S. (2015). Penerapan metode Cer-
Physician tainty Factor dalam sistem pakar pendeteksi resiko
Different Case
Same Result osteoporosis dan osteoarthritis. Ultima Computing:
Result
Physician 1 9 5 14 Jurnal Sistem Komputer, 7(2), 59-69.
Jain, S., & Mishra, S. (2014). Knowledge representation
Physician 2 11 3 14
with ontology tools & methodology. In International
Physician 3 8 4 12 Conference on Advances in Computer Engineering
& Applications (ICACEA-2014).
Kementerian Kesehatan Republik Indonesia. (2014). Situa-
si dan analisis hepatitis. Retrieved from http://www.
IV. CONCLUSIONS depkes.go.id/download.php?file=download/pusda-
tin/infodatin/infodatin-hepatitis.pdf
Based on the results of the implementation and Kementerian Kesehatan Republik Indonesia. (2018). Hasil
evaluation, it can be concluded that the CF method utama riset kesehatan dasar tahun 2018. Retrieved
can be implemented in the hepatitis diagnosis. This from http://www.depkes.go.id/resources/download/
method works based on the symptoms experienced info-terkini/materi_rakorpop_2018/Hasil Riskesdas
by the users. It also provides results of the type of 2018.pdf
hepatitis with the percentage. It describes the certainty Muludi, K., Suharjo, R., Syarif, A., & Ramadhani, F. (2018).
of the system about the possibility of the disease. The Implementation of forward chaining and certainty
error rate is in the range of 20%−35%. It means that factor method on Android-based expert system of
there are still many discrepancies between system tomato diseases identification. International Journal
output and the opinion of the system. However, the of Advanced Computer Science and Applications,
Black-Box testing results show that the system has 9(9), 451-456.
a good usability value. Moreover, all functions work Munandar, T. A., Suherman, & Sumiati. (2012). The use of
well as they should be. Certainty Factor with multiple rules for diagnosing
The contribution of this research is to increase internal disease. International Journal of Applica-
the number of applications in the medical field, tion or Innovation in Engineering & Management
especially for hepatitis diagnosis. The implication of (IJAIEM), 1(1), 58-64.
the research, in the long run, it can increase public Niranjanamurthy, M., Nagaraj, A., Gattu, H., & Shetty, P. K.
awareness to care about their health condition since the (2014). Research study on importance of Usability
early stage. Moreover, the limitation of this research is Testing/User Experience (UX) Testing. Internation-
related to the method used to handle the uncertainty al Journal of Computer Science and Mobile Com-
by using only one single method. Another limitation is puting, IJCSMC, 3(10), 78-85.
related to the source of knowledge, which is limited to Novarina, A. T., Santoso, E., & Indriati. (2018). Sistem
the number of experts. pakar diagnosis penyakit hepatitis menggunakan
For future research, it is recommended to metode Dempster Shafer. Jurnal Pengembangan Te-
minimize the error value by evaluating the CF value knologi Informasi dan Ilmu Komputer, 2(6), 2252-
from the experts and produce more detailed rules for 2258.
each of the hepatitis type. Using more data testing Nst, Y. L., Mesran, Suginam, & Fadlina. (2017). Sistem pa-
for each expert can also be considered for validation kar untuk mendiagnosis penyakit tumor otak meng-
testing. Besides, in usability testing, the research can gunakan metode Certainty Factor (CF). Jurnal Ilmi-
add more indicators to get a detailed response from ah INFOTEK, 2(1), 82-86.
the users. Pramana, E. (2012) TA: Rancang bangun aplikasi diagnosa
penyakit hepatitis menggunakan Certainty Factor
(Undergraduate thesis). STIKOM Surabaya.
REFERENCES Ramadhan, P. S., & Pane, U. F. S. S. (2018). Analisis per-
bandingan metode (Certainty Factor, Dempster
Aji, A. H., Furqon, M. T., & Widodo, A. W. (2018). Sistem
Shafer dan Teorema Bayes) untuk mendiagnosa pen-
pakar diagnosa penyakit ibu hamil menggunakan
yakit inflamasi dermatitis imun pada anak. Jurnal
metode Certainty Factor (CF). Jurnal Pengemban-
SAINTIKOM (Jurnal Sains Manajemen Informatika
gan Teknologi Informasi dan Ilmu Komputer, 2(5),
dan Komputer), 17(2), 151-157.
2127-2134.
Ramdhani, A., Isnanto, R. R., & Windasari, I. P. (2015).
Dahiyat, S. E. (2015). An integrated model of knowledge
Pengembangan sistem pakar untuk diagnosis pen-
acquisition and innovation: Examining the media-
yakit hepatitis berbasis web menggunakan metode
tion effects of knowledge integration and knowledge
Certainty Factor. Jurnal Teknologi dan Sistem Kom-
application. International Journal of Learning and
puter, 3(1), 58-64.
Change, 8(2), 101-135.
10 ComTech: Computer, Mathematics and Engineering Applications, Vol. 11 No. 1 June 2020, 1-10