Probability Statistics

Cover

Probability Course (2024).pdf

📚 Probability Course (2024).pdf

Brief overview

This document provides a comprehensive introduction to the fundamental principles and applications of probability theory. Understanding these concepts is crucial for analyzing random phenomena and making informed decisions in various fields.

Key points

  • Overview of elementary probability concepts, counting rules, permutations, and combinations.
  • Exploration of sample spaces, events, and the fundamental axioms of probability.
  • Understanding conditional probability, independent events, and their implications.
  • Introduction to random variables, expected values, variances, and key probability distributions.
  • Detailed coverage of Bernoulli, Binomial, and Normal distributions, including approximations.

1. Introduction to elementary probability

1.1 Probability basics

  • Probability: The mathematical tool for dealing with uncertain events. It measures the likelihood of an event occurring.
  • Range of probability: Values span from 0 (impossible event) to 1 (certain event).

This field helps predict the chance of events using mathematical tools. It provides a framework for understanding randomness in various applications. A stylized lightbulb composed of four puzzle pieces, symbolizing ideas and learning.

1.2 Counting principles

  • Fundamental counting rule: If experiment 1 has mm outcomes and experiment 2 has nn outcomes, then together they have m×nm \times n outcomes.
  • Example: Choosing a course (2 options) and a language (3 options) results in 2×3=62 \times 3 = 6 possible choices.

A diagram illustrating the concept of combinatorial analysis with a lightbulb representing an idea and connected nodes representing experiments and outcomes.

  • Generalized basic principle of counting: For rr experiments with n1,n2,…,nrn_1, n_2, \dots, n_r outcomes respectively, the total number of outcomes is n1×n2×⋯×nrn_1 \times n_2 \times \dots \times n_r.
  • Example: A subcommittee of 4, with one person from each of four classes (3 engineers, 4 doctors, 5 teachers, 2 accountants), can be formed in 3×4×5×2=1203 \times 4 \times 5 \times 2 = 120 ways.

📝 Example: License plates with 3 letters and 4 numbers. If repetitions are allowed, there are 263×104=175,760,00026^3 \times 10^4 = 175,760,000 possibilities. If repetitions are prohibited, there are 26×25×24×10×9×8×7=78,624,00026 \times 25 \times 24 \times 10 \times 9 \times 8 \times 7 = 78,624,000 possibilities 7.

1.3 Permutations

  • Permutations: The different ordered arrangements of a set of nn distinct objects. The total number of permutations is n!n! (n factorial).
  • n!=n×(n−1)×⋯×2×1n! = n \times (n-1) \times \dots \times 2 \times 1. By convention, 0!=10! = 1.
  • Example: A baseball team of 9 players has 9!=362,8809! = 362,880 possible batting orders 8.

📝 Example: For 10 students ranked by performance, there are 10!=3,628,80010! = 3,628,800 possible rankings. If 6 men and 4 women are ranked separately, there are 6!×4!=17,2806! \times 4! = 17,280 rankings 9.

1.3.1 Permutations with repetitions

  • Permutations with repetitions: The number of distinct arrangements of objects where some are identical. For rr types of objects with counts n1,n2,…,nrn_1, n_2, \dots, n_r, the total number of permutations is n!n1!n2!…nr!\frac{n!}{n_1! n_2! \dots n_r!}, where n=n1+n2+⋯+nrn = n_1 + n_2 + \dots + n_r. Formula for permutations with repetitions, showing the total number of permutations as n! divided by the product of factorials of the counts of each distinct element.

📝 Example: The word "statistics" has 10 letters with repetitions: S T A I C. The number of unique anagrams is 10!3!3!1!2!1!=50,400\frac{10!}{3!3!1!2!1!} = 50,400.

1.3.2 k-permutations

  • k-permutations: The number of ways to select and arrange kk objects from a set of nn distinct objects. The formula is P(n,k)=n!(n−k)!P(n, k) = \frac{n!}{(n-k)!}.
  • Example: Aligning 4 cards from 9 available cards can be done in 9×8×7×6=3,0249 \times 8 \times 7 \times 6 = 3,024 ways 12.
Cover

Probability MindMap.pdf

Table of contents

  1. Probability

1. Probability

1.1 Probability concepts

Probability experiments involve events, which are possible results or outcomes. An outcome is a specific result from such an experiment.

The sample space is the complete list of all possible outcomes. The probability of any event must always be a value between 0 and 1, inclusive.

Relative frequency is a probability determined by the actual results of an experiment and can be used to predict future outcomes. The sum of all relative frequencies in an experiment must equal 1 1.

1.2 Mutually exclusive and non-mutually exclusive events

Mutually exclusive events are outcomes that cannot happen at the same time. In contrast, non-mutually exclusive events are outcomes that can occur simultaneously 1.

📝 If a coin is flipped, the outcomes "heads" and "tails" are mutually exclusive because they cannot happen at the same time. However, if you roll a die and are interested in the events "rolling an even number" and "rolling a number greater than 3," these are non-mutually exclusive because rolling a 4 or 6 satisfies both conditions. 1

