chapters 5 and 6 probability and binomial distribution Flashcards
what is a experiment
- repeatable process that gives rise to a number of outcomes
what is an event
- a set/collection of one or more of these outcomes
what is a sample space
set of all possible outcomes
what does it mean if events are “equally likely”
- the probability of an event is the number of outcomes in event divided by total number of possible outcomes
what is the purpose of using a venn diagram
- used as a visual representations of events happening
what does the rectangle labelled S signify
- sample space
what does area in middle represent
P(A AND B)
- intersection of A and B
what does the whole area in both circles represent
P(A OR B)
- union of A and B
what does area outside of A represent
P(A’) = 1 - P(A)
what does it mean if events are mutually exclusive
- when 2 events cannot happen at same time (events have no outcomes in common)
using P(A) and P(B), write the statements for AND + OR that can be made for mutually exclusive events
- P(A AND B) = 0
- P(A OR B) = P(A) + P(B)
if you drew a venn diagram of mutually exclusive events would the circle overlap or not
- they wouldn’t overlap as they cant happen at the same time
what does it mean if events are independent. give example
- when one event happening doesn’t affect probability of another happening
- tossing a coin and rolling a dice are independent
using P(A) and P(B), write the statement for AND that can be made for independent events
- P(A AND B) = P(A) x P(B)
what are tree diagrams used for
- used to show possible outcomes for 2 or more events happening in succession
what is a probability distribution
- fully describes the probability of any outcome in the sample space
what is a random variable
variable whose value depends on the outcome of a random event (outcome isn’t known until experiment carried out)
(e.g when we roll 5 dice, number of 6’s rolled = r.v)
What are the range of values the random variable can take known as. And how can it be drawn?
- sample space which can be drawn as a table
the sum of the probabilities of all outcomes of an event add to what
one
what is a discrete variable
- only takes certain countable numerical values
what is a discrete random variable. give example
-values which can only take certain numerical values each of which can be assigned a probability
example: number times 1 is rolled when rolling dice 10 times (can only take certain numerical values and each can be assigned a probability)
how can the probability distribution for a discrete random variable be described
- probability mass function
- table
- diagram
in a table with little x on top row and P(X = x) on bottom row, what do these 2 things represent
- little x on top row: represents the event being considered and includes all possible outcomes
- P(X = x) on bottom row: represents “the probability of each event happening”
what is a probability mass function
- summarises the probabilities and events which take those values
example: P(X = x) = {1/8 x=0,3 3/8 x=1,2 0 otherwise}
give a benefit of using probability mass function
- impossible to list probability for every outcome, more compact
give a benefit of using table form
- probability for each outcome more explicit
for a random variable X, how can you write a statement to define probabilities add to 1
ΣP(X = x) = 1 for all x
if all probabilities are the same it is known as what?
- a discrete uniform distribution
what is a binomial distribution
- discrete probability distribution
The discrete random variable follows a binomial distribution if it counts the number of successes when an experiment satisfies what conditions
- fixed number of trials (n)
- the trials are independent of each other
- two possible outcomes (success or failure)
- probability of success (p) is constant
how can you model a random variable X as a binomial distribution
If X follows a binomial distribution then it is denoted X ~ B (n,p)
(n = num of trials and p = probability of success)
if a random variable X has the binomial distribution B(n,p) then its probability mass function is given by what?
P(X = r) = (nCr)p∧r(1-p)∧n-r
(1-p also seen as letter q)
what does a cumulative probability function tell you
- sum of all the individual probabilities up to and including chosen value
what is a set
represents a collection of items