Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-5g6vh Total loading time: 0 Render date: 2024-04-29T02:20:58.261Z Has data issue: false hasContentIssue false

1 - Random variables

Published online by Cambridge University Press:  05 April 2015

Simon N. Wood
Affiliation:
University of Bath
Get access

Summary

Random variables

Statistics is about extracting information from data that contain an inherently unpredictable component. Random variables are the mathematical construct used to build models of such variability. A random variable takes a different value, at random, each time it is observed. We cannot say, in advance, exactly what value will be taken, but we can make probability statements about the values likely to occur. That is, we can characterise the distribution of values taken by a random variable. This chapter briefly reviews the technical constructs used for working with random variables, as well as a number of generally useful related results. See De Groot and Schervish (2002) or Grimmett and Stirzaker (2001) for fuller introductions.

Cumulative distribution functions

The cumulative distribution function (c.d.f.) of a random variable (r.v.), X, is the function F(x) such that

F(x) = Pr(Xx).

That is, F(x) gives the probability that the value of X will be less than or equal to x. Obviously, F(−∞) = 0, F(∞) = 1 and F(x) is monotonic. A useful consequence of this definition is that if F is continuous then F(x) has a uniform distribution on [0, 1]: it takes any value between 0 and 1 with equal probability. This is because

Pr(Xx) = Pr{F(x) ≤ F(x)} = F(x) ⇒ Pr{F(x) ≤ u} = u

(if F is continuous), the latter being the c.d.f. of a uniform r.v. on [0, 1].

Define the inverse of the c.d.f. as F (u) = min(x|F(x) ≥ u), which is just the usual inverse function of F if F is continuous. F is often called the quantile function of X. If U has a uniform distribution on [0, 1], then F (U) is distributed as X with c.d.f. F. Given some way of generating uniform random deviates, this provides a method for generating random variables from any distribution with a computable F.

Type
Chapter
Information
Core Statistics , pp. 1 - 18
Publisher: Cambridge University Press
Print publication year: 2015

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 coreplatform@cambridge.org 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.

  • Random variables
  • Simon N. Wood, University of Bath
  • Book: Core Statistics
  • Online publication: 05 April 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781107741973.002
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.

  • Random variables
  • Simon N. Wood, University of Bath
  • Book: Core Statistics
  • Online publication: 05 April 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781107741973.002
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.

  • Random variables
  • Simon N. Wood, University of Bath
  • Book: Core Statistics
  • Online publication: 05 April 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781107741973.002
Available formats
×