Clip 5a Statistics

Inferential Statistics

  • Goal:

    • To make inferences about the population based on data from a sample.

  • Toolkit:

    1. Probabilities (Chapter 4)

    2. Distributions (Chapters 5 and 6)

    3. Estimation (Chapters 7 and 8)

    4. Hypothesis Testing (Chapter 9)

Inferential Statistical Analysis Steps

  1. Parameters:

    • Describe the distribution of a variable.

    • These parameters are typically unknown.

  2. Sampling:

    • Take a random sample from the population to obtain necessary data.

  3. Calculating Statistics:

    • Calculate one or more statistics from the data to estimate the parameters of the distribution.

  4. Hypothesis Testing:

    • Test hypotheses that stem from the collected data.

A. Probabilities

  • Definition:

    • Probability is a numerical measure of the likelihood that an event will occur.

    • Ranges from 0 to 1.

  • Examples:

    • Probability that a customer will leave a company this year.

    • Probability that a stock price will increase next week.

  • Experiment:

    • An experiment is a process leading to an outcome.

    • In data analysis, an experiment or process will produce a variable which has a value (the outcome).

    • The sum of the probabilities of all outcomes (sample space) must equal 1.0.

    • An event is defined as a collection of outcomes (or sample points).

Example of Investments

  • Stocks:

    • Marrley Oil and Cullins Mining

    • Possible outcomes of investments:

      • Marrley Oil: Gain or Loss in 3 months (in €000)

      • Outcomes: (10, 8), (50, -20), (-2, etc.)

      • Cullins Mining: Gain or Loss in 3 months (in €000)

      • Outcomes: (10, -2), (5, 8), etc.

  • Tree Diagram Outcomes:

    • Example Outcomes:

    • (10, 8): Gain €18,000

    • (10, -2): Gain €8,000

    • (5, 8): Gain €13,000

    • (5, -2): Gain €3,000

    • (0, 8): Gain €8,000

    • (0, -2): Lose €2,000

    • (-20, 8): Lose €12,000

    • (-20, -2): Lose €22,000

Probability Assignments for Outcomes

  • Applying the subjective method, a probability analyst assigns probabilities as follows:

    • Outcome (10, 8): Net Gain €18,000, Probability 0.20

    • Outcome (10, -2): Net Gain €8,000, Probability 0.08

    • Outcome (5, 8): Net Gain €13,000, Probability 0.16

    • Outcome (5, -2): Net Gain €3,000, Probability 0.26

    • Outcome (0, 8): Net Gain €8,000, Probability 0.10

    • Outcome (0, -2): Net Loss €2,000, Probability 0.12

    • Outcome (-20, 8): Net Loss €12,000, Probability 0.02

    • Outcome (-20, -2): Net Loss €22,000, Probability 0.06

Probability of an Event

  • Event M: Marrley Oil Profitable

    • M = {(10,8), (10,-2), (5, 8), (5,-2)}

  • Calculation:

    • P(M)=P(10,8)+P(10,−2)+P(5,8)+P(5,−2)P(M) = P(10, 8) + P(10, −2) + P(5,8) + P(5,-2)

    • =0.20+0.08+0.16+0.26=0.70= 0.20 + 0.08 + 0.16 + 0.26 = 0.70

Basic Relationships in Probabilities

  • Complement of an event:

    • P(A)=1–P(Aˉ)P(A) = 1 – P(Ā)

  • Union of two events:

    • The union of events A and B is the event containing all sample points that are in A, B, or both.

    • Denoted as: A ∪ B

  • Example of Union:

    • Event M: Marrley Oil Profitable

    • Event C: Cullins Mining Profitable

    • Union: M ∪ C = {(10, 8), (10, -2), (5, 8), (5,-2), (0, 8), (-20, 8)}

    • P(MextorC)=P(M)+P(C)−P(MextandC)P(M ext{ or } C) = P(M) + P(C) - P(M ext{ and } C)

