Tải bản đầy đủ (.pdf) (350 trang)

Bookflare net SAS for finance

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (12.07 MB, 350 trang )


SAS for Finance

Forecasting and data analysis techniques with real-world examples to build powerful financial
models


Harish Gulati

BIRMINGHAM - MUMBAI



SAS for Finance
Copyright © 2018 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or
alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Amey Varangaonkar
Acquisition Editor: Divya Poojari
Content Development Editor: Amrita Noronha
Technical Editor: Nilesh Sawakhande
Copy Editor: Safis Editing
Project Coordinator: Shweta H Birwatkar
Proofreader: Safis Editing
Indexer: Aishwarya Gangawane
Graphics: Jisha Chirayil


Production Coordinator: Shantanu Zagade
First published: M ay 2018
Production reference: 1250518
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78862-456-5
www.packtpub.com


mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as
industry leading tools to help you plan your personal development and advance your career. For more
information, please visit our website.


Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over
4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content


PacktPub.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files

available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you
are entitled to a discount on the eBook copy. Get in touch with us at for more
details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free
newsletters, and receive exclusive discounts and offers on Packt books and eBooks.


Contributors


About the author
Harish Gulati is a consultant, analyst, modeler, and trainer based in London. He has 15 years'
financial, consulting, and project management experience with leading banks, management
consultancies, and media hubs. He enjoys demystifying his complex line of work in his spare time.
This has led to him being an author and orator at analytical forums. He has also co-authored Role of a
Data Analyst, published by the British Chartered Institute of IT (BCS). He has an MBA in
brand communications and a degree in psychology and statistics.


About the reviewer
Rashmi Gupta is an entrepreneur and consultant for established media and financial brands in the
field of marketing and digital analytics. She is currently the director of Agile Fintech Partners.
Artificial intelligence is a subject area that interests her, and she is currently building her expertise in
the area.


Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today.
We have worked with thousands of developers and tech professionals, just like you, to help them
share their insight with the global tech community. You can make a general application, apply for a

specific hot topic that we are recruiting an author for, or submit your own idea.


Table of Contents
Title Page
Copyright and Credits
SAS for Finance
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Disclaimer


1.

Time Series Modeling in the Financial Industry
Time series illustration

The importance of time series
Forecasting across industries
Characteristics of time series data
Seasonality
Trend
Outliers and rare events
Disruptions
Challenges in data
Influencer variables
Definition changes
Granularity required
Legacy issues
System differences
Source constraints
Vendor changes
Archiving policy
Good versus bad forecasts
Use of time series in the financial industry
Predicting stock prices and making portfolio decisions
Adhering to Basel norms
Demand planning
Inflation forecasting
Managing customer journeys and maintaining loyalty
Summary
References


2.

Forecasting Stock Prices and Portfolio Decisions using Time Series

Portfolio forecasting
A portfolio demands decisions
Forecasting process
Visualization of time series data
Business case study
Data collection and transformation
Model selection and fitting
Part A – Fit statistics
Part B - Diagnostic plots
Part C - Residual plots
Dealing with multicollinearity
Role of autocorrelation
Scoring based on PROC REG
ARIMA
Validation of models
Model implementation
Recap of key terms
Summary


3.

Credit Risk Management
Risk types
Basel norms
Credit risk key metrics
Exposure at default
Probability of default
Loss given default
Expected loss

Aspects of credit risk management
Basel and regulatory authority guidelines
Governance
Validation
Data
PD model build
Genmod procedure
Proc logistic
Proc Genmod probit
Summary


4.

Budget and Demand Forecasting
The need for the Markov model
Business problem
Markovian model approach
ARIMA model approach
Markov method for imputation
Summary


5.

Inflation Forecasting for Financial Planning
What is inflation?
Reasons for inflation
Inflation outcome and the Philips curve
Winners and losers

Business case for forecasting inflation
Data-gathering exercise
Modeling methodology
Multivariate regression model
Forward selection model
Backward selection
Maximize R
Univariate model
Summary


6.

