MATLAB-Based Policy Simulator

Similar documents
Global Specification Protocol for Organisations Certifying to an ISO Standard related to Market, Opinion and Social Research.

LOUGHBOROUGH UNIVERSITY RESEARCH OFFICE STANDARD OPERATING PROCEDURE. Loughborough University (LU) Research Office SOP 1027 LU

Minsoo Ryu. College of Information and Communications Hanyang University.

5/9/2014. Recall the design process. Lecture 1. Establishing the overall structureof a software system. Topics covered

European Commission. Immigration Portal Development Case. Date: 08/06/2007 Version: 1.0 Authors: Revised by: Approved by: Public: Reference Number:

IT Governance ISO/IEC 27001:2013 ISMS Implementation. Service description. Protect Comply Thrive

Turning Risk into Advantage

ISO/ IEC (ITSM) Certification Roadmap

Up and Running Software The Development Process

Cambridge TECHNICALS LEVEL 3

Creating an Intranet using Lotus Web Content Management. Part 2 Project Planning

Data ownership within governance: getting it right

Policy. Business Resilience MB2010.P.119

SharePoint 2016 Site Collections and Site Owner Administration

MSc Computing and Technology (Part-Time)

EXIN BCS SIAM Foundation. Sample Exam. Edition

PRISM-FHF The Fred Hollows Foundation

Info Paper ISO for Financial Institutions

9 March Assessment Policy for Qualifications and Part Qualifications on the Occupational Qualifications Sub-Framework (OQSF)

WAKEFLY WEBSITE USER EXPERIENCE AUDIT

Nick Rozanski Andy Longshaw Eoin Woods. Sold! How to Describe, Explain and Justify your Architecture

Conceptual Data Modeling by David Haertzen

The DPM metamodel detail

New Programming Paradigms

needs, wants, and limitations

Software Design COSC 4353/6353 D R. R A J S I N G H

Strategy & Planning: Data Governance & Data Quality

3Lesson 3: Web Project Management Fundamentals Objectives

Architectural Design

SharePoint 2013 Power User

Quality Assurance and IT Risk Management

CHAPTER 9 DESIGN ENGINEERING. Overview

Data Stewardship Core by Maria C Villar and Dave Wells

Integration With the Business Modeler

Microsoft SharePoint Server 2013 Plan, Configure & Manage

The Open Group SOA Ontology Technical Standard. Clive Hatton

Semantic Analysis. Outline. The role of semantic analysis in a compiler. Scope. Types. Where we are. The Compiler Front-End

Enterprise Architect. User Guide Series. Maintenance. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

Saving Time Amanda McPherson, CCBIA Vice President/Internal Audit Manager Colorado East Bank & Trust

The IDN Variant TLD Program: Updated Program Plan 23 August 2012

Briefing Paper: developing the DOI Namespace

Contemporary Design. Traditional Hardware Design. Traditional Hardware Design. HDL Based Hardware Design User Inputs. Requirements.

Software Reuse and Component-Based Software Engineering

What s New in Ideagen Pentana 4.2

Big data privacy in Australia

CSCU9T4: Managing Information

CS SOFTWARE ENGINEERING QUESTION BANK SIXTEEN MARKS

BPS Suite and the OCEG Capability Model. Mapping the OCEG Capability Model to the BPS Suite s product capability.

ENTITIES IN THE OBJECT-ORIENTED DESIGN PROCESS MODEL

PRISM - FHF The Fred Hollows Foundation

Darshan Institute of Engineering & Technology for Diploma Studies Rajkot Unit-1

REENGINEERING SYSTEM

CSCD01 Engineering Large Software Systems. Design Patterns. Joe Bettridge. Winter With thanks to Anya Tafliovich

Software Development Methodologies

Software Architecture

Systems Analysis and Design in a Changing World, Fourth Edition

Chapter 6 Architectural Design. Chapter 6 Architectural design

