12.07.2015 Views

Stat 5101 Lecture Notes - School of Statistics

Stat 5101 Lecture Notes - School of Statistics

Stat 5101 Lecture Notes - School of Statistics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.1. RANDOM VARIABLES 3Sometimes it is useful to consider f as a map from its domain A into a setB. We write f : A → B orA −→ fBto indicate this. The set B is called the codomain <strong>of</strong> f.Since all the values f(x)<strong>of</strong>fare in the codomain B, the codomain necessarilyincludes the range, but may be larger. For example, consider the functionf : R → R defined by f(x) =x 2 . The codomain is R, just because that’sthe way we defined f, but the range is the interval [0, ∞) <strong>of</strong> nonnegative realnumbers, because squares are nonnegative.1.1.3 Random Variables: Informal IntuitionInformally, a random variable is a variable that is random, meaning that itsvalue is unknown, uncertain, not observed yet, or something <strong>of</strong> the sort. Theprobabilities with which a random variable takes its various possible values aredescribed by a probability model.In order to distinguish random variables from ordinary, nonrandom variables,we adopt a widely used convention <strong>of</strong> denoting random variables by capitalletters, usually letters near the end <strong>of</strong> the alphabet, like X, Y , and Z.There is a close connection between random variables and certain ordinaryvariables. If X is a random variable, we <strong>of</strong>ten use the corresponding small letterx as the ordinary variable that takes the same values.Whether a variable corresponding to a real-world phenomenon is consideredrandom may depend on context. In applications, we <strong>of</strong>ten say a variable israndom before it is observed and nonrandom after it is observed and its actualvalue is known. Thus the same real-world phenomenon may be symbolized byX before its value is observed and by x after its value is observed.1.1.4 Random Variables: Formal DefinitionThe formal definition <strong>of</strong> a random variable is rather different from the informalintuition. Formally, a random variable isn’t a variable, it’s a function.Definition 1.1.1 (Random Variable).A random variable in a probability model is a function on the sample space<strong>of</strong> a probability model.The capital letter convention for random variables is used here too. Weusually denote random variables by capital letters like X. When consideredformally a random variable X a function on the sample space S, and we canwriteS −→ XTif we like to show that X is a map from its domain S (always the sample space)to its codomain T . Since X is a function, its values are denoted using the usualnotation for function values X(s).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!