1.3 Visualizing probability data

Venn diagrams are effective tools for visualizing information, especially when dealing with non-mutually exclusive events. They help show the relationships between different sets of outcomes 1.

A Venn diagram illustrating the number of people who chose Chinese, Art, both, or neither.

Two-way tables are also useful for displaying data that involves two characteristics or categories. They organize information in a grid format, making it easier to analyze relationships between variables 1.

Cover

Probability Mock 2024 with answers.docx

Table of contents

  1. Living in NZ - Question One
  2. Question Two
  3. Question Three
  4. Assessment Schedule
  5. Cut Score and Grade Information

1. Living in NZ - Question One

1.1 Life satisfaction ratings

This section analyzes life satisfaction data from a 2021 survey of 3484 New Zealanders aged 15 and over. The survey aimed to represent the entire population.

  • Survey period: April 1 to August 17, 2021.
  • Data collected: Overall life satisfaction ratings based on living area (Large Urban, Small/Medium Urban, Rural) and satisfaction level (Completely Satisfied, Somewhat Satisfied, Somewhat Dissatisfied).
Urban/RuralOverall Life SatisfactionLarge UrbanSmall/Medium UrbanRuralTOTAL
somewhat dissatisfied—43815963660
somewhat satisfied—15164063312253
completely satisfied—349121101571
TOTAL—23036864953484

1.2 Probability of rural area and complete satisfaction

This question asks for the probability that a randomly chosen respondent lived in a rural area and was completely satisfied with their life. This involves finding the intersection of two events.

  • Calculation: The number of respondents from rural areas who were completely satisfied is 101. The total number of respondents is 3484.
  • Probability: P(Rural∩Completely Satisfied)=1013484P(\text{Rural} \cap \text{Completely Satisfied}) = \frac{101}{3484}

1.3 Probability of large urban area or somewhat dissatisfied

This question asks for the probability that a randomly chosen respondent was from a large urban area or was somewhat dissatisfied. This involves the union of two events.

  • Calculation:
  • Number of respondents from large urban areas: 2303
  • Number of respondents who were somewhat dissatisfied: 660
  • Number of respondents from large urban areas AND somewhat dissatisfied: 438
  • Probability: P(Large Urban∪Somewhat Dissatisfied)=P(Large Urban)+P(Somewhat Dissatisfied)−P(Large Urban∩Somewhat Dissatisfied)P(\text{Large Urban} \cup \text{Somewhat Dissatisfied}) = P(\text{Large Urban}) + P(\text{Somewhat Dissatisfied}) - P(\text{Large Urban} \cap \text{Somewhat Dissatisfied}) P(Large Urban∪Somewhat Dissatisfied)=23033484+6603484−4383484P(\text{Large Urban} \cup \text{Somewhat Dissatisfied}) = \frac{2303}{3484} + \frac{660}{3484} - \frac{438}{3484}

1.4 Conditional probability: urban area given not dissatisfied

This question asks for the probability that a respondent was from an urban area, given that they were not dissatisfied with their life. This is a conditional probability problem.

  • Identify the condition: The respondent was not dissatisfied.
  • Calculate total not dissatisfied: Total respondents - Somewhat Dissatisfied = 3484−660=28243484 - 660 = 2824.
  • Identify the event within the condition: The respondent was from an urban area (Large Urban or Small/Medium Urban).
  • Calculate urban respondents who were not dissatisfied:
  • Large Urban, Somewhat Satisfied: 1516
  • Large Urban, Completely Satisfied: 349
  • Small/Medium Urban, Somewhat Satisfied: 406
  • Small/Medium Urban, Completely Satisfied: 121
  • Total urban and not dissatisfied: 1516+349+406+121=23921516 + 349 + 406 + 121 = 2392.
  • Conditional Probability: P(Urban∣Not Dissatisfied)=Number of urban respondents not dissatisfiedTotal number of respondents not dissatisfied=23922824P(\text{Urban} | \text{Not Dissatisfied}) = \frac{\text{Number of urban respondents not dissatisfied}}{\text{Total number of respondents not dissatisfied}} = \frac{2392}{2824}

1.5 Validity of the mayor's claim

The mayor claims that people from Large Urban areas are approximately 20% less likely to express life dissatisfaction than people from Small/Medium Urban areas. This requires calculating the probability of dissatisfaction for each group and comparing them.

  • Calculate probability of dissatisfaction for Large Urban:
  • Number somewhat dissatisfied in Large Urban: 438
  • Total in Large Urban: 2303
  • P(Dissatisfied∣Large Urban)=4382303P(\text{Dissatisfied} | \text{Large Urban}) = \frac{438}{2303}
  • Calculate probability of dissatisfaction for Small/Medium Urban:
  • Number somewhat dissatisfied in Small/Medium Urban: 159
  • Total in Small/Medium Urban: 686
  • P(Dissatisfied∣Small/Medium Urban)=159686P(\text{Dissatisfied} | \text{Small/Medium Urban}) = \frac{159}{686}
  • Compare the probabilities: Calculate the relative risk or percentage difference to assess the mayor's claim.

