Set Theory in Statistics

Representing Elements and Sets

  • An element is an object
  • Specifically, an element can be an individual number, word, set, etc.
  • For example, {3,4}\text{\textbraceleft}{3, 4}\text{\textbraceright} is an element of the set {1,2,{3,4}}\text{\textbraceleft}{1, 2, \text{\textbraceleft}{3, 4}\text{\textbraceright}}\text{\textbraceright}
  • For example, {a,b}\text{\textbraceleft}{a, b}\text{\textbraceright} is an element of the set {{a,b},c}\text{\textbraceleft}{\text{\textbraceleft}{a, b}\text{\textbraceright}, c}\text{\textbraceright}
  • A set is made up of elements
  • Since an element can be a set, then a set can contain other sets as well
  • For example, A\text{A} is a valid set if A={1,2,3}\text{A} = \text{\textbraceleft}{1,2,3}\text{\textbraceright}, since 11, 22, and 33 are all valid elements of a set
  • Also, B\text{B} is a valid set if B={1,2,{3,4}}\text{B} = \text{\textbraceleft}{1,2,\text{\textbraceleft}{3,4}\text{\textbraceright}}\text{\textbraceright}, since 11, 22, and {3,4}\text{\textbraceleft}{3, 4}\text{\textbraceright} are all valid elements of a set
  • Also, C\text{C} is a valid set if C={red,blue,green}\text{C} = \text{\textbraceleft}{red,blue,green}\text{\textbraceright}, since the colors redred, blueblue, and greengreen are all valid elements of a set

Set Notation

  • A set is a unique sequence of observable outcomes
  • For example, {1,2,3,4,5,6}\text{\textbraceleft}{1,2,3,4,5,6}\text{\textbraceright} could be a set, representing the outcomes of rolling a single die
  • An event is a set of outcomes that is written as a capital letter
  • For example, we could denote a set that represents the outcomes of rolling a single die as the following:
A={1,2,3,4,5,6}\text{A} = \text{\textbraceleft}{1,2,3,4,5,6}\text{\textbraceright}
  • Keep in mind that events are written as a normal, capital letter, whereas a random variable is written as an italicized, capital letter
  • A realization of a random variable is written as a italicized, lower-case letter

Denoting Random Variables

  • As a reminder, a random variable is a function that maps a single value from a sample space to any single, real-number realization
  • Typically, we denote a random variable as the following:
X:ΩRX: \Omega \to \R such that ωX(ω)\text{such } \text{that } \omega \mapsto X(\omega) such that ωΩ\text{such } \text{that } \omega \in \Omega such that X(ω)R\text{such } \text{that } X(\omega) \in \R
  • Here, Ω\Omega is a set that represents the domain of the random variable function
  • R\R is a set that represents the range of the random variable function
  • ω\omega represents an element, or a single value, from the set Ω\Omega
  • X(ω)X(\omega) represents an element, or a single value, from the set R\R
  • X(ω)X(\omega) also represents a realization of the random variable function

Denoting Probability

  • As a reminder, probability represent a function that maps a single value from the sample space to a realization that is in the interval of 0 and 1
  • Typically, the output of the random variable function becomes the input of the probability function
  • Therefore, the sample space will represent the range of the random variable
  • We denote a probability as the following:
P:Ω[0,1]P: \Omega \to [0,1] such that ωP(ω)\text{such } \text{that } \omega \mapsto P(\omega)

Denoting Events

  • Sometimes, we don't want our function to map a single value from Ω\Omega, or we don't want our function to map to R\R
  • In this situation, we would create an event
  • For example, we could have the following:

    • Let Ω\Omega denote the sample space
    • Let A\text{A} be an event that is a subset of R\R
    • Let XX be our random variable
  • We could then define our random variable as the following:
X:ΩAX: \Omega \to \text{A} such that ωX(ω)\text{such } \text{that } \omega \mapsto X(\omega) such that AR\text{such } \text{that } \text{A} \subset \R such that ωΩ\text{such } \text{that } \omega \in \Omega such that X(ω)A\text{such } \text{that } X(\omega) \in \text{A}
  • Here, Ω\Omega is a set that represents the domain of the random variable function
  • The set A\text{A} is a set that represents the range of the random variable function
  • Also, A\text{A} is an event that is a subset of all real numbers
  • ω\omega represents an element, or a single value, from the set Ω\Omega
  • X(ω)X(\omega) represents an element, or a single value, from the event A\text{A}

Another Example of Denoting Events

  • Let's say we have the following situation:

    • An event A\text{A} is a subset of Ω\Omega
    • R\R is a set of all real numbers
    • XX is our random variable
  • We could define our random variable as the following:
X:ARX: \text{A} \to \R such that ωX(ω)\text{such } \text{that } \omega \mapsto X(\omega) such that AΩ\text{such } \text{that } \text{A} \subset \Omega such that ωA\text{such } \text{that } \omega \in \text{A} such that X(ω)R\text{such } \text{that } X(\omega) \in \R
  • Here, the event A\text{A} is a set that represents the domain of the random variable function
  • R\R is a set that represents the range of the random variable function
  • Also, A\text{A} is an event that is a subset of the sample space
  • ω\omega represents an element, or a single value, from the set A\text{A}
  • X(ω)X(\omega) represents an element, or a single value, from the set R\R

One Last Example of Denoting Events

  • Let's say the following is true:

    • Let A\text{A} be an event that represents the set {red, white, blue}
    • Let B\text{B} be an event that represents the set {cat, dog}
    • Let XX be our random variable
    • Let Ω\Omega be our sample space, which is the set of all colors
  • We could define our random variable as the following:
X:ABX: \text{A} \to \text{B} such that ωX(ω)\text{such } \text{that } \omega \mapsto X(\omega) such that A={red,white,blue}\text{such } \text{that } \text{A} = \text{\textbraceleft}{red, white, blue}\text{\textbraceright} such that B={cat,dog}\text{such } \text{that } \text{B} = \text{\textbraceleft}{cat, dog}\text{\textbraceright} such that ωA\text{such } \text{that } \omega \in \text{A} such that X(ω)B\text{such } \text{that } X(\omega) \in \text{B}
  • Here, the event A\text{A} is a set that represents the domain of the random variable function
  • Also, the event B\text{B} is a set that represents the range of the random variable function
  • The set A\text{A} is an event that is a subset of our sample space (i.e. colors)
  • The set B\text{B} is an event that is a subset of animals
  • ω\omega represents an element, or a single value, from the event A\text{A}
  • X(ω)X(\omega) represents an element, or a single value, from the event B\text{B}

Remarks on Mathematical Notation

  • As stated previously, a random variable XX is a function defined as the following:
X:ΩRX: \Omega \to \R
  • However, we often refer to XX using the following shorthand formula:
X(ω) such that ωΩX(\omega) \text{ such} \text{ that } \omega \in \Omega
  • Probability functions can be written in many ways:
pX(x)P(X=x)P({sS:X(s)=x})p_{X}(x) \equiv P(X = x) \equiv P(\text{\textbraceleft}{s \in S : X(s) = x}\text{\textbraceright})
  • We can generally denote sets as the following:
S{type of each element in list:range of each element}S \equiv \text{\textbraceleft}{\text{type of each element in list} : \text{range of each element}}\text{\textbraceright}
  • Here are a few examples showing how we can denote different sets:
S{iR:1i6,x is odd}S \equiv \text{\textbraceleft}{i \in \R : 1 \le i \le 6, x \text{ is odd}}\text{\textbraceright} S{(i,j):1i6,1j6}S \equiv \text{\textbraceleft}{(i, j) : 1 \le i \le 6, 1 \le j \le 6}\text{\textbraceright}
  • We can also denote realizations as the following:
X(s)X((i,j))=i+jX(s) \equiv X((i, j)) = i + j

Further Notation

  • We can define sets as long as they obey either of the following notations:
{an element}{a set}\text{\textbraceleft}{\text{an element}}\text{\textbraceright} \in \text{\textbraceleft}{\text{a set}}\text{\textbraceright} {a set}{a collection of sets}\text{\textbraceleft}{\text{a set}}\text{\textbraceright} \in \text{\textbraceleft}{\text{a collection of sets}}\text{\textbraceright} {a set}{a set}\text{\textbraceleft}{\text{a set}}\text{\textbraceright} \subset \text{\textbraceleft}{\text{a set}}\text{\textbraceright} {a collection of sets}{a collection of sets}\text{\textbraceleft}{\text{a collection of sets}}\text{\textbraceright} \subset \text{\textbraceleft}{\text{a collection of sets}}\text{\textbraceright}
  • For example, we can write aAa \in \text{A}

    • Where A\text{A} is an event (which is a set)
    • Where aa is an outcome or realization of A\text{A}
  • We can also write A\text{A} \in ℑ

    • Where A\text{A} is an event (which is a set)
    • Where is an algebra (which is a collection of sets)
  • Or, we can write AB\text{A} \subset \text{B}

    • Where A\text{A} and B\text{B} are both events (which are sets)
  • We can also write 01ℑ_{0} \subset ℑ_{1}

    • Where 0ℑ_{0} is an algebra (which is a collection of sets) that is contained within an algebra 1ℑ_{1} (which is larger a collection of sets)

Reference

Previous
Next

Estimators and Parameters

Countability