Excel Modeling (Advanced) for Financial Engineering (Supplement to CFA FRM prep) course experience by Satyadhar Joshi
satyadhar_joshi@yahoo.com
Personally I think Excel is cliche, and too much mundane but one has to do what is to be done.
Below is a video about my course:
Introduction: This article talks about the Excel financial modeling I took and about the important topics and interesting areas in the training. I have put in daily analysis of what I learned and pointed out anything that requires a special effort.
Tough areas to model are: Monte carlo Simulations, derivative pricing models, interest rate options, currency derivatives.
Day 1 of Excel finance training:
- Basics of excel like relative and fixed referencing
- Areas for excel modeling that are tricky will involve FRA and portfolio
- Operating leverage and changes as Operating Leverage parameter changes, increasing and decreasing fixed and variable costs and looking at curves
- Solving Liner Equation with objective and constrain functions, these are the ones of linear programming
- Portfolio Construction and use of matrix in excel, there is 5 element matrix
Basic prerequisite for excel:
- For typing 1 to 10 first write ist no. then in 2nd row just add 1 in that cell nd then copy b2 then using shift n down then up to that level where u wanna to reach then do ctrl +v
- ctrl x to cut, ctrl v to paste it , use ctrl+shift+5 to make it in % terms
- ctrl page up and crl page down to go and come back to next sheet
- ctrl+space to select complt collumn , shift+space select row
- use' f5' to go any cell
- How to colour,undo and redo,f4 to lock
- Absolute vs. relative references
- 'IF' loop, NPV , IRR ,
- SENSITIVE ANALYSIS. SCENARIO ANALYSIS , (ALT+W+FREEZE)?
- TRANSPOSE, SUM PRODUCT,MMULT(SHIFT+CTRL+ENTER)
- f2 to link down things
Day 2 on Excel Finance training:
- Solver for Linear Modeling
- Regression: R adjusted, return vs price for beta, regression stat, etc. these are things also important for CFA L2, FRM L1.
- Beta calculations: Regression, formula, bottom up
- Monte Carlo simulations
- SIP Vs FD
- Story of Multiple IRRs
- Replicating Data and values
Out of these the beta is a complex issue and so is the regression thing.
Day 3 of Excel Financial Modeling:
- Mostly about simple Monte Carlo, searching for pie, understanding the multiplication of variables
- Then sensitivity for Duration and bond, convexity
- Rest all was simple
- MC was explained in a very simple way
- Freq function
- min max
- percentile reading greater than 0
- bin count
- percent rank command
- linking sheets ctr pgdown
- Stat basics like kurtosis, skewness, and other parameters
- medians and quartiles for Monte Carlo
- regression vs correlations
- all types of duration, derivation of formula of duration
Day 4 Financial Modeling Excel:
- Revision of WACC optimization using solver
- Different types of Sensitivity Analysis
- CTR + page up to move between worksheets and referring between various worksheets
- All functions of data analysis
- Var and distributions
- Is Kurtosis fat tails or peekedness
- Double effects of things in monte carlo
- H-Look and V-look, the rows column match and the syntax things are conventional
- Ratio analysis, there are around 40 ratio given in the CFA book
- CF from parallel sheets BS and IS
- Misc
Day 5 Excel Modeling Financial:
- Using data table for finding scenario analysis, where we have to select 2 variables and then change the things as made in the rows and columns which is then linked to input and then things are linked downwards
- Z spread using tool called____, and computing it based on spot rates of US treasury
- Loan amount using
- IRR using function
- Du point in Excel
- Ratio
- Common size
- Crt W Z
- Ctr W T
- What if Analysis
- TCF total Cf and its implication to new cash in the next years balance sheet
- WACC and its relation to value of company
- derivation of recievalbe days
- last year cash + total cash flow = cash in balance sheet this year
- salves vs turnover
- portfolio of 3 stocks and looking at matrix: 1*3 3by3 3*1
Matrix Multiplication
I will discuss in details all the areas especially matrix multiplication, transpose and other formula.
The most important part is to visualize the Covariance matrix, once that is done this become easy.
Summary of First 5 classes of excel finance modeling:
The experience was very good as I had a revision of all major concepts, especially Z spread and use of Data table to predict 2 variable change in the scenario analysis. Also the matrix part requires a deeper understanding of the Matrix algebra and a revision so that I can apply for Finance.
Monte Carlo Financial Modeling in Excel:
First we need to define all equations and variable and find out the distributions of all variables, and once that is done we need to find out the future movements using Brownian motion. And then the variable which may vary as per our selected distributions. Finally we need to move ahead and draw the distribution of each outcome with its frequency or probability. So again here we need to work on Brownian motions to move into the future areas.
Week 2 Day 1 on Excel Training
- FCFF tough questions (Requires knowledge about Cash flows, EBITA, why 1-t, different valuations models, etc)
- Bonds
- Portfolio of Bonds
- Asset Liability matching
- All 4 Valuation models were talked about but not implemented: FCFF, Multiples, Residual income, Private Company valuations, these will be implemented
Derivation of Bond Convexity
Based on Taylor's theorem. Relation of function with first derivative and 2nd derivative.
Asset Liability Modeling
Matching is a tricky problem but requires no special skills.
FCFF
Capex and other issues, many models like Damodaran exists
Damodaran model was used to convert the Rnd, lease, EBIT normalization etc. A lot is given on his website.
Football field and making the 2 goal posts and finding out each values.
Synergy and modeling for acquisition, these were done in 2 ways, where one was fundamental and other was based on market values.
Multiple based modeling included 3 things:
p/e
p/revenue
p/sales
and finding out our company values using these multiples and which is more relevant etc.
Macro and VB
Macros are linking cell, making macros functions etc where the are just like Visual Basic. Adding graphics like check and buttons etc. Simple things were taught.
Shortcut= alt+f11
We can make the entire setting of number of digits and custom ideas for the cells.
How to use string and take it here and there.
Upcoming:
The things that I find most interesting in this area is VBA and application of VBA. Commands to manage the large data of SQL is another important concept. I think VBA will be done in the upcoming week.
Things that I want to see are hardcore Quantitative finance models.
Exam of Excel fin modeling:
The exam of the this was very rigorous and tested many concepts, let me give you an outline of the exam:
- Breakeven point, contributions margin, effect of profit depends on the Fixed cost and variable costs and the slope of this line is important. Hence if a firm wants to change its Fixed cost or variable cost it depends on the breakeven point as it takes a qunat approach to the part about our investment on fixes or variable costs.
- Duration and convexity of a bond and bond portfolio, this is simple, and how to hedge based on the duration, kind of same was seen in FRM exam
- Projection of BS IS, using common size statement, and how to project future, here we had sales increasing and he had to increase the cogs, etc by the same amount, this is part of corporate finance CFA
- portfolio management
- alpha and beta
- How to lever, unlever and do things to calculate beta and hence find out the cost of equity, where we have to go different industries and it was an imp thing. We need to know RFR and other things, hence beta is an important matters.
- But the thing that I enjoyed most is the bidder and target firm, and valuation of synergy, for this we had to calculate the reduced COGS and increased growth rate. But to incorporate all these things into accounting and Income statement is very interesting. In this term, we need to know accounting for merger acquisition, and other things.
Thus these were the main question of the test, and accuracy of 70% was required to do the same questions.
More to come:
- IPO, merger, LBO and FPO Modeling
- Black Scholes and binomial methods for Derivative pricing
- Binomial trees using Macros
- Advanced Bond Valuation advanced
- Consolidation, merger
- Taxation effects
- Loss carry forward
- Valuation from data of a company from scratch, which is downloading from their website, how to calculate risk free rate in real life
- Using data from websites of NSE and data collection for modeling, linking models live to real data.
- We have more models from Damodaran
- Modeling for corporate control in India
- ABS, MBS, RMBS, CLO, FSS, WBS in Excel
- Sector Analysis: How to specialize any area for interview
- Company Analysis: of ANY BIG ONE
- Group presentations and making synergy
- Report writing skills, like how to apply news paper info to valuation
My course on VBA for Financial Engineering:
Financial Modeling in MATLAB
MATLAB, SAS are advanced tools for modeling used in instruments of structured finance. As we have seen that Excel is good for Equity modeling, it does not hold very good when things become complex. The next Level of Excel is VB which I will be covering later.
I came across this book called financial forecasting where I did read about how I can apply all what I read in FRM L1 in MATLAB and other tools.
As depicted in my credit risk thread, I will here talk about how to simulate some of the major quant Finance aspects in MATLAB.
Written by: Shivgan Joshi
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.