1.6 Expected number of urban New Zealanders somewhat satisfied

This question requires calculating the expected number of urban New Zealanders who are somewhat satisfied, using the survey data and the 2023 population statistics.

  • Information provided:
  • 83.6% of the New Zealand population lives in urban areas.
  • Total New Zealand population in 2023: 5,200,000.
  • From the table, the proportion of urban respondents who were somewhat satisfied is 15162303\frac{1516}{2303}.
  • Steps:
  1. Calculate the total number of urban New Zealanders: 0.836×5,200,0000.836 \times 5,200,000.
  2. Calculate the expected number of urban New Zealanders who are somewhat satisfied: (Proportion of urban somewhat satisfied) ×\times (Total urban New Zealanders).
  • Reliability comment: Discuss factors that might affect the reliability of this
Cover

Probability Mock 2025 with answers.docx

Table of contents

  1. Generosity
  2. Question 2
  3. Hours worked per week
  4. Question 3
  5. USA Survey on Charity

1. Generosity

This section explores generosity in New Zealand through survey data on volunteering habits across different age groups. It also examines the relationship between work status and volunteering.

1.1 Volunteering proportions

The survey asked 800 randomly selected New Zealanders if they had volunteered in the last month. The data was categorized by age group: 15-24 years (youth) and 65 years and older.

  • Proportion of respondents who volunteered: 424 out of 800 respondents volunteered. This is a proportion of 424/800=0.53424/800 = 0.53.
  • Probability of a non-volunteer being aged 15-24: There were 376 non-volunteers in total. Of these, 150 were aged 15-24. The probability is 150/376≈0.399150/376 \approx 0.399.

1.2 Media claim justification

A media release claimed it was less likely for 15-24 year-olds to volunteer than those aged over 65. This claim is incorrect.

  • Probability of a 15-24 year-old volunteering: 170 out of 320 respondents in this age group volunteered, giving a probability of 170/320≈0.531170/320 \approx 0.531.
  • Probability of a 65+ year-old volunteering: 254 out of 480 respondents in this age group volunteered, giving a probability of 254/480≈0.529254/480 \approx 0.529.
  • Justification: While the probabilities are very close (0.531 vs 0.529), the claim that it is "less likely" for 15-24 year-olds to volunteer is not supported by the data. The difference is negligible, and rounding to two decimal places would show them as equal.

1.3 Work status and volunteering

The survey also collected data on respondents' work status (full-time, part-time, or not in work) and whether they volunteered.

  • Completed table:
Age GroupVolunteeredDid Not VolunteerTotal
15–24 years170150320
65+ years254226480
Total424376800
  • Completed table with work status:
—VolunteeredDid Not VolunteerTotal
In full time work9382175
In part time work7758135
Not in work254236490
Total424376800

Note: The values for "In part time work" and "Not in work" are derived from the given totals and the provided information that 135 respondents were in part-time work and 231 respondents were not in work and did not volunteer.

  • Expected volunteers in part-time work: If another group of 1250 respondents who were volunteers aged 15-24 and 65+ were selected, we would expect approximately 296 of them to be in part-time work. This is calculated by taking the proportion of volunteers in part-time work from the survey (135 total in part-time work / 800 total respondents = 0.16875) and multiplying it by the new group size: 0.16875×1250≈2110.16875 \times 1250 \approx 211. Correction based on provided solution: The provided solution indicates an expected number of 212 or 213. Re-calculating based on the completed table: 135 respondents in part-time work out of 800 total. Proportion is 135/800 = 0.16875. Expected in part-time work for 1250 volunteers: 0.16875 * 1250 = 210.9375. The provided solution's expected number of 212 or 213 suggests a different calculation or interpretation not fully detailed here.

1.4 Comparison with Australian survey

A similar survey of 500 people in Australia was conducted.

  • New Zealanders in full-time work volunteering: From the completed table, 93 out of 175 New Zealanders in full-time work volunteered. The probability is 93/175≈0.53193/175 \approx 0.531.
  • Australians in full-time work volunteering: From the Australian table, 36 out of 255 Australians in full-time work volunteered. The probability is 36/255≈0.14136/255 \approx 0.141.
  • Discussion on claim validity: The claim that New Zealanders in full-time work are nearly four times as likely to volunteer than Australians in full-time work is supported by the data. The ratio of the probabilities is 0.531/0.141≈3.770.531 / 0.141 \approx 3.77. Since 3.77 is close to 4, there is sufficient evidence to support the validity of this claim.

2. Question 2

This section models the number of food parcels distributed daily by a local church using a normal distribution.

2.1 Probability of distributing more than 18 food parcels

The number of food parcels distributed in a day is approximated by a normal distribution with a mean (μ\mu) of 15 parcels and a standard deviation (σ\sigma) of 3 parcels.

  • Probability calculation: To find the probability of distributing more than 18 food parcels, we calculate the z-score for 18: z=(18−15)/3=1z = (18 - 15) / 3 = 1. Using a standard normal distribution table or calculator, P(X>18)=P(Z>1)≈0.1587P(X > 18) = P(Z > 1) \approx 0.1587.