Adopting Modern Practices for Improved Cloud Security. Cox Automotive - Enterprise Risk & Security

UCT Application Development Lifecycle. UCT Business Applications

The Value of Force.com as a GRC Platform

The NEW Power System: challenges and solutions. 1 st October 2018 Duncan Botting IEA DSM

THE ESSENCE OF DATA GOVERNANCE ARTICLE

Green Star Volume Certification. Process Guide

History of object-oriented approaches

Prototyping is the Short hand of Design Tom Kelly Prototyping. Prototyping is the short hand of Design Tom Kelly IDEO

Global Statement of Business Continuity

Data Quality in the MDM Ecosystem

Lecture 16: (Architecture IV)

Programme Regulations

Programmazione. Prof. Marco Bertini

Achieving effective risk management and continuous compliance with Deloitte and SAP

- OQSF - Occupational Qualifications Sub-framework

SOFTWARE ENGINEERING DECEMBER. Q2a. What are the key challenges being faced by software engineering?

European Conference on Quality and Methodology in Official Statistics (Q2008), 8-11, July, 2008, Rome - Italy

Employee self-service guide

Enterprise Architect. User Guide Series. Domain Models

*ANSWERS * **********************************

Improved Database Development using SQL Compare

Project Management Professional (PMP) Exam Preparation elearning Course

Chapter 6 Architectural Design. Lecture 1. Chapter 6 Architectural design

ISO/IEC JTC 1 N 13145

Lecture 1. Chapter 6 Architectural design

Fundamentals to Creating Architectures using ISO/IEC/IEEE Standards

Enterprise Architect. User Guide Series. Maintenance

The role of semantic analysis in a compiler

Innovations in collaborative modelling and simulation to deliver the Behavioural Digital Aircraft : A summary of results from the CRESCENDO project

Architectural Design

Your digital thought partners. CASE STUDY Thomson Reuters. Agile development LAUNCH PORTAL

JISC PALS2 PROJECT: ONIX FOR LICENSING TERMS PHASE 2 (OLT2)

Unofficial Comment Form Project Modifications to CIP Standards Virtualization in the CIP Environment

Aon Service Corporation Law Global Privacy Office. Aon Client Data Privacy Summary

Building YOUR Privacy Program: One Size Does Not Fit All. IBM Security Services

COLUMN. Designing an intranet s policy section. Accurate, usable policies enhance trust in the intranet JUNE Finding.

Navigating the Clouds Fortifying ITIL for Cloud Governance

United States Government Cloud Standards Perspectives

Agenda. Why choose our specification The GCSE reforms Changes to all GCSEs in Business Our new GCSE (9-1) qualification

Cyber Security. It s not just about technology. May 2017

Multi-models: New potentials for the combined use of planning and controlling information

NEWCASTLE CLINICAL TRIALS UNIT STANDARD OPERATING PROCEDURES

Semantic Analysis. Outline. The role of semantic analysis in a compiler. Scope. Types. Where we are. The Compiler so far

Transcription:

DRAFT MATLAB-Based Policy Simulator Regulatory & Risk Analytics (RRA) Prepared by Seth Aslin Date: October 2013

Presentation Outline Background and context to Project Navigator General project objectives Project scope Overall approach (and rationale) MATLAB-based policy simulator Lessons learned (so far!) 2

Background / Context 2012 saw HSBC initiate a period of strategic consolidation from a commercial, operational and technical perspective For the global risk function, Regulatory Risk and Analytics, this has meant: a stronger focus at the centre of the organisation in London, coordinating risk-related projects in multiple countries and within multiple regulatory jurisdictions Increasing the level of standardisation across risk methodologies, technologies, governance formats and data models WCMR / RRA has an objective to improve the consistency of the global rating system and has embarked on a programme of system-wide change to achieve this consistency Several separate projects contribute to the Consistency Programme Project Navigator is one such initiative Project Navigator is focused on improving rating assignment the process of selecting the appropriate path for a rating to take through the various models and rating modifiers that comprise the overall rating system 3

