Turkish Journal of Computer and Mathematics Education
Vol.12 No. 4 (2021), 1014-1023
Research Article
Using Cauchy Distribution To Estimate Survival Function
Lecturer/ Hind Jawad Kadhim AlBderi
College of Administration and Economics / University of Al-Qadisiyah hind.kadhum@qu.edu.iq
hind_satia@yahoo.com
http://orcid.org/0000-0003-1525
Article History: Received: 17 September 2020; Accepted: 04 October 2020; Published online: 5 April 2021 Abstract: This paper intends to estimate the unlabeled two parameters for Cauchy distribution model depend on
employing the maximum likelihood estimator method to obtain the derivation of the point estimators for all unlabeled parameters depending on iterative techniques , as Newton – Raphson method , then to derive “Lindley approximation estimator method and then to derive Ordinary least squares estimator method. Applying all these methods to estimate related probability functions; death density function, cumulative distribution function, survival function and hazard function (rate function)”.
“When examining the numerical results for probability survival function by employing mean squares error measure and mean absolute percentage measure, this may lead to work on the best method in modeling a set of real data” .
Introduction:
The first publication of Cauchy distribution was in 1824 by the French mathematician Poisson; then it was only associated with the name Augustin Cauchy during an academic debate in 1853. Physicists call it the Lorentz distribution due to Hendrink Lorents.
Cauchy distribution is a continuous probability distribution of curves that has heavier tails than the normal distributions; and one of the most popular practical applications for this distribution is modeling the ratio of two normal random variables. (1,2)
“Introduce a tree-structured Bayesian network suitable for modelling directional data with bivariate wrapped Cauchy distributions. We describe the structure learning algorithm used to learn the Bayesian network”. (2) Because Cauchy distribution does not have limited moments greater than or equa to one and has no moment generating function, it is a stable distribution with a probability density function that can be explained analytically and therefore, Cauchy distribution might be considered as an example of a well-accepted results and conceple in statitics. (1)
This paper is divided as follows:- The objective of this paper, theoretical section, practical section, results and conclusions.
The objective of this paper:
This paper aims to examine sample type Breast cancer by using maximum likelihood estimator method (MLEM) , Lindley approximation estimator method (LAEM) and Ordinary least squares estimator method ; and by comparing the three methods .
Definition and properties:
“The p.d.f for Cauchy distribution. Is”:
]
)
(
[
)
,
;
(
2 2
t
t
f
p ;t
0
...(
1
)
;
,
;
0
,
0
t
Where
: “is scale parameter”
: “is location parameter”“The cumulative distribution function for this distribution is”:
1
tan
(
)
...(
2
)
2
1
)
,
;
(
1
t
t
F
; for(
t
;
;
0
)
Lecturer/ Hind Jawad Kadhim AlBderi “It's survival function is given by” :
1
tan
(
)]
...(
3
)
2
1
[
1
)
,
;
(
1
t
t
s
“The hazard rate function is given by” :
...(
4
)
)]
(
tan
1
2
1
[
1
]
)
(
[
)
,
;
(
1 2 2
t
t
t
h
f
(
t
;
,
)
pF
(
t
;
,
)
Maximum likelihood estimator method(MLEM):
“The MLM is the most common procedure to estimate the parameter
which specifies a p.d.f. f(t:
) , based on the observationst
1,
t
2,...,
t
n which were independent. sample from the distribution”.)
5
...(
]
]
)
(
[
[
)]
,
;
(
[
2 2 1 1
i n i i n if
t
t
L
)
6
...(
]
)
(
ln[
ln
ln
ln
1 2 2
n i it
n
n
L
)
7
...(
)
(
2
ln
1 2 2
n it
in
L
;0
ln
L
;...(
8
)
)
(
2
1 2 2
n it
in
)
9
...(
)
(
)
(
2
ln
1 2 2
n i i it
t
L
;ln
0
L
;...(
10
)
)
(
)
(
2
1 2 2
n i i it
t
“There is no chance to find the estimators for the parameters
(
,
)
, and it is kind of difficulty to process thenonlinear equations thus, it is better to make use of iterative methods in numerical analysis as Newton –Raphson method which is the best way to get the estimate values and number of iteration”.
“The Newton–Raphson method requires an initial value of each unknown parameters”
(
,
)
. This method follows :)
11
...(
)
(
)
(
2 1 1 1 1
g
g
J
i i i i i)
12
...(
)
(
2
)
(
1 2 2 1
n it
in
g
;...(
13
)
)
(
)
(
2
)
(
1 2 2 2
n i i it
t
g
)
14
...(
)
(
)
(
)
(
)
(
2 2 1 1 1
g
g
g
g
J
i)
15
...(
]
)
(
[
2
)
(
2
)
(
1 2 2 2 2 2 2 1
n i i it
t
n
g
;...(
16
)
]
)
(
[
)
(
4
)
(
1 2 2 2 1
n i i it
t
g
)
17
...(
]
)
(
[
)
(
4
)
(
1 2 2 2 2
n i i it
t
g
;...(
18
)
]
)
(
[
2
)
(
2
)
(
1 2 2 2 2 2 2
n i i it
t
g
)
19
...(
)
(
)
(
1 1 1 1
i i i i i i
“Lindley approximation estimator method (LAEM)”:
“Lindley procedure was presented in (1980) first time to approximate the ratio of the integrals of the form(3):
)
20
...(
)
(
)
(
) ( ) (
d
e
v
d
e
w
L L
“Where
(
1,
2,...,
n)
are parameters ,L
(
)
is the logarithm of the likelihood function ,w
(
)
andv
(
)
are any random functions for parameters”.Let
v
(
)
be the prior distribution of
andw
(
)
u
(
)
v
(
)
. From(
20
)
we can get posterior expectation which is as follow :)
21
...(
)
(
]
|
)
(
[
) ( ) ( ) ( ) (
d
e
d
e
u
x
u
E
P L P L
WhereP
(
)
log[
v
(
)]
)
22
...(
]
[
2
1
)
,
(
30 12 03 21 21 12 12 21 1 12 2 12 ^ ^ ^B
p
B
p
D
l
D
l
C
l
C
l
B
R
R
)
23
....(
...
2
,
1
,
;
2 1 2 1
j
i
T
Q
B
j ij ij i ; i(
,
j)
...(
24
)
j i ijL
l
)
25
...(
)
,
(
ln
,
p
p
p
i i)
26
...(
,
,
2 2 1 j i ijR
Q
R
Q
R
Q
)
27
...(
ji j ij i ijQ
T
Q
T
B
;C
ij
(
Q
iT
ij
Q
jT
ij)
T
ii...(
28
)
;3
(
2
)
...(
29
)
2 ij jj ii i ij ii i ijQ
T
T
Q
T
T
T
D
Lecturer/ Hind Jawad Kadhim AlBderi
]
)
(
[
)
,
;
(
2 2
t
t
f
pWe assumed that
,
have the following Gamma conjugate prior distribution such that :
~( a
n
,
)
;
~( b
n
,
)
)
30
...(
.
0
0
,
0
,
0
)
(
)
(
1
w
o
n
a
e
n
a
f
a n n
)
31
...(
.
0
0
,
0
,
0
)
(
)
(
1
w
o
n
b
e
n
b
f
b n n
)
32
...(
)
(
)
(
)
,
;
,...,
,
(
)
(
)
(
)
,
;
,...,
,
(
)
,...,
,
|
,
(
0 2 1 0 2 1 2 1
d
d
f
f
t
t
t
L
f
f
t
t
t
L
t
t
t
p
n n n
)
33
...(
)
(
)
(
)
,
;
,...,
,
(
)
(
)
(
)
,
;
,...,
,
(
)
,
(
)]
,
(
[
0 2 1 0 0 2 1 0 ^
d
d
f
f
t
t
t
L
d
d
f
f
t
t
t
L
R
R
E
R
n n
)
34
...(
)
(
)
(
]
]
)
(
[
[
)
(
)
(
]
]
)
(
[
[
)
,
(
0 1 1 2 2 1 0 0 1 1 2 2 1 0 ^
d
d
e
n
b
e
n
a
t
d
d
e
n
b
e
n
a
t
R
R
b n n a n n i n i b n n a n n i n i“We make used of Lindley's approximate ^
R
which approximate the ratio of the two integrals to obtain Bayes estimators approximation that can be resulted as follows” :Using equation (6) we get the following:
)
35
...(
]
)
(
[
)]
4
1
(
)
(
[
4
)
,
(
ln
1 3 2 2 2 2 2 3 12
n i i it
t
L
l
)
36
...(
]
)
(
[
]
)
(
3
)[
(
4
)
,
(
ln
1 3 2 2 2 2 2 3 21
n i i i it
t
t
L
l
)
37
...(
]
)
(
[
]
3
)
)[(
(
4
)
,
(
ln
1 3 2 2 2 2 3 3 03
n i i i it
t
t
L
l
)
38
...(
]
)
(
[
]
)
(
3
[
4
2
)
,
(
ln
1 3 2 2 2 2 3 3 3 30
n i i it
t
n
L
l
When
R
(
,
)
;1
,
0
,
0
...(
39
)
2 21 12 2 1
j iR
Q
Q
R
Q
R
Q
)
40
...(
]
)
(
[
2
)
(
2
)
,
(
ln
1 2 2 2 2 2 2 2 2
n i i it
t
n
L
E
n i i it
t
L
F
1 2 2 2 2 2 2 2)
41
...(
]
)
(
[
2
)
(
2
)
,
(
ln
)
42
...(
]
)
(
[
)
(
4
)
,
(
ln
)
,
(
ln
1 2 2 2 2 2
n i i it
t
L
L
G
)
43
...(
2 11G
EF
F
T
; 22 2
...(
44
)
G
EF
E
T
; 12 21 2...(
45
)
G
EF
G
T
T
)
46
...(
ln
)
1
(
)
(
ln
ln
ln
)
1
(
)
(
ln
ln
)
,
(
ln
f
n
a
n
n
a
n
n
n
b
p
)
47
...(
1
1a
n
p
p
;...(
48
)
1
2b
n
p
p
)
49
...(
0
21 21 12 12 2 1 2 1
T
Q
T
Q
T
Q
B
j ij ij i)
50
...(
;
21 21 22 11 12 12T
T
C
T
T
C
)
51
...(
0
;
2
3
11 12 11 22 122 21 12
T
T
T
T
T
D
D
)
52
...(
;
21 21 12 12T
B
T
B
)
53
...(
)
1
(
)
1
(
)]
2
3
(
[
2
1
12 12 2 12 22 11 12 11 21 22 21 03 11 12 30 ^ ^T
b
n
T
a
n
T
T
T
T
T
l
T
T
l
T
T
l
MLE
WhenR
(
,
)
0
,
1
,
0
...(
54
)
2 21 12 2 1
j iR
Q
Q
R
Q
R
Q
From equation (49) , (50) and
D
12
0
;
D
21
3
T
22T
21
T
22T
11
2
T
22...(
55
)
)
56
...(
;
21 21 21 12T
B
T
B
)
57
...(
)
1
(
)
1
(
)]
2
3
(
[
2
1
21 21 2 21 11 22 21 22 12 22 21 03 11 12 30 ^ ^T
b
n
T
a
n
T
T
T
T
T
l
T
T
l
T
T
l
MLE
Ordinary Least Squares Estimator Method (OLSEM):
“The OLSEM is the most used way to estimate parameters in linear or nonlinear model. Researchers make use of this method to lessen the sum squares differences concerning observed sample values and expected estimated values by linear approximation”. (4,5)
)
58
...(
1 0
x
Y
;...(
59
)
^ 1 ^ 0 i ix
Y
n i n i i i iy
y
1 1 2 ^ 2)
60
...(
]
[
;
n i n i i i iy
x
1 1 2 ^ 1 ^ 0 2)
61
...(
]
[
Lecturer/ Hind Jawad Kadhim AlBderi
)
62
...(
)
(
tan
1
2
1
)
(
1
i it
t
F
;1
tan
(
)
...(
63
)
2
1
)
(
1
i
it
t
F
)
64
...(
)]
(
tan
1
2
1
)
(
[
1 1 1 2
n i i i n i it
t
F
; Let(
,
)
1 2
H
n i i
)
65
...(
)]
(
tan
1
2
1
)
(
[
)
,
(
1 1
n i i it
t
F
H
)
66
...(
)
)
(
1
1
(
1
1 2
n it
iH
;
0
H
;)
...(
67
)
)
(
1
1
(
1
1 2
n it
i
)
68
...(
)
)
(
1
)
(
1
(
1
1 2 2
n i i it
t
H
;
0
H
;)
...(
69
)
)
(
1
)
(
1
(
1
1 2 2
n i i it
t
There is no chance to find the estimators for the parameters
(
,
)
, and it is kind of difficulty to process the nonlinear equations thus, it is better to make use of iterative methods in numerical analysis as Newton–Raphson method which is the best way to get the estimate values and number of iteration.The Newton–Raphson method requires an initial value of each unknown parameters
(
,
)
.)
70
...(
)
(
)
(
2 1 1 1 1
z
z
J
i i i i i)
71
...(
)
)
(
1
1
(
1
)
(
1 2 1
n it
iz
;)
...(
72
)
)
(
1
)
(
1
(
1
)
(
1 2 2 2
n i i it
t
z
)
73
...(
)
(
)
(
)
(
)
(
2 2 1 1 1
z
z
z
z
J
i)
74
...(
)
]
)
(
1
[
)
(
2
(
1
)
(
1 2 2 3 1
n i i it
t
z
;)
...(
75
)
]
)
(
1
[
)
(
1
[
1
(
1
)
(
1 2 2 2 2 1
n i i it
t
z
)
76
...(
)
]
)
(
1
[
)
(
1
[
1
(
1
)
(
1 2 2 2 2 2
n i i it
t
z
;)
...(
77
)
]
)
(
1
[
)
(
2
(
1
)
(
1 2 2 3 2
n i i it
t
z
)
78
...(
)
(
)
(
1 1 1 1
i i i i i i
Results and Discussion:
The Educational Hospital in Diwaniyah province was the place from which the data was gathered.
Keeping in mind that this work relies on data taken from real life, it is reached to select this kind of cancer (Breast cancer) because it is remarkable widespread and deadly in Iraq; this disease has failure time (death time) which is phenomenon in this paper.
The study of this paper covers a period of six months; it begins from Jun 2019 until December 2019; it is an experiment that includes (14) patients.(12) patients were dead and (2) patients remain alive .
When applying the test statistic (Kolmogorov-Smirnov) depending upon statistical programming (EasyFit 5.5 Professional) in order to fit Cauchy distribution data , it is discovered that the calculated value is (0. 11034) , this means data is distributed according to Cauchy distribution .
The null and alternative hypotheses are as follows : 0
H
: The survival time data is distributed as Cauchy. 1H
: The survival time data is not distributed as Cauchy.‘Figure(1)’
When applying MATLAB (R2014a) , the estimated parameters results are as follows : The assumed initial values for two-parameters are as follows:
Table (1)
MLEM OLSEM LAEM
Initial values of parameters
052
.
0
0
;
0
31
0
52
;
0
31
0
0
.
0019
;
0
51
.
1635
Estimated values for the parameters019
.
0
^
;51
.
1635
^
0
.
0004
^
;1
.
4100
^
0
.
01900596
^
;51
.
16350063
^
After that , using these estimated values for two-parameters in Cauchy distribution to find the numerical values for
f
(t
)
,F
(t
)
,s
(t
)
andh
(t
)
.Table (2) : Estimated values for functions
f
(t
)
,F
(t
)
,s
(t
)
,h
(t
)
by LAEM Failure Timef
(t
)
F
(t
)
s
(t
)
h
(t
)
15 4.62E-07 5.698456 0.499992 9.25E-07 21 6.65E-07 7.599852 0.499988 1.33E-06 23 7.62E-07 8.201278 0.499986 1.52E-06 25 8.83E-07 8.785386 0.499984 1.77E-06 28 1.13E-06 9.628227 0.499979 2.25E-06 29 1.23E-06 9.900173 0.499978 2.46E-06 29 1.23E-06 9.900173 0.499978 2.46E-06 30 1.35E-06 10.1676 0.499975 2.70E-06 34 2.05E-06 11.19218 0.499963 4.11E-06 38 3.49E-06 12.14562 0.499936 6.98E-06 39 4.09E-06 12.37313 0.499925 8.18E-06 42 7.20E-06 13.03039 0.499869 1.44E-056
0.01445847
)]
(
)
(
[
1
)]
(
[
1 2 ^ ^
n i i i is
t
s
t
n
t
s
MSE
3
0.45820274
)
(
)
(
)
(
1
)]
(
[
1 ^ ^
n i i i i it
s
t
s
t
s
n
t
s
MAPE
Lecturer/ Hind Jawad Kadhim AlBderi
Table (3) : Estimated values for functions
f
(t
)
,F
(t
)
,s
(t
)
,h
(t
)
by OLSEM5
0.01446749
)]
(
)
(
[
1
)]
(
[
1 2 ^ ^
n i i i is
t
s
t
n
t
s
MSE
72
0.04583329
)
(
)
(
)
(
1
)]
(
[
1 ^ ^
n i i i i it
s
t
s
t
s
n
t
s
MAPE
Conclusions:1- We notice in both methods that the estimated values of the probability survival function decrease with increasing failure times (an inverse relationship between them).
2- We notice in both methods that the estimated values of the potential risk function increase with increasing times of failure (a direct relationship between them).
3- It is recommended to use (LAEM) of Cauchy distribution of Breast cancer by employing MSE criterion.
References:
)1( Gerald Haas , Lee Bain and Gharles Antle 1970 “Inferences for the Cauchy distribution based on maximum likelihood estimators”. Printed in Great Britain. Biometrika , 57, 2 , PP.403.
(2) M. H. Tahir , M. Zubair , Gauss M , Cordeiro , Ayman Alzaatreh and M. Mansoor 2017 “The Weibull-Power Cauchy distribution : model, properties and applications”. Hacettepe Journal of Mathematics and Statistics . Vol. 46 (4) , PP. 767 – 789.
(3) Lindley , D. V. 1980 “ Approximate Bayesian Method ” , Trabajos de Estadistica , vol. 31 , PP. 223-237 .
(4) Douglas C. M. and George C. R. 2003 “ Applied Statistics and Probability for Engineering ” . Third Edition , John
Wiley and Sons , Inc , PP. 1-976.
(5) Hutcheson, G. D. and Sofroniou , N. 1999 “ The Multivariate Social Scientist ” , London : Sage Publications ,PP.1-228. Failure Time