Cover

Probability.pptx.pdf

Table of contents

  1. Learning objective
  2. Probability
  3. The probability of an event
  4. Mutually Exclusive and Non- Mutually Exclusive Events

1. Learning objective

1.1 Learning objective

The learning objective for this session is to calculate and compare the probabilities of simple events. This involves applying probability concepts and analyzing the results 2.

1.2 Socio-emotional goal

The socio-emotional goal for this session is to foster respect and confidence. This will be achieved by listening attentively to others, asking questions without fear of error, and valuing classmates' ideas during the learning process 2.

2. Probability

2.1 Introduction to probability

Probability is a mathematical concept that describes how likely an event is to happen or how likely a statement is to be true. It provides a numerical way to express uncertainty 3.

2.2 Representing probability4

Probability is represented on a scale from 0 to 1, where 0 means an event is impossible and 1 means it is certain. Values between 0 and 1 indicate varying degrees of likelihood 3.

DescriptionProbability ValueExample
Impossible0To live forever
UnlikelyBetween 0 and 0.5Winning the lottery
Even chanceExactly 0.5Landing heads on a coin flip
LikelyBetween 0.5 and 1Becoming a good student
CertainExactly 1The sun will rise again

2.3 Probability scale examples

The probability scale can be visualized with examples. An impossible event has a probability of 0, while a certain event has a probability of 1. Events with probabilities between 0 and 1 are classified as unlikely, even chance, or likely 3 4.

📝 A spinner with sections labeled 1, 2, 3, and L, C, O, 2, 1, 3, 65 has a very low chance of landing on a specific number like '65' because it represents a small portion of the total possible outcomes 5.

3. The probability of an event

3.1 Definition of probability

The probability of an event is a measure of how likely that event is to occur. It is calculated by dividing the number of ways an event can happen by the total number of possible outcomes.

This fundamental formula helps quantify uncertainty in various situations 6 7 8 9 10 11 12 13 14 15 16 17 18 19.

  • P(E): This notation represents the probability of a specific event, E, occurring.
  • Formula for probability:
  • P(Event) = (Number of ways the event can happen) / (Total number of possible outcomes) 6.

3.2 Calculating probability from outcomes

Probability calculations involve identifying favorable outcomes and the total possible outcomes. This can be applied to scenarios involving picking objects from containers, spinning spinners, or rolling dice.

The results can be expressed as fractions, decimals, or percentages 7 8 9 10 11 12 13 14 16 17 18 19.

  • Exercise 1: A marble is picked at random from a bag.
  • a) Calculate the probability that it is red, as a fraction and a decimal.
  • b) Describe the event using one of these terms: impossible, unlikely, even chance, likely, certain 7.
  • Exercise 2: A marble is picked at random from a bag.
  • a) Calculate the probability that it is not red, as a fraction and a decimal, and explain the method.
  • b) Describe the event using one of these terms: impossible, unlikely, even chance, likely, certain 8.
  • Sweets in a bag: A bag contains 5 green, 3 yellow, and 2 pink sweets.
  • The chance of picking a yellow sweet is 3 out of 10 9.
  • Spinner outcomes: A spinner has 8 equal sections numbered 1, 2, 3, 4.
  • True or false statements about spinning the spinner:
  • There is a 2 out of 8 chance of spinning a 2.
  • There is an even chance of spinning an odd number.
  • Spinning a 2 is more likely than spinning a 1.
  • Spinning a 5 is impossible 10.
  • Balls in bags: Four bags contain black and white balls. Match probabilities of picking a white ball to the correct bag.
  • Bag A: 25% chance of picking a white ball.
  • Bag B: 2 out of 3 chance of picking a white ball 11.
  • Dice rolling events: Mike rolls a fair 1 to 6 dice. Compare the likelihood of two pairs of events.
  • Pair 1: Mike rolls a 3 OR Mike rolls an even number.
  • Pair 2: Mike rolls a number less than 5 OR Mike rolls a number greater than 5 12.
  • Computer program frequencies: Chen's program displays numbers 1, 2, 3, 4. After 1000 runs, frequencies are recorded.
  • Chen claims the probability of displaying an odd number equals the probability of d
Cover

Probability-Simple-S25.pdf

Table of contents

  1. Probability questions
  2. Relative frequency and estimations
  3. Probability involving multiple events and combinations
  4. Probability with unknown quantities

1. Probability questions

1.1 Probability basics with discs

This section covers calculating probabilities when selecting a disc at random from a set. The probability of an event is the number of favorable outcomes divided by the total number of possible outcomes 1.

  • Total discs: There are six discs shown in the diagram.
  • Disc properties: Each disc has a color (Red, Yellow, Blue) and a number 1.

The probabilities are calculated as follows:

  • Probability of picking a disc with the number 4: This is the number of discs with '4' divided by the total number of discs.
  • Probability of picking a red disc with the number 3: This requires the disc to meet both conditions.
  • Probability of picking a blue disc with the number 4: This also requires the disc to meet both color and number conditions 1.

