Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-s2hrs Total loading time: 0 Render date: 2024-11-03T01:44:42.115Z Has data issue: false hasContentIssue false

4 - Computer simulation

Published online by Cambridge University Press:  05 June 2012

Desmond J. Higham
Affiliation:
University of Strathclyde
Get access

Summary

OUTLINE

  • random number generation

  • sample mean and variance

  • kernel density estimation

  • quantile–quantile plots

Motivation

The models that we develop for option valuation will involve randomness. One of the main thrusts of this book is the use of computer simulation to experiment with and visualize our ideas, and also to estimate quantities that cannot be determined analytically. This chapter introduces the tools that we will apply.

Pseudo-random numbers

Computers are deterministic – they do exactly what they are told and hence are completely predictable. This is generally a good thing, but it is at odds with the idea of generating random numbers. In practice, however, it is usually sufficient to work with pseudo-random numbers. These are collections of numbers that are produced by a deterministic algorithm and yet seem to be random in the sense that, en masse, they have appropriate statistical properties. Our approach here is to assume that we have access to black-box programs that generate large sequences of pseudo-random numbers. Hence, we completely ignore the fascinating issue of designing algorithms for generating pseudo-random numbers. Our justification for this omission is that random number generation is a highly advanced, active, research topic and it is unreasonable to expect non-experts to understand and implement programs that compete with the state-of-the-art. Off-the-shelf is better than roll-your-own in this context, and by making use of existing technology we can more quickly progress to the topics that are central to this book.

Type
Chapter
Information
An Introduction to Financial Option Valuation
Mathematics, Stochastics and Computation
, pp. 33 - 44
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Computer simulation
  • Desmond J. Higham, University of Strathclyde
  • Book: An Introduction to Financial Option Valuation
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511800948.005
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Computer simulation
  • Desmond J. Higham, University of Strathclyde
  • Book: An Introduction to Financial Option Valuation
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511800948.005
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Computer simulation
  • Desmond J. Higham, University of Strathclyde
  • Book: An Introduction to Financial Option Valuation
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511800948.005
Available formats
×