Approach | Optimal Cost | SSE | MSE |
EKFSC | 82.247101 | 1.699326×10–1 | 2.832211×10–3 |
UKFSC | 81.517660 | 1.002719×10–3 | 1.671199×10–5 |
In this paper, a financial risk model, which is formulated from the risk management process of financial markets, is studied. By considering the presence of Gaussian white noise, the financial risk model is reformulated as a stochastic optimal control problem. On this basis, two efficient computational approaches for state estimation, which are the extended Kalman filter (EKF) and unscented Kalman filter (UKF) approaches, are applied. Later, based on the state estimate given by the EKF and UKF approaches, a linear feedback control policy is designed from the stationary condition. For illustration, some parameter values and the initial conditions of the financial risk model are used for the simulation of the stochastic optimal control problem. From the results, it is noticed that the UKF algorithm provides a better state estimate with a smaller value of the sum of squared errors (SSE) as compared to the SSE given by the EKF algorithm. Thus, the estimated output trajectory has a high accuracy that is close to the real output. Moreover, the control effort assists in estimating the state dynamics at the minimum cost. In conclusion, the efficiency of the computational approaches for optimal control of the financial risk model has been well presented.
Citation: Yue Yuin Lim, Sie Long Kek, Kok Lay Teo. Efficient state estimation strategies for stochastic optimal control of financial risk problems[J]. Data Science in Finance and Economics, 2022, 2(4): 356-370. doi: 10.3934/DSFE.2022018
[1] | Dominic Joseph . Estimating credit default probabilities using stochastic optimisation. Data Science in Finance and Economics, 2021, 1(3): 253-271. doi: 10.3934/DSFE.2021014 |
[2] | Tsumbedzo Mashamba, Modisane Seitshiro, Isaac Takaidza . A comprehensive high pure momentum equity timing framework using the Kalman filter and ARIMA forecasting. Data Science in Finance and Economics, 2024, 4(4): 548-569. doi: 10.3934/DSFE.2024023 |
[3] | Yuxin Li, Jizheng Yi, Huanyu Chen, Duanxiang Peng . Theory and application of artificial intelligence in financial industry. Data Science in Finance and Economics, 2021, 1(2): 96-116. doi: 10.3934/DSFE.2021006 |
[4] | Nitesha Dwarika . Asset pricing models in South Africa: A comparative of regression analysis and the Bayesian approach. Data Science in Finance and Economics, 2023, 3(1): 55-75. doi: 10.3934/DSFE.2023004 |
[5] | Nitesha Dwarika . The risk-return relationship in South Africa: tail optimization of the GARCH-M approach. Data Science in Finance and Economics, 2022, 2(4): 391-415. doi: 10.3934/DSFE.2022020 |
[6] | Maria Francesca Carfora, Albina Orlando . Application of the Gordon Loeb model to security investment metrics: a proposal. Data Science in Finance and Economics, 2024, 4(4): 601-614. doi: 10.3934/DSFE.2024025 |
[7] | Michael Jacobs Jr. . Validation of corporate probability of default models considering alternative use cases and the quantification of model risk. Data Science in Finance and Economics, 2022, 2(1): 17-53. doi: 10.3934/DSFE.2022002 |
[8] | Alejandro Rodriguez Dominguez, Om Hari Yadav . A causal interactions indicator between two time series using extreme variations in the first eigenvalue of lagged correlation matrices. Data Science in Finance and Economics, 2024, 4(3): 422-445. doi: 10.3934/DSFE.2024018 |
[9] | Moses Khumalo, Hopolang Mashele, Modisane Seitshiro . Quantification of the stock market value at risk by using FIAPARCH, HYGARCH and FIGARCH models. Data Science in Finance and Economics, 2023, 3(4): 380-400. doi: 10.3934/DSFE.2023022 |
[10] | Eid Elghaly Hassan, Diping Zhang . The usage of logistic regression and artificial neural networks for evaluation and predicting property-liability insurers' solvency in Egypt. Data Science in Finance and Economics, 2021, 1(3): 215-234. doi: 10.3934/DSFE.2021012 |
In this paper, a financial risk model, which is formulated from the risk management process of financial markets, is studied. By considering the presence of Gaussian white noise, the financial risk model is reformulated as a stochastic optimal control problem. On this basis, two efficient computational approaches for state estimation, which are the extended Kalman filter (EKF) and unscented Kalman filter (UKF) approaches, are applied. Later, based on the state estimate given by the EKF and UKF approaches, a linear feedback control policy is designed from the stationary condition. For illustration, some parameter values and the initial conditions of the financial risk model are used for the simulation of the stochastic optimal control problem. From the results, it is noticed that the UKF algorithm provides a better state estimate with a smaller value of the sum of squared errors (SSE) as compared to the SSE given by the EKF algorithm. Thus, the estimated output trajectory has a high accuracy that is close to the real output. Moreover, the control effort assists in estimating the state dynamics at the minimum cost. In conclusion, the efficiency of the computational approaches for optimal control of the financial risk model has been well presented.
Chaotic economics is a physical economics theory that can reveal ordered structures in random economic phenomena (Zhang et al., 2013). Recently, chaotic economics has gained extensive attention from the control communities and has been raised as an alternative scientific approach to understanding the complex dynamics of the real financial market (Sukono et al., 2020). Chaos is a special complex dynamic phenomenon that supports an endogenous explanation of the complexity observed in an economic time series. The existence of a chaotic phenomenon in any financial investment leads to the suffering of certain financial risks, as the primary function of financial markets is to transfer risk (Gao et al., 2018). Hence, understanding and handling the chaotic economics are crucial for the financial investment, as well as financial risk control.
In fact, financial risk is the possibility of suffering losses caused by uncertain changes in endogenous factors in financial or investment activities that have unpredictable fluctuations (Sukono et al., 2020). Thus, the high frequency of the up-and-down trends increases the loss incidence in the stock market. On the other hand, the financial crisis, which has the expression of chaos characteristics, can be caused by the occurrence of financial risk (Pfaff, 2016; Gao et al., 2018; Li et al., 2021). Since the rise in the occurrence of financial crises, the modeling and measurement of financial market risk have become necessary to devise and employ techniques that are better able to cope with the empirically observed extreme fluctuations in the financial markets.
From the review of literature, Burlando (1994) introduced the structure and terminology of chaos theory to risk management. The ultimate consequence of emerging chaos and risk is indeterminable, so a new perspective on how chaos and risk can persist in disrupting each other shall be further examined. Guillen et al. (2005) manipulated the financial risk associated with a given supply chain configuration under demand uncertainty. Zhang et al. (2013) investigated the stability and chaos of the improved financial risk system and described the change in financial market risk by using the complex dynamics of the system. In addition, the positive feedback gain matrix method has been applied to construct and prove the stability of the control system (Gao et al., 2018). This method shows that financial market risk can be controlled effectively under certain conditions, such as optimality and stability conditions, although chaotic systems are difficult to control.
Therefore, it is important to design and improve the dynamic chaotic control system because chaos disappearance is able to guard against financial system risks (Zhang et al., 2013). The rapid expansion of technology has provided the possibility for in-depth research on risk control, and many control systems have been developed to control the chaotic behavior of financial risk systems. Although financial risk cannot be eliminated totally, it can be managed (Kim et al., 2012). Hence, computational approaches such as extended Kalman filter (EKF) and unscented Kalman filter (UKF) techniques could be applied to solve the chaotic dynamics that are exhibited in the financial risk system. Some studies of using a Kalman filter in financial risk systems include financial crisis dynamics (Fatma and Sami, 2011), corporate financial distress (Zhuang and Chen, 2014), derivative portfolios (Haugh and Lacedelli, 2020), nonperforming loans (Ahmadi et al., 2022) and intellectual property pledge financing (Yin et al., 2022).
The main contribution of this paper is to demonstrate the effectiveness of the UKF technique in estimating the state while achieving optimal control of the financial risk system, and to compare the results of the UKF technique with the results from the EKF technique. In our work, the financial risk system, which consists of occurrence risk, analysis value risk and control value risk, is assumed to be disturbed by Gaussian random noise. Thus, the use of these filtering techniques is more appropriate than using the particle filter for non-Gaussian random noise. Unlike the EKF, the UKF does not require any Jacobian matrix calculations because it does not approximate the nonlinear functions of the process and the observation. By applying the unscented transformation, the UKF uses nonlinear models to approximate the distribution of the state variables and the observed variables with a normal distribution. For estimation accuracy, the sum of squared errors (SSE) and mean squared error (MSE) are calculated for both the EKF and UKF techniques. With these state estimates, the linear optimal control law is designed such that the performance index of the system, which measures the efficiency of the controller design, is minimized.
The rest of this paper is organized as follows. In Section 2, the stochastic optimal control problem of the financial risk model is described. In Section 3, the EKF and UKF computational approaches for solving the problem are discussed. Accordingly, the calculation procedures are summarized into two algorithms, which are the EKF for state control (EKFSC) algorithm and the UKF for state control (UKFSC) algorithm. In Section 4, an illustrative example that shows chaotic behavior is presented. Then, significant results on state estimation and feedback control of the system are presented and discussed. Finally, some concluding remarks are made.
Consider a mathematical model of the financial risk system (Sukono et al., 2020) that is described as
˙x1(t)=a(x2(t)−x1(t))+x2(t)x3(t),˙x2(t)=bx1(t)−x2(t)−x1(t)x3(t),˙x3(t)=x1(t)x2(t)−cx3(t), | (1) |
where x1(t) is the occurrence value risk, x2(t) is the analysis value risk and x3(t) is the control value risk in the current market. These variables (x1,x2,x3) are state variables and must be positive because risk in financial markets always exists in the market. In addition, a is the analysis risk efficiency, b is the transmission rate of the previous risk and c is the distortion coefficient for risk control. These scalars, i.e., a, b and c, are positive constant parameters with a, b, c ≥ 0.
By imposing the admissible control input u(t)∈R3, k = 0, 1, …, N–1, to the dynamic model (1), the state equation becomes
(˙x1(t)˙x2(t)˙x3(t))=(a(x2(t)−x1(t))+x2(t)x3(t)bx1(t)−x2(t)−x1(t)x3(t)x1(t)x2(t)−cx3(t))+(u1(t)u2(t)u3(t)), | (2) |
and its equivalent discrete-time model is given by
x(k+1)=f(x(k))+Bu(k), | (3) |
where x= is the state vector, the function f:R3→R3 is the plant dynamic given by
f(x(k))=(x1(k)x2(k)x3(k))+τ⋅(a(x2(k)−x1(k))+x2(k)x3(k)bx1(k)−x2(k)−x1(k)x3(k)x1(k)x2(k)−cx3(k)), | (4) |
with the sampling time τ for k = 0, 1, …, N–1, and B is a 3 × 3 control coefficient matrix. Note that, in the presence of the random disturbances ω(k)∈R3, k = 0, 1, …, N–1, which is the process noise, and η(k)∈R, k = 0, 1, …, N–1, which is the measurement noise, the state equation (3) is written as
x(k+1)=f(x(k))+Bu(k)+Gω(k), | (5) |
and the output measurement is denoted by
y(k)=h(x(k))+η(k), | (6) |
where G is a 3 × 3 noise coefficient matrix and h:R3→R is the output channel function defined by
h(x(k))=x1(k). | (7) |
Here, the random disturbances ω(k) and η(k) are Gaussian white noise sequences with a zero mean; their covariance matrices are Qω and Rη, respectively. The initial state x(0)=x0 is a random vector with an expected value and error covariance that are respectively given by
E[x0]=ˉx0 and E[(x0−ˉx0)(x0−ˉx0)T]=M0, |
where M0∈R3×3 is a positive definite matrix and E[⋅] is the expectation operator. It is assumed that the initial state, process noise and measurement noise are statistically independent.
Hence, the aim of the study was to find a set of the optimal control sequences u(k), k = 0, 1, …, N–1, such that the cost function
J(u)=E[φ(x(N))+N−1∑k=0L(x(k),u(k))] | (8) |
is minimized over the dynamical system defined by (5) and (6). Here, ϕ:R3→R is the terminal cost function and L:R3×R3→R is the operating cost function. Therefore, this problem is referred to as the discrete time nonlinear stochastic optimal control problem for financial risk system, and it is regarded as Problem (P).
In this section, the state estimation using the EKF and UKF approaches is discussed and the optimal control law is designed for solving Problem (P).
Consider the state mean propagation for the state dynamics described by (5), i.e.,
ˉx(k+1)=f(ˉx(k))+Bu(k), | (9) |
where ¯x(k) represents the state mean sequences, and we define the weighted least-squares error as
Jlse(x)=12(x(k)−ˉx(k))TMx(k)−1(x(k)−ˉx(k)) |
+12(y(k)−h(x(k)))T(Rη)−1(y(k)−h(x(k))). | (10) |
By taking the necessary condition ∇Jlse(x)=0, the optimal state estimate is obtained from
ˆx(k)=ˉx(k)+Kf(k)(y(k)−ˉy(k)), | (11) |
ˉx(k+1)=f(ˆx(k))+Bu(k), | (12) |
ˉy(k)=h(x(k)), | (13) |
where ˆx(k) is the filtered state estimate, ˉx(k) is the predicted state estimate and ˉy(k) is the output estimate (Lewis et al., 2012).
Here, the Kalman filter gain is
Kf(k)=Mx(k)CTMy(k)−1, | (14) |
whereas the state error covariance matrices are
P(k)=Mx(k)−Mx(k)CTMy(k)−1CMx(k), | (15) |
Mx(k+1)=AP(k)AT+GQωGT, | (16) |
and the output error covariance matrix is
My(k)=CMx(k)CT+Rη, | (17) |
with the initial condition Mx(0)=M0. The filtered state error covariance P(k), the predicted state error covariance Mx(k) and the output error covariance My(k) are positive definite matrices. The linearization of the dynamical system described by (11)–(12) will be done for the following Jacobian matrices:
A≈∇xfandC≈∇xh. |
Thus, it is noticed that (11) is the measurement update and (12) is the time update. These two equations are known as the Kalman filtering equations. This method is commonly known as the EKF approach (Bryson and Ho, 1975; Lewis et al., 2012).
Assume that the n-dimensional random state vector x has a mean ˉx and covariance Pxx. On this basis, a set of sigma points (Julier and Uhlmann, 1997) is denoted by
χ=(χ0,χi,χi+n), | (18) |
with the components
χ0=ˉx, | (19) |
χi=ˉx+(√(n+λ)Pxx)i, | (20) |
χi+n=ˉx−(√(n+λ)Pxx)i+n, | (21) |
for i=1,⋯,n, and the weights
W(m)0=λn+λ, | (22) |
W(c)0=λn+λ+(1−α2+β), | (23) |
W(m)i=W(c)i=12(n+λ), | (24) |
for i=1,⋯,2n. Here, (√(n+λ)Pxx)i is the ith column of the matrix square root (n+λ)Pxx, and Wi is the weight value, which satisfies the conditions
∑2ni=0W(c)i=1and∑2ni=0W(m)i=1. | (25) |
Here,
λ=α2(n+κ)−n | (26) |
is a scaling factor, where α determines the spread of the sigma points around ˉx and it is assigned a small positive value (10–3) in the range of 0<α⩽1, and κ is a secondary scaling factor, which is in the range of 0⩽κ⩽3 and is usually set to 0. Moreover, β is used to incorporate prior knowledge of the distribution of the state x with β⩾0 and β=2 is the optimal value for Gaussian distributions (Julier and Uhlmann, 2004).
Referencing (18), the sigma points are propagated through the nonlinear function h given in (13) to generate the transformed sigma points from
Υi=h(χi), | (27) |
for i=1,⋯,2n. By using a weighted sample mean and covariance of the transformed sigma points, the mean and covariance for the output variable y are approximated from
ˉy=∑2ni=0W(m)iΥi, | (28) |
Pyy=∑2ni=0W(c)i(Υi−ˉy)(Υi−ˉy)T+Rη, | (29) |
where Rη is the output noise covariance.
Notice that the unscented transformation described by (28) and (29) are more accurate than the linearization method for propagating means and covariances of the nonlinear functions (Wan and van der Merwe, 2000; Julier and Uhlmann, 2004).
Consider the initial value of the predicted mean and covariance of the state given by
ˉx0=E[x0], | (30) |
P0=E[(x0−ˉx0)(x0−ˉx0)T]; | (31) |
the sigma points using the a priori mean and covariance of the state are provided by
χ(k)=[ˉx(k)ˉx(k)+γ√P(k)ˉx(k)−γ√P(k)], | (32) |
where γ=√n+λ, as stated in (21) for k=0,1,⋯,N−1. Therefore, in the time-update procedure, the state of the transformed sigma points is predicted from
χ(k+1)=f(χ(k))+Bu(k), | (33) |
with the estimated state mean for
ˆx−(k)=2n∑i=0W(m)iχi(k), | (34) |
and the estimated state error covariance
P−(k)=∑2ni=0W(c)i(χi(k)−ˆx−(k))(χi(k)−ˆx−(k))T+Qω, | (35) |
where Qω is the process noise covariance (Wan and van der Merwe, 2000).
On the other hand, in the measurement update procedure, the output of the transformed sigma points is measured by
Υ(k)=h(χ(k)), | (36) |
with the estimated observation
ˆy−(k)=2n∑i=0W(m)iΥi(k), | (37) |
and the observation error covariance
Pyy(k)=∑2ni=0W(c)i(Υi(k)−ˆy−(k))(Υi(k)−ˆy−(k))T+Rη. | (38) |
The predicted state mean is updated by
ˆx(k)=ˆx−(k)+Kf(k)(y(k)−ˆy−(k)), | (39) |
with the updated state error covariance
P(k)=P−(k)−Kf(k)Pyy(k)Kf(k)T, | (40) |
where
Kf(k)=Pxy(k)Pyy(k)−1, | (41) |
Pxy(k)=∑2ni=0W(c)i(χi(k)−ˆx−(k))(Υi(k)−ˆy−(k))T. | (42) |
Here, Rη is the observation noise covariance, Kf(k) is the Kalman filter gain and Pxy(k) is the cross-correlation matrix. This method is known as the UKF approach (Julier and Uhlmann, 1997; Wan and van der Merwe, 2000; Julier and Uhlmann, 2004).
For measurement purposes, the cost function given by (8) is written in its expectation form:
J(u)=φ(ˉx(N))+N−1∑k=0L(ˉx(k),u(k)). | (43) |
We define the Hamiltonian function as follows (Bryson and Ho, 1975; Kirk, 2004):
H(k)=L(ˉx(k),u(k))+p(k+1)T(f(ˆx(k))+Bu(k)), | (44) |
where p(k) is a 3 1 co-state vector to be determined later. The augmented cost function is written as
J′(u)=φ(ˉx(N))+p(0)Tˉx(0)−p(N)Tˉx(N)+N−1∑k=0(H(k)−p(k)Tˉx(k)). | (45) |
According to the Lagrange multiplier theory, at a constrained minimum, the increment dJ' should be zero (Lewis et al., 2012). Hence, the following necessary conditions are derived:
Stationary condition
∇uL(ˉx(k),u(k))+BTp(k+1)=0; | (46) |
(a) State equation
ˉx(k+1)=f(ˆx(k))+Bu(k); | (47) |
(b) Co-state equation
p(k)=∇xL(ˉx(k),u(k))+∇xf(ˆx(k))Tp(k+1); | (48) |
(c) Boundary conditions
ˉx(0)=ˉx0 and p(N)=∇x(N)φ(ˉx(N)). | (49) |
Assume that the cost function (43) can be approximated into its quadratic criterion, that is,
φ(ˉx(N))≈12ˉx(N)TS(N)ˉx(N), | (50) |
L(ˉx(k),u(k))≈12(ˉx(k)TQˉx(k)+u(k)TRu(k)), | (51) |
where S(N), Q and R are the weighting matrices. Hence, the optimality conditions (46) and (48) are simplified (Lewis et al., 2012; Teo et al., 2021) as follows:
Ru(k)+BTp(k+1)=0, | (52) |
p(k)=Qˉx(k)+ATp(k+1); | (53) |
the Jacobian matrix is A≈∇xf and the boundary value of the co-state is
p(N)=S(N)ˉx(N). | (54) |
Suppose the co-state equation has the following solution:
p(k)=S(k)ˉx(k), | (55) |
and consider this solution with the optimality conditions (52) and (53). After doing some algebraic manipulations, the linear feedback control law is designed as follows:
u(k)=−K(k)ˉx(k), | (56) |
with
K(k)=(BTS(k+1)B+R)−1BTS(k+1)A, | (57) |
S(k)=Q+ATS(k+1)(A−BK(k)), | (58) |
where S(N)=SN given. Here, K(k) is the Kalman feedback gain and S(k) is the solution of the Riccati equation (Bryson and Ho, 1975; Kirk, 2004; Lewis et al., 2012; Teo et al., 2021).
From the discussion above, the calculation procedure for estimating the state dynamics and designing the optimal control law is summarized as the computational algorithm given below. The first algorithm is named as the EKFSC algorithm and the second algorithm is known as the UKFSC algorithm.
Data Given f, h, φ, L, A, B, C, G, N, Q, R, S(N), M0, Qω, Rη, ˉx0, y.
Step 1 Calculate the state and output error covariance matrices P(k),Mx(k) and My(k) using (15), (16) and (17), respectively.
Step 2 Calculate the filter gain Kf(k),feedback gain K(k) and Riccati solution S(k) using (14), (57) and (58), respectively.
Step 3 Compute the state and output estimates ˆx(k),ˉx(k) and ˉy(k) using (11), (12) and (13), respectively.
Step 4 Evaluate the weighted least square error Jlse using (10).
Step 5 Compute the feedback control law u(k) using (56).
Step 6 Update the state equation forward in time by using (47) to obtain the state solution ˉx(k); solve the co-state equation backward in time by using (53) to obtain the co-state solution p(k).
Step 7 Evaluate the cost function J using (43).
Remarks
(a) In Step 1 and Step 2, the off-line calculations are performed to store the values of matrices.
(b) In Step 3, the state estimation is performed using the EKF approach.
(c) In Step 5, the linear feedback control law is designed.
(d) In Step 6, a two-point boundary-value problem is solved to give the state and co-state solutions.
Data Given f, h, φ, L, A, B, C, G, N, Q, R, S(N), P0, Qω, Rη, ˉx0, y.
Step 1 Calculate the feedback gain K(k) and the Riccati solution S(k) using (57) and (58), respectively.
Step 2 Prepare the sigma points χ(k) defined in (32) by using the a priori state mean ˉx(k) and state error covariance P(k). After that, calculate the predicted state of the transformed sigma points χ(k+1) using (33), as well as its mean ˆx−(k) and covariance P−(k) using (34) and (35), respectively.
Step 3 Compute the output measurement Υ(k) using (36), as well as its mean observation ˆy−(k) and the observation error covariance Pyy(k) using (37) and (38), respectively. After that, calculate the cross-correlation matrix Pxy(k) using (42) and the Kalman filter gain Kf(k) using (41).
Step 4 Update the state estimate ˆx(k) using (39) and the state error covariance P(k) using (40).
Step 5 Update the state mean ˉx(k) forward in time using (47); solve the co-state equation backward in time by using (53) to obtain the co-state solution p(k).
Step 6 Compute the feedback control law u(k) using (56).
Step 7 Evaluate the cost function J using (43).
Remarks
(a) Step 1 is called the off-line calculation step, where the feedback gain K(k) and the Riccati solution S(k) are stored to design the feedback control law.
(b) In Steps 2 and 3, the unscented transform is performed to generate a set of sigma points χ(k) and Υ(k). In Step 4, the correction step is performed, where the output estimate is measured and the state estimate is updated. These steps comprise the state estimation procedure.
(c) From Steps 5 to 7, the two-point boundary-value problem is solved in order to obtain the solution of the state mean and the co-state, and the feedback control law is designed. These steps comprise the system optimization procedure.
Consider the following parameters for the dynamic model (1) to be chaotic (Sukono et al., 2020): a=10,b=28andc=8/3, where the initial conditions are x1(0)=2.5,x2(0)=0.5andx3(0)=4. For the simulation work, we define the following coefficient matrices:
A=(0.900.090.000.280.990.000.000.000.97),B=(0.010.000.000.000.010.000.000.000.01),C=(100),G=I3×3, |
and the sampling time is set to τ=0.01 seconds. Also, the weighting matrices in the cost function are SN=100I3×3,Q=diag(0.01,1.00,1.00) and R=diag(0.01,0.001,0.01) for k=0,1,⋯,60, where the notation diag represents the diagonal matrix. Assume the Gaussian white noise sequences have the respective covariance given by Qω=0.001I3×3 and Rη=0.01, while the initial state error covariance is M0=0.2I3×3. So, the quadratic criterion cost function and the SSE were employed to measure the performances of the system and the algorithm proposed, respectively.
Table 1 shows the simulation results for Problem (P) that were obtained by using the EKFSC and UKFSC algorithms. The optimal cost of 81.5 units, which was provided by using the UKFSC algorithm, was 0.88% less than the optimal cost given by the EKFSC algorithm. This optimal cost indicates the quadratic criterion performance of the financial risk system under the conditions of optimal trajectories of states given by the occurrence value risk, analysis value risk and control value risk in the current market. It also shows that the controller in the UKFSC algorithm is efficient. On the other hand, the estimation performance of the UKFSC algorithm, which was revealed by the SSE, was 99% more accurate than the EKFSC algorithm when estimating the real output response.
Approach | Optimal Cost | SSE | MSE |
EKFSC | 82.247101 | 1.699326×10–1 | 2.832211×10–3 |
UKFSC | 81.517660 | 1.002719×10–3 | 1.671199×10–5 |
Figures 1 and 2 show the output trajectories for the respective algorithms. The red line represents the output estimate trajectory, and the blue line with asterisk symbols (*) denotes the real output trajectory. The output reduces to about zero from 2.5 in one unit of time; then, it fluctuates around zero for a period of one to six units of time. The output trajectories given by the algorithms proposed were well matched to the real output trajectory. Notice that the output trajectory from the UKFSC algorithm was more accurate than the output trajectory from the EKFSC algorithm. Thus, the occurrence value risk can be estimated when a financial investment decision is needed.
Figures 3 and 4 show the state trajectories derived from the state estimation process by using the algorithms proposed. The red line represents the state estimate trajectories, while the blue line with asterisk symbols (*) represents the real state trajectories. Both algorithms provided similar state estimate trajectories, which matched the real state trajectories closely. The occurrence value risk dropped the value from 2.5 and toward zero after one unit of time, while the analysis value risk reduced dramatically to −0.4 and then started to increase slowly to zero. The control value risk in the current market also decreased gradually from four units to zero over the period of six units of time. Hence, the occurrence value risk, analysis value risk and control value risk were mitigated and under control.
By applying the algorithms proposed, the control trajectories, which regulate the state trajectories efficiently, were obtained as shown in Figures 5 and 6. The control law for the occurrence value risk fluctuated slightly and the control effort increased from a negative value to zero, while the control effort for the analysis value risk was extremely important to stabilize the risk. In addition, the control value risk was smoothly regulated, and the control effort was the lowest in value compared to the control efforts for the first and second state variables. This characteristic shows that the controller in the algorithms proposed is practical.
Obviously, the financial risk system must be under control to give the optimal solution. This optimal solution satisfied the stationary conditions, as shown in Figures 7 and 8, which were respectively obtained by using the EKFSC and UKFSC algorithms. The curve of the stationary conditions fluctuated since random noises were introduced to the system. Nonetheless, the gradient satisfied the stopping rule within a small tolerance during the computational process.
The application of the EKF and UKF techniques to solve the stochastic optimal control problem of the financial risk system has been discussed in this paper. In the presence of random disturbances, the financial risk system, which exhibits chaotic behavior, becomes very difficult to control. The system was initially linearized by using the EKFSC algorithm, while, through the unscented transform, the distributions of state variables and observed variables were approximated with a normal distribution by using the UKFSC algorithm. Then, state estimation was carried out by using the EKFSC and UKFSC algorithms. With these state estimates, the state feedback control law was designed to determine the optimal solution for the system. Given the parameter values that cause the financial risk system to be chaotic, the simulation results showed that the system was under control within the allotted time interval, where the risks were mitigated. The performance of the UKFSC algorithm was proven to be better than the EKFSC algorithm since the SSE of the UKFSC was smaller than the SSE of the EKFSC algorithm. In conclusion, the efficiency of both filtering algorithms used to solve the nonlinear stochastic optimal control problem of the financial risk system has been validated. Regarding the future research direction, efficient computational methods should be applied to handle financial risk problems, either by minimizing the financial risk or predicting the financial risk, when making a financial investment decision.
This research was supported by the Ministry of Higher Education (MHOE) Malaysia through the Fundamental Research Grant Scheme (FRGS/1/2018/STG06/UTHM/02/5) and Universiti Tun Hussein Onn Malaysia (UTHM) through Tier 1 (vot Q121).
All authors declare no conflict of interest regarding this study.
[1] |
Ahmadi F, Aghababa MP, Kalbkhani H (2022) Identification of chaos in financial time series to forecast nonperforming loan. Math Probl Eng 2055655. https://doi.org/10.1155/2022/2055655 doi: 10.1155/2022/2055655
![]() |
[2] | Bryson A, Ho YC (1975) Applied Optimal Control: Optimization, Estimation, and Control. Abingdon: Taylor and Francis. |
[3] | Burlando AJ (1994) Chaos and risk management. Risk Manage 41: 54. |
[4] |
Fatma KJ, Sami M (2011) The trade-off between liberalization policy and financial crisis dynamics. Asian Soc Sci 7: 71–87. https://doi.org/10.5539/ass.v7n3p71 doi: 10.5539/ass.v7n3p71
![]() |
[5] |
Gao W, Yan L, Saeedi M, et al. (2018) Ultimate bound estimation set and chaos synchronization for a financial risk system. Math Comput Simul 154: 19–33. https://doi.org/10.1016/j.matcom.2018.06.006 doi: 10.1016/j.matcom.2018.06.006
![]() |
[6] |
Guillen G, Bagajewicz M, Sequeira SE, et al. (2005) Management of pricing policies and financial risk as a key element for short term scheduling optimization. Ind Eng Chem Res 44: 557–575. https://doi.org/10.1021/ie049423q doi: 10.1021/ie049423q
![]() |
[7] |
Haugh MB, Lacedelli OR (2020) Scenario analysis for derivative portfolios via dynamic factor models. Quant Financ 20: 547–571. https://doi.org/10.1080/14697688.2019.1698757 doi: 10.1080/14697688.2019.1698757
![]() |
[8] | Julier SJ, Uhlmann JK (1997) New extension of the Kalman filter to nonlinear systems. Signal processing, sensor fusion, and target recognition VI, International Society for Optics and Photonics, 3068: 182–193. https://doi.org/10.1117/12.280797 |
[9] |
Julier SJ, Uhlmann JK (2004) Unscented filtering and nonlinear estimation. P IEEE 92: 401–422. https://doi.org/10.1109/JPROC.2003.823141 doi: 10.1109/JPROC.2003.823141
![]() |
[10] |
Kim YS, Giacometti R, Rachev ST, et al. (2012) Measuring financial risk and portfolio optimization with a non-Gaussian multivariate model. Ann Oper Res 201: 325–343. https://doi.org/10.1007/s10479-012-1229-8 doi: 10.1007/s10479-012-1229-8
![]() |
[11] | Kirk DE (2004) Optimal Control Theory: An Introduction. Courier Corporation. Mineola, New York: Dover Publications. |
[12] | Lewis FL, Vrabie V, Symos VL (2012) Optimal Control, 3rd Ed., New York: John Wiley and Sons, Inc. |
[13] |
Li Z, Tao K, Xia Q, et al. (2021) Finite-time impulsive control of financial risk dynamic system with chaotic characteristics. Complexity 2021: 1–8. https://doi.org/10.1155/2021/5207154 doi: 10.1155/2021/5207154
![]() |
[14] | Pfaff B (2016) Financial risk modelling and portfolio optimization with R. John Wiley & Sons. |
[15] |
Sambas A, He S, Liu H, et al. (2020) Dynamical analysis and adaptive fuzzy control for the fractional-order financial risk chaotic system. Adv Differ Equ 2020: 1–12. https://doi.org/10.1186/s13662-020-03131-9 doi: 10.1186/s13662-019-2438-0
![]() |
[16] | Teo KL, Li B, Yu C, et al. (2021) Applied and Computational Optimal Control: A Control Parametrization Approach, 1st Ed. Springer: Springer Optimization and Its Applications. |
[17] | Wan EA, Van Der Merwe R (2000) The unscented Kalman filter for nonlinear estimation. Proceedings of the IEEE 2000 Adaptive Systems for Signal Processing, Communications, and Control Symposium IEEE: 153–158. https://doi.org/10.1109/ASSPCC.2000.882463 |
[18] |
Yin X, Ming H, Bao X (2022) A risk decision-making model based on Kalman filter for intellectual property pledge financing. Comput Intell Neurosci 2022: 8025455. https://doi.org/10.1155/2022/8025455 doi: 10.1155/2022/8025455
![]() |
[19] |
Zhang XD, Liu XD, Zheng Y, et al. (2013). Chaotic dynamic behavior analysis and control for a financial risk system. Chinese Phys B 22: 030509. https://doi.org/10.1088/1674-1056/22/3/030509 doi: 10.1088/1674-1056/22/3/030509
![]() |
[20] |
Zhuang Q, Chen L (2014) Dynamic prediction of financial distress based on Kalman filtering. Discrete Dyn Nat Soc 2014: 370280. https://doi.org/10.1155/2014/370280 doi: 10.1155/2014/370280
![]() |
1. | Muhamad Deni Johansyah, Aceng Sambas, Song Zheng, Khaled Benkouider, Sundarapandian Vaidyanathan, Mohamad Afendee Mohamed, Mustafa Mamat, A novel financial system with one stable and two unstable equilibrium points: Dynamics, coexisting attractors, complexity analysis and synchronization using integral sliding mode control, 2023, 177, 09600779, 114283, 10.1016/j.chaos.2023.114283 |
Approach | Optimal Cost | SSE | MSE |
EKFSC | 82.247101 | 1.699326×10–1 | 2.832211×10–3 |
UKFSC | 81.517660 | 1.002719×10–3 | 1.671199×10–5 |