1.2 Spinner probabilities 1

This section deals with calculating probabilities for outcomes on a spinner. The sum of probabilities for all possible outcomes must equal 1 3 4 5.

  • Spinner outcomes: A spinner can land on different letters or colors.
  • Probability sum: The probabilities of all possible outcomes for a spinner must add up to 1 1 3 4 5.

The following table shows how to complete probability tables for spinners:

OutcomeProbability
A0.2
B—
C0.35
D0.3
ColourProbability
Red0.3
Blue0.35
Green0.13
Yellowx

To find the value of x, you subtract the known probabilities from 1: x=1−(0.3+0.35+0.13)x = 1 - (0.3 + 0.35 + 0.13) 1.

ColourProbability
Red0.3
Blue0.16
Green0.18
Yellow—
Orange—

The missing probabilities can be found by ensuring the total probability is 1 3.

ColourProbability
Green2/5
Black1/4
Red—

The probability of landing on red can be calculated by subtracting the probabilities of green and black from 1 5.

1.3 Expected outcomes

This section explains how to calculate the expected number of times an event will occur based on its probability and the number of trials. The expected number is calculated by multiplying the probability of the event by the total number of trials 3 4 5 8.

  • Expected number calculation: Expected number = Probability of event × Number of trials 3 4 5 8.

Example: If the probability of an event is 0.3 and it is repeated 40 times, the expected number of times is 0.3×400.3 \times 40 5.

Example: For 1800 students, the expected number who walk to school is 0.32×18000.32 \times 1800 3.

Example: If Priyanka plays a game 120 times and the probability of winning is 0.3, the expected number of wins is 0.3×1200.3 \times 120 4.

Example: If Abdul takes a ball 200 times and the probability of picking a red ball is 0.2, the expected number of red balls is 0.2×2000.2 \times 200 4.

Example: If Samira picks a card 35 times and the probability of picking an odd number is calculated, the expected number of odd picks is that probability multiplied by 35 5.

1.4 Probability with bags of balls

This section covers calculating probabilities when selecting balls from a bag. The probability is the number of balls of a specific color divided by the total number of balls in the bag 6.

  • Total balls: The total number of balls is the sum of balls of all colors.
  • Probability of a specific color: This is the count of balls of that color divided by the total number of balls 6.

Example: The probability of choosing a yellow ball from a bag with 7 black, 2 red, and 4 yellow balls is the number of yellow balls divided by the total number of balls (7 + 2 + 4 = 13) 4 6.

  • Probability of not a specific color: This can be calculated by subtracting the probability of picking that color from 1 6.

Example: The probability of not picking a blue ball from a bag with 3 blue and 7 green balls is 1−P(blue)1 - P(\text{blue}) 6.

1.5 Probability with dice

This section addresses calculating probabilities when rolling a die. The probability of an outcome is the number of favorable faces divided by the total number of faces on the die 6.

  • Die faces: A standard six-sided die is numbered 1 to 6.
  • Probability of rolling a specific number: For a fair die, each number has an equal probability 6.

Example: The probability of rolling a 6 on a six-sided die is 1/6 6.

Cover

Probability_Statistics_Study_Guide(1).pdf

Table of contents

  1. Basics of probability
  2. Counting
  3. Discrete Random Variables
  4. Continuous Random Variables
  5. Joint Distributions
  6. Inequalities and Moment-Generating Functions
  7. Limit Theorems
  8. Statistics: from Data to Decisions
  9. Confidence interval for a mean
  10. One-Page Formula Cheat Sheet

1. Basics of probability

Probability quantifies the likelihood of an event, ranging from 0 (impossible) to 1 (certain), and represents the long-run frequency of an event in repeated experiments 2.

1.1 Vocabulary

Key terms define the components of probability theory, helping to describe random phenomena 2.

  • Random experiment: an action with an unpredictable outcome.
  • Sample space (S): the complete set of all possible outcomes of a random experiment.
  • Event: a specific collection of outcomes, forming a subset of the sample space.
WordMeaningExample (roll one die)
Random experimentAn action whose result you cannot predict for sureRolling the die
Sample space SThe set of ALL possible outcomesS = {1, 2, 3, 4, 5, 6}
EventA group of outcomes you care about (a subset of S)A = “even number” = {2, 4, 6}

1.2 Rules of probability

Several fundamental rules govern how probabilities are calculated and combined 2.

  • Probability range: The probability of any event A, P(A)P(A), must be between 0 and 1, inclusive (0≤P(A)≤10 \le P(A) \le 1).
  • Sample space probability: The probability of the entire sample space is 1 (P(S)=1P(S) = 1).
  • Disjoint events: If two events A and B cannot occur simultaneously (they are disjoint), the probability of A or B occurring is the sum of their individual probabilities (P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)).
  • Complement rule: The probability that an event A does not occur, denoted P(Ac)P(A^c), is 1 minus the probability that A does occur (P(Ac)=1−P(A)P(A^c) = 1 - P(A)).
  • General addition rule: For any two events A and B, the probability of A or B occurring is P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).
  • Equally likely outcomes: If all outcomes in the sample space are equally likely, the probability of an event A is the ratio of the number of outcomes in A to the total number of outcomes in S (P(A)=(number of outcomes in A)/(number of outcomes in S)P(A) = \text{(number of outcomes in A)} / \text{(number of outcomes in S)}).

