
Mathematics and Statistics for Financial Risk Management
Beschreibung
Weitere Details
Weitere Ausgaben
Person
Inhalt
- Intro
- Mathematics and Statistics for Financial Risk Management
- Contents
- Preface
- What's New in the Second Edition
- Acknowledgments
- Chapter 1 Some Basic Math
- Logarithms
- Log Returns
- Compounding
- Limited Liability
- Graphing Log Returns
- Continuously Compounded Returns
- Combinatorics
- Discount Factors
- Geometric Series
- Infinite Series
- Finite Series
- Problems
- Chapter 2 Probabilities
- Discrete Random Variables
- Continuous Random Variables
- Probability Density Functions
- Cumulative Distribution Functions
- Inverse Cumulative Distribution Functions
- Mutually Exclusive Events
- Independent Events
- Probability Matrices
- Conditional Probability
- Problems
- Chapter 3 Basic Statistics
- Averages
- Population and Sample Data
- Discrete Random Variables
- Continuous Random Variables
- Expectations
- Va riance and Standard Deviation
- Standardized Variables
- Covariance
- Correlation
- Application: Portfolio Variance and Hedging
- Moments
- Skewness
- Kurtosis
- Coskewness and Cokurtosis
- Best Linear Unbiased Estimator (BLUE)
- Problems
- Chapter 4 Distributions
- Parametric Distributions
- Uniform Distribution
- Bernoulli Distribution
- Binomial Distribution
- Poisson Distribution
- Normal Distribution
- Lognormal Distribution
- Central Limit Theorem
- Application: Monte Carlo Simulations Part I: Creating Normal Random Variables
- Chi-Squared Distribution
- Student's t Distribution
- F-Distribution
- Triangular Distribution
- Beta Distribution
- Mixture Distributions
- Problems
- Chapter 5 Multivariate Distributions and Copulas
- Multivariate Distributions
- Discrete Distributions
- Continuous Distributions
- Visualization
- Correlation
- Marginal Distributions
- Copulas
- What Is a Copula?
- Graphing Copulas
- Using Copulas in Simulations
- Parameterization of Copulas
- Problems
- Chapter 6 Bayesian Analysis
- Overview
- Bayes' Theorem
- Bayes versus Frequentists
- Many-State Problems
- Continuous Distributions
- Bayesian Networks
- Bayesian Networks versus Correlation Matrices
- Problems
- Chapter 7 Hypothesis Testing and Confidence Intervals
- Sample Mean Revisited
- Sample Variance Revisited
- Confidence Intervals
- Hypothesis Testing
- Which Way to Test?
- One Tail or Two?
- The Confidence Level Returns
- Chebyshev's Inequality
- Application: VaR
- Backtesting
- Subadditivity
- Expected Shortfall
- Problems
- Chapter 8 Matrix Algebra
- Matrix Notation
- Matrix Operations
- Addition and Subtraction
- Multiplication
- Zero Matrix
- Transpose
- Application: Transition Matrices
- Application: Monte Carlo Simulations Part II: Cholesky Decomposition
- Problems
- Chapter 9 Vector Spaces
- Vectors Revisited
- Orthogonality
- Rotation
- Principal Component Analysis
- Application: The Dynamic Term Structure of Interest Rates
- Application: The Structure of Global Equity Markets
- Problems
- Chapter 10 Linear Regression Analysis
- Linear Regression (One Regressor)
- Ordinary Least Squares
- Estimating the Parameters
- Evaluating the Regression
- Linear Regression (Multivariate)
- Multicollinearity
- Estimating the Parameters
- Evaluating the Regression
- Application: Factor Analysis
- Application: Stress Testing
- Problems
- Chapter 11 Time Series Models
- Random Walks
- Drift-Diffusion Model
- Autoregression
- Variance and Autocorrelation
- Stationarity
- Moving Average
- Continuous Models
- Application: GARCH
- Application: Jump-Diffusion Model
- Application: Interest Rate Models
- Problems
- Chapter 12 Decay Factors
- Mean
- Variance
- Weighted Least Squares
- Other Possibilities
- Application: Hybrid VaR
- Problems
- Appendix A Binary Numbers
- Appendix B Taylor Expansions
- Appendix C Vector Spaces
- Appendix D Greek Alphabet
- Appendix E Common Abbreviations
- Appendix F Copulas
- Answers
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Chapter 11
- Chapter 12
- References
- About the Author
- About the Companion Website
- Index
CHAPTER 1
Some Basic Math
In this chapter we review three math topics—logarithms, combinatorics, and geometric series—and one financial topic, discount factors. Emphasis is given to the specific aspects of these topics that are most relevant to risk management.
LOGARITHMS
In mathematics, logarithms, or logs, are related to exponents, as follows:
We say, “The log of a, base b, equals x, which implies that a equals b to the x and vice versa.” If we take the log of the right-hand side of Equation 1.1 and use the identity from the left-hand side of the equation, we can show that:
(1.2) logb(bx) = logb a = x
logb(bx) = x
Taking the log of bx effectively cancels out the exponentiation, leaving us with x.
An important property of logarithms is that the logarithm of the product of two variables is equal to the sum of the logarithms of those two variables. For two variables, X and Y:
Similarly, the logarithm of the ratio of two variables is equal to the difference of their logarithms:
(1.4)
If we replace Y with X in Equation 1.3, we get:
(1.5)
We can generalize this result to get the following power rule:
(1.6)
In general, the base of the logarithm, b, can have any value. Base 10 and base 2 are popular bases in certain fields, but in many fields, and especially in finance, e, Euler's number, is by far the most popular. Base e is so popular that mathematicians have given it its own name and notation. When the base of a logarithm is e, we refer to it as a natural logarithm. In formulas, we write:
(1.7)
From this point on, unless noted otherwise, assume that any mention of logarithms refers to natural logarithms.
Logarithms are defined for all real numbers greater than or equal to zero. Exhibit 1.1 shows a plot of the logarithm function. The logarithm of zero is negative infinity, and the logarithm of one is zero. The function grows without bound; that is, as X approaches infinity, the ln(X) approaches infinity as well.
Exhibit 1.1 Natural Logarithm
LOG RETURNS
One of the most common applications of logarithms in finance is computing log returns. Log returns are defined as follows:
(1.8) rt ≡ ln(1 + Rt) where
Here rt is the log return at time t, Rt is the standard or simple return, and Pt is the price of the security at time t. We use this convention of capital R for simple returns and lowercase r for log returns throughout the rest of the book. This convention is popular, but by no means universal. Also, be careful: Despite the name, the log return is not the log of Rt, but the log of (1 + Rt).
For small values, log returns and simple returns will be very close in size. A simple return of 0% translates exactly to a log return of 0%. A simple return of 10% translates to a log return of 9.53%. That the values are so close is convenient for checking data and preventing operational errors. Exhibit 1.2 shows some additional simple returns along with their corresponding log returns.
Exhibit 1.2 Log Returns and Simple Returns
R ln(1 + R) 1.00% 1.00% 5.00% 4.88% 10.00% 9.53% 20.00% 18.23%To get a more precise estimate of the relationship between standard returns and log returns, we can use the following approximation:1
As long as R is small, the second term on the right-hand side of Equation 1.9 will be negligible, and the log return and the simple return will have very similar values.
COMPOUNDING
Log returns might seem more complex than simple returns, but they have a number of advantages over simple returns in financial applications. One of the most useful features of log returns has to do with compounding returns. To get the return of a security for two periods using simple returns, we have to do something that is not very intuitive, namely adding one to each of the returns, multiplying, and then subtracting one:
Here the first subscript on R denotes the length of the return, and the second subscript is the traditional time subscript. With log returns, calculating multiperiod returns is much simpler; we simply add:
By substituting Equation 1.8 into Equation 1.10 and Equation 1.11, you can see that these definitions are equivalent. It is also fairly straightforward to generalize this notation to any return length.
SAMPLE PROBLEM Question: Using Equation 1.8 and Equation 1.10, generalize Equation 1.11 to returns of any length. Answer: To get to the last line, we took the logs of both sides of the previous equation, using the fact that the log of the product of any two variables is equal to the sum of their logs, as given in Equation 1.3LIMITED LIABILITY
Another useful feature of log returns relates to limited liability. For many financial assets, including equities and bonds, the most that you can lose is the amount that you've put into them. For example, if you purchase a share of XYZ Corporation for $100, the most you can lose is that $100. This is known as limited liability. Today, limited liability is such a common feature of financial instruments that it is easy to take it for granted, but this was not always the case. Indeed, the widespread adoption of limited liability in the nineteenth century made possible the large publicly traded companies that are so important to our modern economy, and the vast financial markets that accompany them.
That you can lose only your initial investment is equivalent to saying that the minimum possible return on your investment is −100%. At the other end of the spectrum, there is no upper limit to the amount you can make in an investment. The maximum possible return is, in theory, infinite. This range for simple returns, −100% to infinity, translates to a range of negative infinity to positive infinity for log returns.
(1.12)
As we will see in the following chapters, when it comes to mathematical and computer models in finance it is often much easier to work with variables that are unbounded—that is, variables that can range from negative infinity to positive infinity. This makes log returns a natural choice for many financial models.
GRAPHING LOG RETURNS
Another useful feature of log returns is how they relate to log prices. By rearranging Equation 1.10 and taking logs, it is easy to see that:
where pt is the log of Pt, the price at time t. To calculate log returns, rather than taking the log of one plus the simple return, we can simply calculate the logs of the prices and subtract.
Logarithms are also useful for charting time series that grow exponentially. Many computer applications allow you to chart data on a logarithmic scale. For an asset whose price grows exponentially, a logarithmic scale prevents the compression of data at low levels. Also, by rearranging Equation 1.13, we can easily see that the change in the log price over time is equal to the log return:
It follows that, for an asset whose return is constant, the change in the log price will also be constant over time. On a chart, this constant rate of change over time will translate into a constant slope. Exhibits 1.3 and 1.4 both show an asset whose price is increasing by 20% each year. The y-axis for the first chart shows the price; the y-axis for the second chart displays the log price.
For the chart in Exhibit 1.3, it is hard to tell if the rate of return is increasing or decreasing over time. For the chart in Exhibit 1.4, the fact that the line is straight is equivalent to saying that the line has a constant slope. From Equation 1.14 we know that this constant slope is equivalent to a constant rate of return.
Exhibit 1.3 Normal Prices
Exhibit 1.4 Log Prices
In Exhibit 1.4, we could have shown actual prices on the y-axis, but having the log prices allows us to do something else. Using Equation 1.14, we can easily estimate the average return for the asset. In the graph, the log price increases from approximately 4.6 to 6.4 over 10 periods. Subtracting and dividing gives us (6.4...
Systemvoraussetzungen
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.