Reading Quiz 8 Flashcards
binomial setting conditions
- each observation has two possible categories/outcomes, success or failure
- the observations are independent
- the probability of success, called p, is the same for each observation
- there is a fixed number of observations, n
binomial random variable
if data are produced in a binomial setting, then the random variable X = number of successes is called a binomial random variable
binomial distribution
if data are produced in a binomial setting, and the random variable X = number of successes is a binomial random variable, then the probability distribution of X is called a binomial distribution
binomial distribution
the distribution of the count X of successes in the binomial setting
parameters n and p
parameter n
number of observations
parameter p
probability of a success on any one observation
possible values of X
whole numbers from 0 to n
X is
B(n,p)
always be careful
to check when binomial distributions apply
binomial coefficient
number of ways of arranging k success among n observations given by this
(n choose k) = (n!)/(k!)(n-k)!
formula for binomial coefficients uses
factorial notation
0!
1
(n choose k)
binomial coefficient n choose k
counts number of ways in which k successes can be distributed among n observations
binomial probability
if X has binomial distribution with n observations and probability p of success on each observation, the possible values of X are 0, 1, 2,…, n
if k is any one of these values:
P(X=k) = (n choose k) (p^k) (1-p)^(n-k) or
(n choose k) (p^k) (q)^(n-k)
probability distribution function (pdf)
given a discrete random variable X
assigns a probability to each value of X
probabilities must satisfy the rules for probabilities given in chapter 6
cumulative distribution function (cdf)
given a random variable X
cdf of X calculates the sum of the probabilities for 0, 1, 2, up to the value X
calculates the probability of obtaining at most X successes in n trials
mean and standard deviation of a binomial random variable
if count X has binomial distribution with number of observations n and probability of success p,
mean = np
standard deviation = square root of ((np)(1-p)) or
square root of (npq)
BUT ONLY FOR BINOMIAL DISTRIBUTIONS CAN’T BE USED FOR OTHER DISCRETE RANDOM VARIABLES
normal approximation for binomial distributions
count X has binomial distribution with n trials and success probability p
when n is large, distribution of X is approximately normal, N(mean, standard deviation)
use normal approximation when n and p satisfy np greater than or equal to 10 and n(1-p) greater than or equal to 10 or nq greater than or equal to 10
geometric setting conditions
- each observation has two possible outcomes/categories, success or failure
- the observations are all independent
- the probability of a success, called p, is the same for each observation
- the variable of interest is the number of trials required to obtain the first success
how does geometric variable differ from binomial variable
in the geometric setting the number of trials varies and the desired number of defined successes (1) is fixed in advance
if X has geometric distribution with probability p of success and (1-p) failure on each observation
possible values of X are 1, 2, 3, etc. if n is any one of these values, the probability that the first success occurs on the nth trial is
P(X=n) = (1-p)^(n-1) (p) or
P(X=n) = q^(n-1) (p)
mean and standard deviation of a geometric random variable
if X is geometric random variable with probability of success p on each trial,
mean/expected value = 1/p
variance = (1-p)/p^2 or
q/(p^2)
standard deviation is square root of variance formula