Skip to main content
Statistics LibreTexts

5.1: Introduction

  • Page ID
    24038
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    A variable or what will be called the random variable from now on, is represented by the letter X and it represents a quantitative (numerical) variable that is measured or observed in an experiment.

    A random variable (usually X) is a numeric description of an event. Recall that a sample space is all the possible outcomes and an event is a subset of the sample space.

    Usually we use capital letters from the beginning of the alphabet to represent events, A, B, C, etc. We use capital letters from the end of the alphabet to represent random variables, X, Y, and Z. The possible outcomes of X are labeled with a corresponding lower-case letter x and subscripts like x1, x2, etc.

    For instance, if we roll two 6-sided dice the sample space is S = {(1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (2,1), (2,2),…, (6,6)} and the event E the sum of the two rolls is five, then E = {(1,4), (2,3), (3,2), (4,1)}.

    Now, we could define the random variable X to denote the sum of the two rolls, then X = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} and event E corresponds to x = 5.

    There are different types of quantitative variables, called discrete or continuous. Discrete random variables can only take on particular values in a range. Continuous random variables can take on any value in a range. Discrete random variables usually arise from counting while continuous random variables usually arise from measuring

    A discrete random variable is a variable that is finite or infinitely countable.

    A continuous random variable is a variable that has an infinite number of possible values in an interval of numbers.


    This page titled 5.1: Introduction is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Rachel Webb via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.