1 financial informatics –v: financial knowledge based systems 1 khurshid ahmad, professor of...

25
1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College, Dublin-2, IRELAND November 17 th , 2008.

Upload: natalia-newbrough

Post on 02-Apr-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

1

Financial Informatics –V:Financial Knowledge Based

Systems

1

Khurshid Ahmad, Professor of Computer Science,

Department of Computer Science

Trinity College,Dublin-2, IRELAND

November 17th, 2008.https://www.cs.tcd.ie/Khurshid.Ahmad/Teaching.html

Page 2: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

2

Knowledge Based Systems

A computer program which, with its associated data, embodies organised knowledge concerning some specific area of human activity. Such a system is expected to perform competently, skilfully and in a cost-effective manner; it may be thought of as a computer program which mimics the performance of a human expert.

Page 3: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

3

Frame-based Expert System:Financial Statement Analysis

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications 35 (2008) 1068–1079.

Financial statement analysis is critical for finance management; the analysis involves utilizes financial ratios and, in turn, is used for making investment decisions and financial control.

Values used in calculating financial ratios are taken from the balance sheet, income statement, cash flow statement and (rarely) statement of retained earnings.

The traditional approach to analyzing financial statements mainly relies on the complicated and laborious manual analysis and process in which financial consultants, accountants, and bankers are involved.

Page 4: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

4

Frame-based Expert System:

Financial Statement Analysis

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

A frame-based system for financial statement analysis has been proposed by Shiue et al (2007).

The authors claim that ‘decomposing and structuring of knowledge by financial analysis experts’ into a frame-based knowledge representation helps to encapsulate the knowledge experts as objects. ‘Inheritance between objects is generated and evolved in terms of the degree of knowledge abstraction and generalization.’ (Shiue et al 2007:1069).

Page 5: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

5

Frame-based Expert System:Engineering the knowledge of Financial Statement Analysis

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Page 6: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

6Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Frame-based Expert System:Heuristics for compiling financial

statements

When it comes to analysis of short-term liquidity, it can be considered to start by analyzing the current ratio. A good current ratio indicates that the current assets of the company can fully cover its current liabilities, therefore the short-term liquidity should also be good. However, it is by no means completely so. Even if the current ratio is not so good, the company still may not be facing an immediate financial crisis due to its good short-term payment ability, which represents the ability of generating enough cash inflow in time to cover cash outflow.

Page 7: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

7Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Frame-based Expert System:Heuristics for compiling financial

statements

In general, long-term solvency analysis begins by studying a firm’s financial structure. It is processed by evaluating stockholders’ equity to asset ratio because stockholders’ equity belong to the firm, not funds from outside, and will be retained in the firm no matter the economy is good or bad, i.e. the firm has no obligation to pay out. In other words, more stockholders’ equity means that the firm has more ability to stand against a bad economic situation and the financial risk is relatively lower for investors and creditors, thus the long-term solvency will be rated as good.

Page 8: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

8Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Frame-based Expert System:An ontology of financial statements

Shiue et al 2007:1071

Page 9: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

9

Frame-based Expert System:A frame-based representation of

liquidity

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Page 10: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

10

Frame-based Expert System:Rules for computing liquidity

(1) IF CURRENT RATIO is bad& NET OPERATING CYCLE is bad THEN short-term liquidity is rated as bad

(2) IF NET OPERATING CYCLE is bad & SALES GROWTH RATE is bad THEN short-term liquidity is rated as fair.

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Page 11: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

11

Frame-based Expert System:Rules for computing liquidity

13 basic financial ratios were rated as five qualitative categorizations following the qualitative criteria:

very bad, bad, fair, good, and very good. Then taking CR, NOC, and S for instance, the expert rated the 13 financial ratios from level 1 to level 5 according :

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Page 12: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

12

Frame-based Expert System:Rules for computing liquidity

O GoodX FairΔ Bad

Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Page 13: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

13Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Frame-based Expert System:

Systems Architecture

Page 14: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

14Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Frame-based Expert System:Evaluation

A total of 567 companies (quoted on the Taiwan Stock Exchange) were chosen from different industry sectors: cement, food , plastic, textiles, electricals, chemicals, glass, papermaking, steel, rubber, automobiles, electronics, construction, transportation, travel, department store and others. Financial sector was excluded.

