Chapter 7: Random Variables and Discrete Probability Distributions Flashcards
Random variable
A function or a rule that assigns a number to each outcome of an experiment
Name of random variable = uppercase letter
Value of random variable = lowercase letter
Probability X has the value of x = P(X= x) or just P(x)
Discrete random variable
Random variable that can take on a countable number of values
Continuous random variable
Random variable whose values are uncountable (could be anything - infinitely divisible)
Probability distribution
A table, formula, or graph that describes the values of a random variable and the probability associated with these values
When multiple outcomes are possible to reach a single value then the sum of these possible outcomes is the probability of that value
Probability distribution of a sample represents the probability distribution of the population
Requirements for a distribution of a discrete random variable
1) probability of x is between 0 and 1 for all values of x
2) some of the probability of all possible values of x = 1
Population mean
Aka expected value (of the random variable) E(X)
Weighted average of all values
Weight = probability
E(X) = sum of all individual values of x multiplied by their probability
Population variance
The weighted average of all the squared deviations from the mean
So sum of all difference between value of x and mean squared times the probability of that value of x
Shortcut:
Sum of all (values of x squared multiplied by the probability of x) less the mean squared
Laws of expected value
Where X is the random variable and c is a constant
E(c) = c E(X+c) = E(X)+c E(cX) = cE(X)
Laws of variance
Where X is the random variable and c is a constant
V(c)=0
V(X+c)= V(X)
V(cX) =c^2V(X)
Binomial experiment
- consists of a fixed number of trials (number of trials = n)
- each trial has two possible outcomes, one labeled success other labeled failure
- probability of success is p. Probability of failure is 1-p
- trials are independent (outcome of one trial does not affect the outcome of others)
Bernoulli Process
- each trial has two possible outcomes, one labeled success other labeled failure
- probability of success is p. Probability of failure is 1-p
- trials are independent (outcome of one trial does not affect the outcome of others)
Binomial experiment without fixed number of trials
Binomial random variable
Random variable is the number of successes in the n trials
A discrete variable (only integers)
Binomial probability distribution
The probability of x successes in a binomial experiment with n trials (where the probability of success = p)
P(x)= (n!/ x!(n-x)!)p^x(1-p)^(n-x)
Remember 0!=1
(First half determines number of ways to get that number of successes second half determines probability of each way)
Cumulative probability
The probability that a random variable is less than or equal to a value
For value x finding P(X<=x)
Sum of probabilities of all random variable values x and below
Binomial table
Provides cumulative binomial probabilities for given values of n (tests) and p (probability of success in a single experiment)