Tactical Heat Map for Project Navigator RRA ENTERPRISE ARCHITECTURE (Wholesale Credit) Credit Approval Workflow Engine RATING PLATFORM Systemic Risk Measurement Stress Testing DATA Development Obligor Data + Capture Relationship Management Rating Process Model Selection Process Model Landscape Model Engine PD Models LGD Models Calibration Engine CAL Solution HSBC MRS Parental Support Framework Sovereign Ceiling Validation CRR / PD Outputs Legal and Risk Hierarchies EAD Models Rating Phil. Sovereign Support Rating Meta-Data Credit Approval Processes Entity Identifiers Monitoring / Model Management Override Process Account Data Model Policies and Standards and Governance Processes Data Policy Credit Policy / FIM Development Planning and Management Validation Planning / Mgt Data Models Credit Risk Strategy Development Process Calibration Process Validation Process Rating Process Design Development Resources Calibration Resources 4 Validation Resources

Project Objectives The project s high level objectives are: (1) To formalise and improve the logic used in determining a given wholesale rating s assignment strategy, including the effects of any rating modifiers, towards the final rating; (2) To automate this logic via algorithms embedded in the banks primary rating systems 5

Project Scope The following aspects of the rating system are in scope: 1. Rating assignment strategy the overall strategy that determined the basis for a rating, including any models, modifiers, etc used in the determination of the rating 2. Rating Model Selection the process of objectively selecting a model to rate an obligor based on (1) the borrower s attributes and (2) the collective scope set of the current PD models 3. Parental Support Framework (the PSF ) the replacement of a stand-alone rating with a parent s rating (or notched derivation) 4. Sovereign Ceilings the application of a ceiling to obligor ratings due to (principally) transfer and convertibility risk ( T&C risk) 5. Risk Hierarchies/Networks recognising the effects of control, and economic interdependency, through networks of relationships 6. Rating event audit trails implementing an information rich body of meta-data that captures and accurately reflects all of the attributes, decisions and thresholds that led to the final rating 6

Overall Project Approach Solve all related problems within the same cycle (= anything to do with rating assignment ) Form a cross-functional team from Credit Strategy, Policy, Analytics, Technology Project attributes: High complexity (especially in the interaction between components) Unknown levels of regionally-based variation in requirements and regulatory constraints Rapid changes anticipated throughout project Aggressive timelines set by senior management Our conclusion: use a simulator a policy simulator in a rapid prototyping mode A simulator implies coding but what sort of code exactly? In what language? With what structure? Developed in what environment? 7

Further Considerations Points to consider: 1. modular-but-interrelated nature of the core problems 2. unknown location of final solution(s) 3. the requirement to conceive, implement and test certain algorithms 4. a need to somehow process a large number of policy ideas (rating scenarios) 5. the need to visualise results quickly and easily 6. the need for several people to work on the problem simultaneously, passing fragments of code around and then integrating them into the simulator 7. plus a maintainability burden due to high levels of changes within the project all implied that (1) an object-oriented approach in (2) an interpreted environment would be ideal MATLAB in its object-oriented mode is almost perfectly designed for this sort of work 8

De-romanticising the Development Process Traditional (idealised) development cycle: and what can happen in practice: 1. Business problem identified 2. High level solutions generated 3. Formal requirements elicited 4. Functional specification drafted 5. Development 6. Internal testing 7. User Acceptance Testing (UAT) 8. Release to production 1. Identify business problem 2. High level solutions generated 3. Formal requirements elicited 4. Functional specification drafted 5. Development 6. logical problems in business concept uncovered 7. minor/major revisions to key concepts 8.... re-commencement of development 9. Internal testing 10. User Acceptance Testing (UAT) 11. further concept revisions arising from UAT 12. remedial development work 13. additional (hopefully final) round of UAT 14. Release to production 15. bugs identified from the live environment 16. remedial programming 17. re-release 9