Intersection of Two Events

  • Definition:

    • The intersection of events A and B is the set of all sample points that are in both A and B. Denoted as: A ∩ B

  • Example:

    • Event M: Marrley Oil Profitable

    • Event C: Cullins Mining Profitable

    • Intersection: M ∩ C = {(10, 8), (5, 8)}

    • P(MextandC)=P(10,8)+P(5,8)=0.20+0.16=0.36P(M ext{ and } C) = P(10, 8) + P(5, 8) = 0.20 + 0.16 = 0.36

Addition Law

  • Definition:

    • Provides a way to compute the probability of event A, or B, or both A and B occurring.

    • Written as: P(AextorB)=P(A)+P(B)−P(AextandB)P(A ext{ or } B) = P(A) + P(B) - P(A ext{ and } B)

  • Addition Law Example:

    • Events M (= Marrley Oil Profitable) and C (= Cullins Mining Profitable)

    • Known values:

    • P(M)=0.70P(M) = 0.70

    • P(C)=0.48P(C) = 0.48

    • P(MextandC)=0.36P(M ext{ and } C) = 0.36

    • Calculation:

    • P(MextorC)=0.70+0.48−0.36=0.82P(M ext{ or } C) = 0.70 + 0.48 - 0.36 = 0.82

Mutually Exclusive Events

  • Definition:

    • Two events are said to be mutually exclusive if the events have no sample points in common.

    • When one event occurs, the other cannot occur.

  • Addition law for Mutually Exclusive Events:

    • If events A and B are mutually exclusive, then P(AextandB)=0P(A ext{ and } B) = 0

    • The law becomes: P(AextorB)=P(A)+P(B)P(A ext{ or } B) = P(A) + P(B)

Conditional Probability

  • Definition:

    • The probability of an event given that another event has occurred is called conditional probability.

    • Denoted by: P(A∣B)P(A|B)

  • Formula:

    • P(A∣B)=racP(AextandB)P(B)P(A|B) = rac{P(A ext{ and } B)}{P(B)}

  • Example of Conditional Probability:

    • Event M: Marrley Oil Profitable

    • Event C: Cullins Mining Profitable

    • P(C∣M)=racP(CextandM)P(M)=rac0.360.70=0.5143P(C | M) = rac{P(C ext{ and } M)}{P(M)} = rac{0.36}{0.70} = 0.5143

Multiplication Law

  • Definition:

    • Provides a way to compute the probability of the intersection of two events.

    • Written as: P(AextandB)=P(B)P(A∣B)P(A ext{ and } B) = P(B)P(A|B)

  • Example of Multiplication Law:

    • For events M (= Marrley Oil Profitable) and C (= Cullins Mining Profitable)

    • Known values:

    • P(M)=0.70P(M) = 0.70

    • P(C∣M)=0.5143P(C|M) = 0.5143

    • Calculation:

    • P(MextandC)=P(M)P(C∣M)=(0.70)(0.5143)=0.36P(M ext{ and } C) = P(M)P(C|M) = (0.70)(0.5143) = 0.36

Independent Events

  • Definition:

    • Events A and B are independent if the probability of event A is not affected by the existence of event B.

    • Mathematically, this can be expressed as:

    • P(A∣B)=P(A)P(A|B) = P(A)

    • or P(B∣A)=P(B)P(B|A) = P(B)

  • Multiplication Law for Independent Events:

    • If A and B are independent, then:
      P(AextandB)=P(A)P(B)P(A ext{ and } B) = P(A)P(B)

  • Example to Determine Independence:

    • Compare: P(MextandC)P(M ext{ and } C) with P(M)P(C)P(M)P(C)

    • For M (Probability 0.70) and C (Probability 0.48):

    • P(MextandC)=0.36P(M ext{ and } C) = 0.36

    • Calculating P(M)P(C)=(0.70)(0.48)=0.336P(M)P(C) = (0.70)(0.48) = 0.336

    • Conclusion: Since 0.36 does not equal 0.336, events M and C are not independent.

B. Distributions

Conclusion

  • Understanding these concepts is crucial for engaging in effective statistical analysis and making informed decisions based on data.

  • The wrapping up involves checking other knowledge clips for further learning opportunities.