📝 When rolling a fair die, the probability of getting an even number or a number greater than 4 is calculated by identifying the outcomes: Even = {2, 4, 6}, Greater than 4 = {5, 6}. The union is {2, 4, 5, 6}, so P(even or > 4)=4/6P(\text{even or > 4}) = 4/6. Using the formula: P(even)+P(> 4)−P(even and > 4)=3/6+2/6−1/6=4/6P(\text{even}) + P(\text{> 4}) - P(\text{even and > 4}) = 3/6 + 2/6 - 1/6 = 4/6 2.

1.3 Conditional probability and independence

Conditional probability assesses the likelihood of an event given that another event has already occurred, while independence describes events that do not influence each other 3.

  • Conditional probability: P(A∣B)P(A | B) is the probability of event A happening given that event B has already happened. It is calculated as P(A∣B)=P(A∩B)/P(B)P(A | B) = P(A \cap B) / P(B), provided P(B)>0P(B) > 0.
  • Multiplication rule: This rule relates the probability of the intersection of two events to their conditional probabilities: P(A∩B)=P(A∣B)⋅P(B)P(A \cap B) = P(A | B) \cdot P(B).
  • Independent events: Two events A and B are independent if the occurrence of one does not affect the probability of the other. This means P(A∣B)=P(A)P(A | B) = P(A), or equivalently, P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B).
  • Chain rule: For multiple events, the probability of their intersection can be expanded using conditional probabilities: P(A∩B∩C)=P(A)⋅P(B∣A)⋅P(C∣A∩B)P(A \cap B \cap C) = P(A) \cdot P(B | A) \cdot P(C | A \cap B).
  • Disjoint vs. independent: Disjoint events are not independent; if two disjoint events are possible, knowing one occurred means the other cannot, indicating strong dependence.

📝 If you flip two fair coins, the outcome of the first coin flip (e.g., heads) does not affect the outcome of the second coin flip. These are independent events 3.

1.4 Total probability and Bayes’ rule

These rules provide frameworks for calculating probabilities when events are partitioned or for updating probabilities based on new information 3.

  • Law of total probability: This law states that the probability of an event A can be found by summing the probabilities of A occurring under each possible condition of a partition of the sample space. If B1,B2,…,BnB_1, B_2, \dots, B_n form a partition, then P(A)=∑i=1nP(A∣Bi)P(Bi)P(A) = \sum_{i=1}^n P(A | B_i)P(B_i).
  • Bayes’ rule: This rule allows for the calculation of a conditional probability P(Bi∣A)P(B_i | A) when P(A∣Bi)P(A | B_i) is known. It is given by P(Bi∣A)=P(A∣Bi)⋅P(Bi)P(A)P(B_i | A) = \frac{P(A | B_i) \cdot P(B_i)}{P(A)}. It is often used to "reverse" conditional probabilities, such as finding the probability of a disease given a positive test result.
Cover

pruebas-paramc3a9tricas-y-no-parametricas (2).pdf

Table of contents

  1. Parametric and Non-Parametric Tests
  2. Types of Parametric Tests
  3. Covariation Tests
  4. Non-Parametric Tests
  5. Fisher's Exact Probability Test and Yates' Correction
  6. McNemar's Test for Dependent Samples
  7. Cochran's Q Test for Three or More Dependent Samples
  8. Types of Non-Parametric Tests: Ordinal
  9. Summary

1. Parametric and Non-Parametric Tests

1.1 Introduction to Parametric Tests

Parametric tests are used for hypothesis testing when estimating population parameters from samples. They assume that the population distribution is known and typically involve continuous quantitative variables.

The accuracy of parameter estimation increases with sample size 3.

1.2 Advantages of Parametric Tests

  • Efficiency: They possess greater power, meaning they are more likely to detect a significant effect if one exists.
  • Sensitivity: They are more sensitive to the characteristics of collected data.
  • Accuracy: They offer a lower possibility of errors and provide quite exact probabilistic estimations 4.

1.3 Disadvantages of Parametric Tests

  • Complexity: Calculations can be more complicated.
  • Data Limitations: They have limitations regarding the types of data that can be evaluated 4.

1.4 Introduction to Non-Parametric Tests

Non-parametric tests are utilized when analyzing data on a nominal or ordinal scale. They can be employed even when the parameters of the population under study are unknown.

These tests are used for hypothesis testing, particularly with independent data 34.

1.5 Types of Non-Parametric Tests (Nominal Scale)

  • Binomial test.
  • Pearson's chi-squared test for one sample.
  • Pearson's chi-squared test for two or more independent samples.
  • Chi-squared test of proportions for three or more independent samples.
  • Fisher's exact probability test and Yates' correction.
  • McNemar's test for dependent samples.
  • Cochran's Q test for three or more dependent samples.
  • Sequential analysis 35.