High-Level Structure of Problem Solving Process Identify issues (central themes, specific problems, etc) Frame issues as rating scenarios requiring a formal resolution Examine and set the HSBC house view on key issues Define the solution for each rating scenario (potentially involving a wider group of stakeholders) Convert rating scenarios into benchmark test cases and/or map them on to actual cases Generate an array of additional test cases to probe solution boundaries Code the solutions into the simulator (directly altering modules to reflect solutions, policies, etc) Run the test cases through the simulator, collate Review strategies and solutions 10

Central Work Cycle Project Scope Key Scenarios Issues List Test Cases Candidate Solutions Classes Active Components (Objects): 1. Obligor object 2. Model landscape object (collective scope set) 3. Rating model selection (RMS) 4. Parental Support Framework (PSF) 5. Sovereign Ceiling (SC) 6. Effective Risk Hierarchy / Network (ERH) object Simulator Results Conclusions Selected Solutions Key Results (per case): 1. CRRs 2. Rating path 3. Intermediate states Resolved Scenarios High-Level Requirements Functional Specification Policy Changes 11

Class Library Overview Obligor Database Models Database Data Staging (Obligor) Session Interface Data Staging (Operational Parameters) Model Collection Rating Instance / Obligor Rating Controller Individual HSBC Model object Effective Risk Hierarchy Test Pattern Array Rating Model Selection PSF Sovereign Ceiling Rating Event Rating Events Database Rating Resolution Engine 12

Visual Scenario Template Corporate parent HSBC Office (2) external Model used to rate parent Sovereign CRR CRR FCY H T&C Risk Country border Borrower 100% FCY HSBC Office (1) in-country Model used to rate borrower CRR LCY H 13

Test case 001 (example only) 14

Navigator Class Library Relatively large number of classes given the number of sub-problems involved High levels encapsulation of every functional aspect of the Navigator project Namespaces (packages) and class folders used to organise code Methods written to keep the public interface as clean / standard / logical as possible Delegation principle followed to keep the classes as loosely coupled as possible Collections of objects used for managing the rating model selection problem Classes become natural locations or hooks for key algorithms (e.g. classification, matching, etc) Composition based relationships fairly common (very little inheritance at this stage) Boundary elements (classes) are mock objects for future interfaces, and points of integration 15

Next Stages The base library has been developed for all sub-problems plus a foundational structure for running test cases In the next phase, we begin running policy test cases, refining the code, mocking up interfaces to simulate the key user cases Now that more of the geographically-specific requirements are known, the class library will also undergo a metamorphosis that accommodates these regional variations To avoid creating a mess of rigid code, we will now start using design patterns more liberally across the simulator design We will be using the Strategy pattern to give certain modules the flexibility they need to choose a bespoke set of parameters, constraints or algorithms based on the attributes of the Obligor object We will simplify our control of the overall application using the Observer pattern to coordinate the interaction between classes This last step will allow us to keep all of the modules loosely coupled a desirable quality given that the final set of solutions will probably be distributed across All of the design patterns we have encountered so far (mainly from JAVA texts, but also Python and Ruby texts) seem to translate relatively easily in to MATLAB 16

Lessons Learned MATLAB is a brilliant prototyping environment especially for non-programmers! Scripting is seductive but the discipline of classes/objects is worth the effort Class libraries are time-consuming to create in the first place but the modular structure has already shown benefits MATLAB s object-oriented syntax is clean, simple and easy to understand We have found pure test driven development (TDD) to be a challenging approach to maintain in the face of (very) high ambiguity and (rapidly) changing requirements We prefer a sort of loose, informal prototyping that proceeds from idea scripts & functions script-facilitated classes classes wrapped in a GUI-managed session (a quasi-app) We ve learned through experience to integrate as continuously as possible GUIs are extremely simple to code in MATLAB we recommend building GUIs for any repetitive task (and make the decision early to build them) Important to position the prototype correctly in people s minds 17