chapter 2 Flashcards
(36 cards)
random variable
formal statistical model for representing the results of an experiment
simply numeric representation of the result on an experiment
its a function x that that associates a unique numerical value with every outcome in the sample space
not lunique, for a given experiment there are infinitely many
each time an experiment is conducted an o observation of the random variables are made
traditional to denote random variable as capital letter and its realisation as lower case equivalent
discrete random variable
is a random variable whose sample space only has a countable (finite or countably infinite)) number of outcomes
sample space is countable if
outcomes can be written in size order
probability mass function
method of specifying the probability of each outcome(
pmf) p(x)
specifies the probability that the random variable X=x(si) for all outcomes r(si) in the sample space
used for discrete random variables
must satisfy:
p(x)>o for al outcomes x - cannot have -ve probability
sum of probabilities for all outcomes must equal 1
expectation
E[X]=x1 x p1 + x2 x p2 +…+xn x pn
variance
measure of how spread out a set of data is
cumulative distribution function
represents the probability of a realisation from a random variable is less than or equal to x
f(X)=P(X is less than or equal to x)
is defined for all real numbers not just element of sample space
the CDF for any other outcome x can be calculated by adding up the probabilities that are less than or equal to X
probability mass function
A probability mass function (PMF) p(x) specifies the probability that the random
variable X = x(si) for all outcomes x(si) in the sample space. p(x)=P(X =x(si))=P(X =x).
must satisfy two fundamental properties:
probabilities must be greater than 0 and the sum of all probabilities must equal 1
E(X+Y)=
E(X) + E(Y)
E(a)=
a
E(aX) =
aE(X).
E(aX+b)=
aE(X)+b.
if independant E(XY)=
E(X)E(Y)
standard deviation
square root of the variance
var(a)=
0
var(X) =
greater than or eequal to 0
var(X)=0 only if…
Xis a constant
var(bX)=
b2Var(X)
var(bX+a)=
b2Var(X)
variance: if X and Y are independent in variance
Var(X+Y)=Var)X) + Var(Y)
Var(aX + bY ) = a2Var(X) + b2Var(Y )
var(X-Y)=
= Var(X) + Var(Y ).
discrete distributions
probability models for discrete random variables
Descrete distributions: Bernoulli
simplest descrete districutions
models situations where there are only two possible outcomes referred to as 0 and one and fail or successs respectively
probability of a success is equal to 0<1
denoted by X tilda Bern(thita)
Bern: P(success)=
thita