📝 The binomial test analyzes dichotomous variables by comparing observed frequencies in each category, using the formula P(xi)=nCr⋅pr⋅q(n−r)P(x_i) = nCr \cdot p^r \cdot q^{(n-r)}, where P(xi)P(x_i) is the probability of an event's occurrences, nCrnCr is the number of combinations, nn is the total number of events, rr is the expected arrangement value, pp is the probability of occurrence, and qq is the probability of non-occurrence 37.

2. Types of Parametric Tests

2.1 Z-test of the Normal Distribution

The Z-test of the normal distribution involves forming a standard normal probability curve, often bell-shaped. It locates three measures of central tendency: the arithmetic mean (average), median, and mode.

The standard deviation is also a key parameter 9.

2.2 Steps for the Z-test

  1. Calculate the average and standard deviation of the sample observations.
  2. Determine the difference between the sample average and a hypothesized population average.
  3. Divide this difference by the sample's standard deviation to obtain the Z-value.
  4. Decide whether to accept or reject the hypothesis based on the calculated Z-value 11.

The Z-value represents the number of standard deviations a data point is from the mean 12.

📝 To calculate the Z-value, you first find the sample average and standard deviation, then determine the difference between the sample average and a hypothesized population average, and finally divide this difference by the sample's standard deviation 11.

2.3 Student's T-tests

Student's T-tests are used for hypothesis testing concerning the arithmetic mean. They are powerful and efficient for avoiding Type I errors, provided their theoretical assumptions are met 13.

2.4 Requirements for T-tests

  • Observations must be independent.
  • Populations should have a normal distribution.
  • Measurements must be on an interval scale, allowing for all admissible arithmetic operations.
  • Variances of the groups should be homogeneous (equal) 13.

2.5 Steps for T-test (Independent Samples)

  1. Calculate the mean for each population group.
  2. Compute the variance for each group to test for homogeneity using Bartlett's chi-squared test.
  3. Calculate the sum of squares for each group.
  4. Compute the pooled standard deviation (sp) for both groups.
  5. Determine the absolute difference between the group means.
  6. Apply the formula to obtain the t-statistic.
  7. Calculate the degrees of freedom (df).
  8. Find the probability of the t-value in a table.
  9. Decide whether to accept or reject the hypothesis 14.

2.6 Student-Welch T-test

The Student-Welch T-test is used for two independent samples with non-homogeneous variances. It adjusts the degrees of freedom calculation to reduce error caused by unequal variances 15.

