Statistical Analysis of Financial Data
eBook - ePub

Statistical Analysis of Financial Data

With Examples In R

  1. 646 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Statistical Analysis of Financial Data

With Examples In R

About this book

Statistical Analysis of Financial Data covers the use of statistical analysis and the methods of data science to model and analyze financial data. The first chapter is an overview of financial markets, describing the market operations and using exploratory data analysis to illustrate the nature of financial data. The software used to obtain the data for the examples in the first chapter and for all computations and to produce the graphs is R. However discussion of R is deferred to an appendix to the first chapter, where the basics of R, especially those most relevant in financial applications, are presented and illustrated. The appendix also describes how to use R to obtain current financial data from the internet.

Chapter 2 describes the methods of exploratory data analysis, especially graphical methods, and illustrates them on real financial data. Chapter 3 covers probability distributions useful in financial analysis, especially heavy-tailed distributions, and describes methods of computer simulation of financial data. Chapter 4 covers basic methods of statistical inference, especially the use of linear models in analysis, and Chapter 5 describes methods of time series with special emphasis on models and methods applicable to analysis of financial data.

Features

* Covers statistical methods for analyzing models appropriate for financial data, especially models with outliers or heavy-tailed distributions.

* Describes both the basics of R and advanced techniques useful in financial data analysis.

* Driven by real, current financial data, not just stale data deposited on some static website.

* Includes a large number of exercises, many requiring the use of open-source software to acquire real financial data from the internet and to analyze it.

Trusted byĀ 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Publisher
CRC Press
Year
2020
eBook ISBN
9780429939228

1

The Nature of Financial Data

In this chapter, I discuss the operation of financial markets and the nature of financial data. The emphasis is on data, especially data on returns of financial assets. Most of the data discussed are taken from various US markets in the late twentieth and early twenty-first centuries. The emphasis, however, is not on the specific data that I used, or data that I have put on the website for the book, but rather on current data that you can get from standard sources on the internet.
The objectives of the chapter are to
• provide a general description of financial assets, the markets and mechanisms for trading them, and the kinds of data we use to understand them;
• describe and illustrate graphical and computational statistical methods for exploratory analysis of financial data;
• display and analyze historical financial data, and identify and describe key properties of various types of financial data, such as their volatility and frequency distributions;
• discuss the basics of risk and return.
The statistical methods of this chapter are exploratory data analysis, or EDA. We address EDA methods in Chapter 2.
I introduce and describe a number of concepts and terms used in finance (ā€œPEā€, ā€œbook valueā€, ā€œGAAPā€, ā€œSKEWā€, ā€œEBITDAā€, ā€œcall optionā€, and so on). I will generally italicize these terms at the point of first usage, and I list most of them in the Index. Many of these terms will appear in later parts of the book.
The computations and the graphics for the examples were produced using R. There is, however, no discussion in this chapter of computer code or of internet data sources. In the appendix to this chapter beginning on page 139, I describe some basics of R and then how to use R to obtain financial data from the internet and bring it into R for analysis. In that appendix, I refer to specific datasets used in the chapter. The R code for all of the examples in this chapter is available at the website for the book.

Types of Financial Data

Financial data come in a variety of forms. The data may be prices at which transactions occur, they may be quoted rates at which interest accrues, they may be reported earnings over a specified time, and so on. Financial data often are derived quantities computed from observed and/or reported quantities, such as the ratio of the price of a share of stock and the share of annual earnings represented by a share of stock.
Financial data are associated either with specific points in time or with specific intervals of time. The data themselves may thus be prices at specified times in some specified currency, they may be some kind of average of many prices at a specified time (such as an index), they may be percentages (such as interest rates at specified times or rates of change of prices during specified time intervals), they may be nonnegative integers (such as the number of shares traded during specified time intervals), or they may be ratios of instantaneous quantities and quantities accumulated over specified intervals of time (such as price-to-earnings ratios).
When the data are prices of assets or of commodities, we often refer generically to the unit of currency as the numeraire. Returns and derivative assets are valued in the same numeraire. Most of the financial data in this book are price data measured in United States dollars (USD).
Our interest in data is usually to understand the underlying phenomenon that gave rise to the data, that is, the data-generating process. In the case of financial data, the data-generating process consists of the various dynamics of ā€œthe marketā€.
The purpose of the statistical methods discussed in this book is to gain a better understanding of data-generating processes, particularly financial data-generating processes.
An analysis of financial data often begins with a plot or graph in which the horizontal axis represents time. Although the data may be associated with specific points in time, as indicated in the plot on the left in Figure 1.1, we often connect the points with line segments as in the plot on the right in Figure 1.1. This is merely a visual convenience, and does not indicate anything about the quantity between two points at which it is observed or computed. The actual data is a discrete, finite set.

Models and Data; Random Variables and Realizations: Notation

We will often discuss random variables and we will discuss data, or realizations of random variables. Random variables are mathematical abstractions useful in statistical models. Data are observed values. We often use upper-case letters to denote random variables, X, Y, Xi, and so on. We use corresponding lowercase letters to denote observed values or realizations of the random variables, x, y, xi, and so on.
Image
FIGURE 1.1
Financial Data
I prefer to be very precise in making distinctions between random variables and their realizations (in notation, the conventional distinction is upper-case letters for random variables and lower case for realizations), but the resulting notation often is rather cumbersome. Generally, therefore, in this book I will use simple notation and may use either upper- or lower-case whether I refer to a random variable or a realization of one.
We form various functions of both random variables and data that have similar interpretations in the context of the model and the corresponding dataset. These functions are means, variances, covariances, and so on. Sometimes, but not always, in the case of observed data, we will refer to these computed values as ā€œsample meansā€, ā€œsample variancesā€, and so on.
An important concept involving a random variable is its expected value or expectation, for which I use the symbol E(Ā·). It is assumed that the reader is familiar with this terms. (It will be formally defined in Section 3.1.)
The expected value of a random variable is its mean, which we often denote by μ, and for a random variable X, we may write
E(X) = μX.
(1.1)
Another important concept involving a random variable is its variance, often denoted by σ2 and for which I use the symbol V(·). The variance is defined as the expected value of the squared difference of the random variable from its mean, and for the random variable X, we may write
V(X)=E((Xāˆ’Ī¼X)2)=σX2.
(1.2)
The square root of the variance is called...

Table of contents

  1. Cover
  2. Half Title
  3. Series Page
  4. Title Page
  5. Copyright Page
  6. Dedication
  7. Preface
  8. Table of Contents
  9. 1 The Nature of Financial Data
  10. 2 Exploratory Financial Data Analysis
  11. 3 Probability Distributions in Models of Observable Events
  12. 4 Statistical Models and Methods of Inference
  13. 5 Discrete Time Series Models and Analysis
  14. References
  15. Index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Statistical Analysis of Financial Data by James Gentle in PDF and/or ePUB format, as well as other popular books in Business & Investments & Securities. We have over 1.5 million books available in our catalogue for you to explore.