Managing Customer Loyalty Using Time Series Data
Advantages of survival modeling
Key aspects of survival analysis
Data structure
Business problem
Data preparation and exploration
Non-parametric procedure analysis
Survival curve for groups
Survival curve and covariates
Parametric procedure analysis
Semi-parametric procedure analysis
Summary


7.

Transforming Time Series – Market Basket and Clustering

Market basket analysis
Segmentation and clustering
MBA business problem
Data preparation for MBA
Assumptions for MBA
Analysis of a set size of two
A segmentation business problem
Segmentation overview
Clustering methodologies
Segmentation suitability in the current scenario
Segmentation modeling
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think


Preface
SAS is the world's largest privately held software business that offers an integrated suite of software
solutions to manage data, produce reports, and build statistical models.


Who this book is for
The book introduces statistical models in the finance industry in a simplified manner. It has realworld examples supported by data and code that reproduces the models. The chapters explain the
relevance of the models to business problems, and the discussions about the diagnostics explains how
the models can be implemented. The book uses various graphical illustrations, rather than having a
focus on equations, to help the reader understand complex models. The book is designed to be a quick
introduction to various modeling techniques by explaining their key concepts.
The intended reader is someone aspiring to work in the financial industry, or one of the many
financial industry professionals who want to explore its various facets. The reader could also be a
student curious to know how theoretical knowledge is applied in the industry, or a finance

professional who wants to up-skill and move on to another role. The book's audience may also
include any individual who works as a data analyst, data scientist, data architect, data engineer,
analytics and insights professional, business analyst, or someone who integrates the outputs of models
in business strategy but isn't aware of how problems are solved.


What this book covers
, Time Series Modeling in the Financial Industry, introduces time series modeling, and
discusses its importance, the characteristics and challenges of data, and explains its use in the
financial industry. The chapter also discusses the way forecasting is used across industries and what
is meant by a good or bad forecast.
Chapter 1

, Forecasting Stock Prices and Portfolio Decisions using Time Series, discusses the
concept of portfolio forecasting and the decisions involved in managing portfolios. After exploring
the forecasting process and the visualization of time series data, the chapter discusses modeling
techniques and explains how to select the most suitable one based on real-world modeling examples.
Chapter 2

, Credit Risk Management, provides context regarding the highly regulated nature of the
industry. Basel norms and key terms such as PD, LGD, EAD, and EL are discussed. A PD model
build methodology is briefly discussed.
Chapter 3

, Budget and Demand Forecasting, helps create an understanding of the Markov model and
showcases how to build a model. The chapter goes on to compare the Markov model forecast with
ARIMA-generated forecasts. It also explains how Markov Chain Monte Carlo can be used for data
imputation.
Chapter 4


, Inflation Forecasting for Financial Planning, defines inflation, explores the reasons for
inflation, and discusses its outcomes using the theory of the Phillips curve. The chapter also shows
how to leverage various procedures for data quality checks. Univariate and multivariate modeling
techniques are used for forecasting and a comparison of the results.
Chapter 5

, Managing Customer Loyalty using Time Series Data, introduces survival modeling, data
preparation techniques, and various methodologies, including parametric and semi-parametric
methods. It does this in the context of solving a business problem related to customer loyalty.
Chapter 6

, Transforming Time Series – Market Basket and Clustering, provides multiple business
examples while discussing the background and methodology of these techniques.
Chapter 7


To get the most out of this book
Basic knowledge of undergraduate-level mathematics is necessary. However, no advanced
mathematical degree is required to decipher how the financial industry uses time series modeling to
solve problems. Functional knowledge of SAS is desirable but isn't mandatory.
SAS University Edition is free software that is used throughout the book. Download details can be
found at />

Download the example code files
You can download the example code files for this book from your account at www.packtpub.com. If you
purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files
emailed directly to you.
You can download the code files by following these steps:
1.
2.

3.
4.

Log in or register at www.packtpub.com.
Select the SUPPORT tab.
Click on Code Downloads & Errata.
Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest
version of:
WinRAR/7-Zip for Windows
Zipeg/iZip/UnRarX for Mac
7-Zip/PeaZip for Linux
The code bundle for the book is also hosted on GitHub at />e. In case there's an update to the code, it will be updated on the existing GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github
.com/PacktPublishing/. Check them out!


Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×