2.7 T-statistic Equation (Welch's)

Cover

P&S 1 (Collins).pdf

📚 P&S 1 (Collins).pdf

Brief overview

This document provides a comprehensive introduction to statistical concepts and probability theory. It covers data representation, statistical measures, and the calculation of probabilities, forming a foundational understanding for statistical analysis.

Key points

  • Overview of data types and measures of central tendency (mean, median, mode).
  • Understanding variation through range, variance, standard deviation, and data visualization techniques.
  • Methods for calculating statistics from frequency tables, summary data, and applying coding.
  • Introduction to probability, including sample spaces, events, permutations, combinations, and discrete random variables.
  • Detailed exploration of discrete distributions (geometric, binomial) and the normal distribution with practical applications.

1. Introduction to data representation and measures of central tendency

1.1 Types of data

  • Data is information collected from sources.
  • There are two main types of data: qualitative and quantitative.

Qualitative data

  • Qualitative data is not numerical and is described by categories.
  • Examples include hair colour, car type, or favorite chocolate bar.
  • It's also called categorical data.
  • Qualitative data can be shown with bar charts, pie charts, or pictograms.

Quantitative data

  • Quantitative data is given in numerical form.
  • It is split into discrete and continuous data.

Discrete data

  • Discrete data can only take specific, separate values, often whole numbers.
  • Examples: shoe size, number of marks in a test, number of people in a room.
  • It usually comes from counting.

Continuous data

  • Continuous data can take any measured value on a number line.
  • All points on the number line have meaning.
  • Examples: someone's height, time to run 100 meters, mass of people.
  • It usually comes from measuring.
  • Data measured to a certain precision (like nearest kilogram) is technically discrete but often treated as continuous.
  • Very precise discrete data can be grouped and treated as continuous.

📝 Example:

  • Hair colour: Qualitative
  • Temperature of water: Quantitative (continuous, but measured to two decimal places, so technically discrete)
  • Score on two dice: Quantitative (discrete)
  • Number of spectators: Quantitative (discrete)
  • Shoe sizes: Quantitative (discrete)

1.2 Measures of central tendency

  • Measures of central tendency help compare and understand data.
  • Key measures are the median, mode, and mean.

Median

  • The median is the middle value when data is arranged in order.
  • Use the median for quantitative data, especially with extreme values.
  • Extreme values do not affect the median's value.
  • Data set 1: 1, 2, 3, 4, 20. Median is 3.
  • Data set 2: 1, 2, 3, 4, 5. Median is 3.

Mode

  • The mode is the most frequently occurring data item.
  • It is the item with the highest frequency.
  • A dataset can have more than one mode (bimodal) or no mode if all values occur equally.
  • Use the mode for qualitative data or quantitative data with a clear most frequent value.
  • It's not useful if data is evenly spread.
  • Scores: 2, 6, 7, 7, 8, 9, 12. Mode is 7.

Mean

  • The mean is the sum of all data items divided by the number of items.
  • The formula is: xˉ=∑xn\bar{x} = \frac{\sum x}{n}.
  • xˉ\bar{x} is pronounced 'x bar'.
  • Use the mean for quantitative data.
  • It uses all data points, giving a true measure, but extreme values can heavily influence it.
  • Data set 1: 1, 2, 3, 4, 20. Mean is (1+2+3+4+20)/5=6(1+2+3+4+20) / 5 = 6.
  • Data set 2: 1, 2, 3, 4, 5. Mean is (1+2+3+4+5)/5=3(1+2+3+4+5) / 5 = 3.
  • The extreme value 20 significantly raised the mean of the first set.

1.3 Advantages and disadvantages of measures of central tendency

  • Choosing the right measure depends on the data's characteristics.
MeasureAdvantagesDisadvantagesBest used for
MeanUses all data values.Affected by extreme values; sensitive to skewed distributions.Quantitative data; symmetrical distributions.
MedianNot affected by extreme values.Does not use all data values; can be less precise for continuous data.Quantitative data with extreme values or skewed distributions.
ModeCan be used with all data types (qualitative/quantitative).Can have multiple modes or no mode; not useful for evenly spread data.Qualitative
Cover

P&S 1 (CUP).pdf

📚 P&S 1 (CUP).pdf

Brief overview

This document provides a comprehensive introduction to fundamental statistical concepts and probability theory. It covers methods for data representation, analysis of central tendencies and variation, and detailed exploration of probability distributions, equipping readers with essential analytical skills.

Key points

  • Overview of data representation methods including diagrams and graphs.
  • Calculation and interpretation of measures of central tendency and variation.
  • Fundamental probability concepts and calculation laws for events.
  • Applications of permutations and combinations in problem-solving.
  • Understanding discrete and continuous probability distributions including normal distribution.

1. Introduction to data representation

1.1 Types of data

We collect, display, and analyze data to understand the world around us. This helps us answer questions and find new areas for investigation.

Improving data skills allows us to better understand the information we encounter daily. This skill also helps us spot inaccurate data presentations and evaluate research.

[ ].

Data can be divided into two main types:

  • Qualitative data: These are described with words and are not numerical. Examples include blood types or colors. [ ].
  • Quantitative data: These take numerical values and can be either discrete or continuous. [ ].
Data TypeDescription
QualitativeDescribes qualities; non-numerical (e.g., color, name).
QuantitativeDescribes quantities; numerical. Can be discrete or continuous.

1.1.1 Discrete and continuous data

Discrete data are counted and cannot be made more precise. They can only take specific values.

[ ].

Continuous data are measurements given to a chosen degree of accuracy. They can take any value within a range.

[ ] 14.

📝 Example: The number of students in a class is discrete data (you can't have half a student). The height of a student is continuous data (it can be 1.65 meters, 1.655 meters, etc.).

Data TypeHow it's obtainedExamples
DiscreteCountedNumber of cars, number of goals scored.
ContinuousMeasuredHeight, weight, temperature.

🔑 Important: Discrete data are values you can count, while continuous data are values you measure.

🔑 Important: Understanding data types is crucial for choosing the right way to display and analyze information.

2. Methods for representing data

2.1 Discrete data representation: Stem-and-leaf diagrams

  • Discrete data: These are values that can only take specific, separate numbers. For example, the number of letters in a word or shoe sizes like 7 or 8. There are no values in between these specific numbers.
  • Continuous data: These values can be any number within a range. For instance, the time it takes an athlete to finish a race can be measured very precisely, like 10.32 seconds.

Stem-and-leaf diagrams are useful for organizing small amounts of discrete data.

  • The diagram splits each data point into a 'stem' (the leading digits) and a 'leaf' (the last digit).
  • The stem is listed vertically, and leaves are listed horizontally next to their corresponding stem.
  • Leaves should be ordered from smallest to largest to make the diagram easier to read.
  • A key is essential to explain what the stem and leaf values represent, for example, "Key: 5 | 3 represents 53%".

Stem-and-leaf diagrams allow you to see the raw data while also showing the overall distribution.

  • Back-to-back stem-and-leaf diagrams: These are used to compare two sets of data. The leaves on one side of the stem increase from left to right, while the leaves on the other side increase from right to left.

2.2 Continuous data representation: Histograms

A histogram is best for showing continuous data.

  • Continuous data can take any value within a given range, like height or time.
  • Histograms use bars to represent data, but unlike bar charts, there are no gaps between the bars. This is because continuous data flows seamlessly.

When constructing a histogram:

  • Class boundaries