Page 15: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

15Weissor Shiue, Sheng-Tun Li, Kuan-Ju Chen (2008). A frame knowledge system for managing financial decision knowledge. Expert Systems with Applications Vol 35 (2008) 1068–1079.

Frame-based Expert System:Evaluation

50% of the companies were selected at random and the data used to test the system and compared with experts’ opinion.

The KBS constructed based on the expert’s knowledge had a misclassification error of 13.4%, which stands for the inconsistency between the system and the expert’s knowledge.

Page 16: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

16Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

Case Based Systems:Credit Risk Assessment

Page 17: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

17Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

Case Based Systems:Credit Risk Assessment

The case based system does not require explicit coding of rules: each training example is rendered as a case frame and given an overall credit score. The system is then tested with unknown examples: if the systems fails to correctly identify the unknown case, then this case is included in the knowledge base of the system

Page 18: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

18

Case Based Systems:An Ontology for Credit Risk Assessment under Polish

Practice

Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

Page 19: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

19

Case Based Systems:Heuristics for Credit Risk Assessment under Polish

Practice

Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

Group Liabilities Repayment ForecastI None ExcellentII Sub-standard;

reserve/ write-down 20% of the loan

Expect delays of 1-3 months

III Questionable; reserve/ write-down 50% of the loan

Expect delays of 3-6 months

IV Poor; reserve/ write-down 100%

Expect delays of longer than 6 months; perhaps Bankrupt; In liquidation

Page 20: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

20

Case Based Systems:Refined heuristics for Credit Risk Assessment under Polish Practice

Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

Group Liabilities

I a Best borrowers

I b Good borrowers who will be moved to the ‘best’ list

I c Average borrowers with some risk

Page 21: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

21

Case Based Systems:Cases for Credit Risk Assessment under Polish

Practice

Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

The training set – large number of good risks

Class Number of case studiesTotal %

I-A 58 64.4

I-B 11 12.2

I-C 7 7.8

II 5 5.6

III 9 10TOTAL 90 100

Page 22: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

22

Case Based Systems:Evaluation

Jerzy Stefanowski; Szymon Wilk (2001). Evaluating business credit risk by means of approach-integrating decision rules and Casebased Learning. International Journal of Intelligent Systems in Accounting, Finance and Manag...Jun 2001; 10, 2; ABI/INFORM Global pg. 97

The testing results

Class Avg. # Rules  Accuracy 

  Min Max Min Max

IA 28 48 67 72

IB 42 111 73 71

II 19 479 77 71

III 58 144 78 80

Page 23: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

23

Case Based Systems:Automated Trading Systems

Kearns, Michael., and Luis Ortiz (2003). The Penn-Lehman Automated Trading Project. IEEE INTELLIGENT SYSTEMS. (NOVEMBER/DECEMBER 2003), pp 22-31

The Penn-Lehman Automated Trading Project is a broad investigation of algorithms and strategies for automated trading in financial markets. The PLAT Project’s centerpiece is the Penn Exchange Simulator (PXS), a software simulator for automated stock trading that merges automated client orders for shares with real-world, real-time order data. PXS automatically computes client profits and losses, volumes traded, simulator and external prices, and other quantities of interest.

Page 24: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

24

Case Based Systems:Automated Trading Systems

Kearns, Michael., and Luis Ortiz (2003). The Penn-Lehman Automated Trading Project. IEEE INTELLIGENT SYSTEMS. (NOVEMBER/DECEMBER 2003), pp 22-31

The PLAT project has demonstrated the strength of case-based reasoning systems in its ability to learn aspects of the microstructure of NASDAQ market transactions. Especially the dealing over its electronic cross-over network.

A case based system learns to compute the spread – difference between bid and ask prices- and makes appropriate buy/sell decisions.

Page 25: 1 Financial Informatics –V: Financial Knowledge Based Systems 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,

25

Case Based Systems:Automated Trading Systems

Kearns, Michael., and Luis Ortiz (2003). The Penn-Lehman Automated Trading Project. IEEE INTELLIGENT SYSTEMS. (NOVEMBER/DECEMBER 2003), pp 22-31

The case based system competed against system were mainly conventional algorithmic systems. The trial lasted over a good trading stretch and the case based system won!