Probability Statistics

Cover

Main Ideas of Linear Regression.pdf

1. Introduction and fundamentals of linear regression

Linear regression is a statistical modeling technique used to describe the linear relationship between a dependent variable and one or more independent variables by fitting a straight line to the data to facilitate predictions. The core methodology discussed here for finding this best-fit line is the Ordinary Least Squares (OLS) method 2.

1.1 Components of a simple linear regression model

A simple linear regression model specifically utilizes only one predictor variable to model the target variable. The general structure involves several key components 3:

  • Target/Response/Dependent Variable (YY): This is the variable we aim to predict or explain.
  • Input/Predictor/Independent Variable (X1X_1): This is the variable used to make the prediction.
  • Intercept (β0\beta_0): This is the value of the target variable when the predictor variable is zero.
  • Slope Coefficient (β1\beta_1): This dictates the magnitude and direction of the relationship between X1X_1 and YY.
  • Stochastic Component or Error Term (ϵ\epsilon): This represents the inherent randomness or variation not explained by the model.

The conceptual relationship is represented by the linear equation: Y=β0+β1X1+ϵY = \beta_0 + \beta_1 X_1 + \epsilon A diagram illustrating the components of a simple linear regression model formula.

1.2 The goal: Fitting a line to data

The fundamental goal when introducing linear regression is "fitting a line with data". This process involves finding the specific line that best summarizes the observed trend in the relationship between the predictor and the response variables.

When visualizing this, data points are scattered based on their observed values for the predictor (e.g., Height on the x-axis) and the response (e.g., Weight on the y-axis). The fitted regression line attempts to minimize the overall distance between itself and all observed data points5.

Example: In a Height versus Weight analysis, the data points represent individual observations, and the goal is to draw a line that captures the general positive correlation observed.

A scatter plot illustrating the relationship between Height and Weight, with a line of best fit determined by the Least-Squares method.

1.3 The Ordinary Least Squares (OLS) iterative fitting process

The OLS method determines the best-fit line through an iterative process focused on minimizing the total error associated with the model. This process involves several systematic steps to achieve the optimal line rotation 4 8.

Step 1: Initial visualization and line drawing

The initial step involves plotting the data points (scatter plot) and drawing an initial line passing through them 6.

A scatter plot displaying a relationship between Height (x-axis) and Weight (y-axis) with a horizontal line drawn across the data points.

Step 2: Measuring and summing squared residuals

Once an initial line is established, the model quantifies the error. This involves measuring the vertical distance from each individual data point to the current line; this distance is termed the residual. Each residual is then squared, and these squared distances are summed up to yield the Sum of Squared Residuals (SSR). Minimizing this total sum is the objective of OLS.

Cover

MAT-221-Lesson-4-Basic-Principles-of-Probabilty.pdf

📚 MAT-221-Lesson-4-Basic-Principles-of-Probabilty.pdf

Brief overview

This document introduces the foundational concepts of probability theory. Understanding these principles is essential for analyzing random events and making informed predictions in various quantitative fields.

Key points

  • Overview of basic probability definitions: experiments, outcomes, and sample spaces.
  • Understanding different approaches to probability: classical, empirical, and subjective.
  • How to visualize probability outcomes using tree diagrams.
  • Key set operations: union, intersection, and complement of events.
  • Application of multiplication rules for independent and dependent events.

1. Basic principles of probability

1.1 Fundamentals of probability

  • Probability: The general concept of the chance that an event will occur.
  • Probability experiment: A chance process with well-defined results called outcomes.
  • Outcome: The result of a single trial in a probability experiment 2.
  • Sample space: The set of all possible outcomes for an experiment 3.

1.2 Visualizing outcomes with tree diagrams

  • Tree diagram: A tool using line segments to show all possible outcomes of an experiment.

📝 Example: A family has three children. Find the sample space for their genders (B for boy, G for girl). The tree diagram would show possibilities like BBB, BBG, BGB, BGG, GBB, GBG, GGB, GGG 6 7.

1.3 Defining events in probability

  • Event: A set of outcomes from a probability experiment.
  • Simple event: An event that includes only one outcome.
  • Compound event: An event made up of two or more outcomes or simple events 8.

1.4 Interpretations of probability

🔑 Important: Understanding how probability is measured is key. There are three main ways to interpret it.

InterpretationBasisDescription
Classical probabilityUses sample spacesNumerical probability based on equally likely outcomes.
Empirical probabilityRelies on actual experienceLikelihood determined by observing past occurrences.
Subjective probabilityEducated guess or estimateProbability based on personal opinions and incomplete information.

9 10 11 12 13 14.

🔑 Important: Classical probability assumes all outcomes are equally likely. Empirical probability is based on observed frequencies. Subjective probability involves personal judgment.

🔑 Important: The three main interpretations of probability are classical, empirical, and subjective.

2. Union, intersection, and complement of events

2.1 Set operations in probability

  • Union of events (A∪B): Outcomes in event A, event B, or both. It uses the word "or".
  • Intersection of events (A∩B): Outcomes in both event A and event B. It uses the word "and" 16.
  • Complement of an event (A'): All outcomes NOT in event A.

📝 Example: Rolling a die. Let A be rolling an even number {2, 4, 6}. The complement A' is rolling an odd number {1, 3, 5} 17.

🔑 Important: Union means at least one of the events occurs. Intersection means both events occur simultaneously. The complement covers all possibilities outside a specific event.

2.2 Calculating probabilities with unions

  • The probability of the union of two events, P(A∪B)P(A \cup B), is calculated using the addition rule: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) This formula accounts for outcomes counted in both P(A)P(A) and P(B)P(B).

  • If events A and B are mutually exclusive (cannot happen at the same time), then P(A∩B)=0P(A \cap B) = 0. The formula simplifies to: P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B) 19.

📝 Example: Rolling two fair dice. Find the probability of getting a sum of 7 or 11.

  • Event A: Sum is 7. Possible outcomes: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). So, P(A)=6/36P(A) = 6/36.
  • Event B: Sum is 11. Possible outcomes: (5,6), (6,5). So, P(B)=2/36P(B) = 2/36.
  • Events A and B are mutually exclusive.
  • P(A∪B)=P(A)+P(B)=6/36+2/36=8/36=2/9P(A \cup B) = P(A) + P(B) = 6/36 + 2/36 = 8/36 = 2/9 20.

📝 Example: Drawing a card from a deck. Find the probability of drawing a ten or a spade.

Cover

MAT-221-Lesson-5-Conditional-Probabilty-and-Independent-Events.pdf

📚 MAT-221-Lesson-5-Conditional-Probabilty-and-Independent-Events.pdf

Brief overview

This document explores the foundational concepts of conditional probability and independent events in statistics. Understanding these principles is crucial for analyzing scenarios where the outcome of one event influences another, enabling more accurate predictions and data interpretation.

Key points

  • Understanding the distinction between independent and dependent events.
  • Calculating probabilities for combined events with and without replacement.
  • Introduction to conditional probability and its calculation.
  • Applying conditional probability to real-world scenarios and data.

1. Independent and dependent events

1.1 Understanding independent and dependent events

Events are considered independent if the outcome of one event does not affect the outcome of another. In contrast, dependent events are those where the occurrence of one event changes the probability of the other.

This difference is crucial when calculating the probability of multiple events happening 2 3.

1.2 Multiplication rules for probability

To find the probability of two or more events occurring, we use multiplication rules. The specific rule applied depends on whether the events are independent or dependent.

1.2.1 Independent events

For two independent events, A and B, the probability of both occurring is the product of their individual probabilities: P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B) This rule extends to more than two independent events 4.

📝 Example: A card is drawn from a deck and replaced, then a second card is drawn. The probability of drawing a queen and then an ace is found by multiplying the probability of drawing a queen by the probability of drawing an ace. Since the first card is replaced, the events are independent 5.

1.2.2 Dependent events

When events are dependent, the probability of the second event changes based on the outcome of the first. This is often seen in scenarios without replacement.

The probability of two dependent events, A and B, occurring is: P(A and B)=P(A)×P(B∣A)P(A \text{ and } B) = P(A) \times P(B|A) Here, P(B∣A)P(B|A) represents the conditional probability of event B occurring given that event A has already occurred.

📝 Example: Three cards are drawn from a deck without replacement. The probability of getting three jacks involves calculating the probability of the first jack, then the probability of the second jack given the first was drawn, and finally the probability of the third jack given the first two were drawn. The probabilities change with each card removed 6.

1.3 Probability in surveys and data analysis

The concepts of independent and dependent events are applicable to real-world data.

1.3.1 Survey data

In surveys, we often find the probability of two characteristics occurring together. If the characteristics are dependent, we use conditional probabilities.

📝 Example: A survey found that 33% of respondents feel overqualified for their job. Of these, 24% are looking for a new job. To find the probability that a person is both overqualified and looking for a new job, we multiply the probability of being overqualified by the conditional probability of looking for a new job given they are overqualified 7.

1.3.2 Insurance data

Insurance companies use probability to assess risk and policy combinations.

📝 Example: An insurance company found that 53% of city residents have homeowner’s insurance. Of these clients, 27% also have automobile insurance. The probability that a resident has both types of insurance is found by multiplying the probability of having homeowner’s insurance by the conditional probability of having automobile insurance given they already have homeowner’s insurance 8.

Cover

Materi Inisiasi 1.pptx

Table of contents

  1. Scope of Material

1. Scope of Material

1.1 Statistical data analysis

Statistical data analysis involves organizing and presenting numerical data to make it more informative and understandable. This process simplifies complex numbers, allowing for easier comparison and interpretation.

Various methods are used to achieve this, including frequency distributions, stem-and-leaf plots, box plots, and five-number summaries.

1.2 Frequency distribution

A frequency distribution is a method of organizing data by grouping it into categories. It shows the number of data points that fall into each category, ensuring that each data point belongs to only one category.

The primary goal is to make the data more informative and easier to grasp.

A frequency distribution table showing task results, midpoints, tally marks, and frequencies.

  • Frequency distribution table: This table groups task results into ranges, uses tally marks to indicate the count for each range, and provides the final numerical frequency for each category.

1.3 Stem-and-leaf plot

A stem-and-leaf plot is a graphical method for displaying numerical data. It separates each data point into a "stem" (the leading digit(s)) and a "leaf" (the last digit).

This allows for a visual representation of the data's distribution and spread.

This is a stem-and-leaf plot showing data for two groups, 'Laki-laki 35-44' and 'Laki-laki 45-54'.

  • Stem-and-leaf plot: This plot visually represents data by separating each number into a stem and a leaf, effectively showing the distribution of two distinct groups.

1.4 Box plot

A box plot, also known as a box-and-whisker plot, is a descriptive statistical tool that graphically represents the distribution of numerical data. It is defined by five key summary statistics: the minimum observed value, the first quartile (Q1), the median (Q2), the third quartile (Q3), and the maximum observed value.

A box plot illustrating statistical data distribution, including quartiles, median, maximum, minimum, and outliers.

  • Minimum observation: The smallest value in the dataset.
  • First quartile (Q1): The value below which 25% of the data falls.
  • Median (Q2): The middle value of the dataset when it is ordered.
  • Third quartile (Q3): The value below which 75% of the data falls.
  • Maximum observation: The largest value in the dataset.
  • Outliers: Data points that fall significantly outside the main distribution, often shown as individual points beyond the whiskers.

1.5 Numerical summaries

Numerical summaries provide concise ways to describe the central tendency and dispersion of a dataset. These measures help in understanding the typical values and the spread of the data.

1.6 Measures of central tendency

Measures of central tendency describe the center or typical value of a dataset.

  • Mean: The average of all data points, calculated by summing all values and dividing by the number of values.
  • Median: The middle value in a dataset that has been ordered from least to greatest.
  • For an even number of data points, the median is the average of the two middle values.
  • For an odd number of data points, the median is the single middle value.
  • Trirata: A measure of central tendency that uses quartiles and the median. The formula is given as qA+qB+Md/3qA + qB + Md / 3, where qAqA is the upper quartile, qBqB is the lower quartile, and MdMd is the median.
  • Mode: The value that appears most frequently in a dataset.

1.7 Measures of dispersion

Measures of dispersion describe how spread out the data is.

  • Range: The difference between the maximum and minimum values in a dataset.
  • Interquartile Range (IQR): The difference between the third quartile (Q3) and the first quartile (Q1). It represents the spread of the middle 50% of the data. The formula is dq=qA−qBdq = qA - qB.
  • Variance: A measure of how far a set of numbers is spread out from their average value.
  • The formula for population variance is σ2=∑(xi−μ)2N\sigma^2 = \frac{\sum (x_i - \mu)^2}{N}.
  • The formula for sample variance is s2=∑(xi−xˉ)2n−1s^2 = \frac{\sum (x_i - \bar{x})^2}{n-1}.
Cover

MATH 101 Module 1-Health Statistics and Demography.pdf

Table of contents

  1. Module 1 Health Statistics and Demography
  2. Vital Statistics - Quality
  3. Vital Statistics - Measures
  4. Vital Statistics - Morbidity
  5. Vital Statistics - Marriage and Family
  6. Demography
  7. Demography - Composition
  8. Demography - Population Growth
  9. Population Pyramid
  10. Population Pyramid - Construction
  11. Assessment Activity

1. Module 1 Health Statistics and Demography

1.1 Overview

Vital health statistics are systematic data on key life events, such as births and deaths, which serve as essential indicators of population health. These statistics are crucial in public health for monitoring health trends, assessing disease burden, and supporting the planning and evaluation of health programs.

The population pyramid complements vital statistics by illustrating the age and sex distribution of a population, helping to describe population growth patterns and dependency structures. Understanding these demographic changes is vital for anticipating health service needs and resource allocation.

Together, vital health statistics and population pyramids provide a concise framework for comprehending population dynamics and their impact on health and public health practice 2.

1.2 Topic Outline

The module covers three main areas: vital statistics, demography, and assessment tasks. Vital statistics include measures related to natality, mortality, morbidity, and marriage/family.

Demography focuses on population composition, growth, and the use of population pyramids. Assessment tasks involve computing and interpreting rates and analyzing population pyramids 4.

1.3 Vital Statistics

Vital statistics are systematic data on key life events, serving as essential indicators of population health. They are used to monitor health trends, assess disease burden, and support health program planning and evaluation 2.

Vital statistics encompass several types of measures:

  • Natality measures: These relate to births and fertility rates within a population.
  • Mortality measures: These track deaths and life expectancy, providing insights into causes and patterns of mortality.
  • Morbidity measures: These focus on the prevalence and incidence of diseases and health conditions.
  • Marriage and family measures: These include data on marriage rates, divorce rates, and family structures 4.

1.4 Demography

Demography is the statistical study of populations, focusing on their size, structure, and distribution. It examines how populations change over time due to births, deaths, and migration 2.

Key aspects of demography include:

  • Population composition: This refers to the characteristics of a population, such as age, sex, ethnicity, and education level.
  • Population growth: This involves the increase or decrease in the number of individuals in a population over time, influenced by birth rates, death rates, and migration.
  • Population pyramid: This is a graphical representation of the age and sex distribution of a population, offering insights into its structure and potential future trends 2 4.

1.5 Assessment Tasks

Assessment tasks in this module focus on applying the concepts of vital statistics and demography. Students will practice computing and interpreting various rates, such as mortality and natality rates, to understand population health indicators.

Additionally, they will learn to analyze population pyramids to interpret demographic structures and their implications for health needs and policy 4.

📝 A public health official uses mortality statistics to identify that heart disease is the leading cause of death in a specific region. This information guides the allocation of resources towards cardiovascular health programs and preventative measures 2.

2. Vital Statistics - Quality

2.1 Qualities of vital statistics

High-quality vital statistics are essential for reliable health policy, planning, and evaluation. These statistics measure vital events like births, deaths, and marriages, typically expressed as rates or ratios to enable comparisons over time and across populations.

The key qualities that define high-quality vital statistics are completeness, accuracy, timeliness, consistency, comparability, and accessibility 5 6 7.

QualityDescription
CompletenessThe extent to which all vital events are registered.
Accuracy / ValidityHow correct and free from error the recorded information is.
TimelinessHow quickly after the event the information is recorded, processed, and published 6.
ConsistencyData should be stable across time, places, and sources, unless there is a real change.
ComparabilityThe extent to which data can be compared across regions or countries due to standard definitions and classifications.
Accessibili
Cover

MATH-101-Module-2-Basic-Statistical-Concepts-082726.pdf

Table of contents

  1. Module Basic Statistical Concepts
  2. Statistics
  3. Population and Sample
  4. Parameter and Statistic
  5. Descriptive and Inferential Statistics
  6. Types of Data (Variable)
  7. Discrete and Continuous Data
  8. Scales of Measurements
  9. Types of Variables
  10. Let’s Connect!
  11. Summary

1. Module Basic Statistical Concepts

1.1 Learning Objectives

At the end of this module, students should be able to:

  • Define basic statistical terms and concepts, including population, sample, variable, parameter, and statistic.
  • Differentiate between descriptive and inferential statistics based on their purposes and applications.
  • Classify data by type, such as qualitative and quantitative, and discrete and continuous.
  • Identify different types of variables, including independent, dependent, and confounding variables.
  • Differentiate among the four scales of measurement: nominal, ordinal, interval, and ratio 2.

1.2 Topic Outline

The module covers the following topics:

  • Population and sample
  • Parameter and statistic
  • Descriptive and inferential statistics
  • Qualitative and quantitative data
  • Discrete and continuous data
  • Scales of measurement 3.

📝 The dosage of a drug is the independent variable, the patient's response to the drug is the dependent variable, and the age of the patient is a confounding variable 2.

1.3 Population and Sample

A population refers to the entire group of individuals or items that are of interest in a study. A sample is a subset of the population that is selected for analysis.

Studying a sample is often more practical and cost-effective than studying the entire population 3.

1.4 Parameter and Statistic

A parameter is a numerical characteristic that describes a population. A statistic is a numerical characteristic that describes a sample.

Statistics are used to estimate population parameters 3.

1.5 Descriptive and Inferential Statistics 3

Statistics can be broadly categorized into two main branches: descriptive and inferential.

TypePurposeApplication
Descriptive statisticsTo summarize and describe the main features of a dataset.Calculating the average score of a class.
Inferential statisticsTo make generalizations or predictions about a population based on sample data.Using a sample of voters to predict election outcomes.

📝 Calculating the average score of a class is descriptive statistics, while using a sample of voters to predict election outcomes is inferential statistics 3.

1.6 Qualitative and Quantitative Data 3

Data can be classified based on its nature into qualitative and quantitative types.

Data TypeDescriptionExamples
Qualitative dataRepresents categories or attributes that cannot be measured numerically.Eye color, gender, brand of car.
Quantitative dataRepresents numerical values that can be measured or counted.Height, weight, number of siblings.

1.7 Discrete and Continuous Data 3

Quantitative data can be further divided into discrete and continuous types.

Data TypeDescriptionExamples
Discrete dataCan only take specific, separate values, often whole numbers.Number of cars in a parking lot, number of students in a class.
Continuous dataCan take any value within a given range; there are infinitely many possible values between any two given values.Height of a person, temperature of a room.

1.8 Types of Variables 2

Variables are characteristics or attributes that can vary among individuals or items in a study. They are crucial for understanding relationships within data.

Variable TypeDescriptionRole in Study
Independent variableThe variable that is manipulated or changed by the researcher.The dosage of a drug.
Dependent variableThe variable that is measured to see the effect of the independent variable.The patient's response to the drug.
Confounding variableA variable that can influence both the independent and dependent variables, potentially distorting the results.Age of the patient, which might affect drug efficacy.

1.9 Scales of Measurement 2

The scale of measurement determines the type of information a variable provides and the statistical analyses that can be performed.

ScaleDescriptionPropertiesExamples
NominalCategories with no inherent order or ranking.IdentityGender (male, female), blood type (A, B, AB, O)
OrdinalCategories with a meaningful order or ranking, but the differences between categories are not necessarily equal.OrderEducation level (high school, bachelor's, master's), customer satisfaction (poor, fair, good, excellent)
IntervalOrdered categories wher
Cover

MATH-101-Module-3-Data-Collection-090226-1.pdf

Table of contents

  1. Data Collection
  2. Data Sources and Collection Methods, and Ethical Considerations
  3. Sampling Designs
  4. Research Design vs Study Design
  5. Research Designs: Epidemiologic Approach
  6. Case Reports
  7. Analytic Observational Studies
  8. Cohort Studies
  9. Experimental Designs
  10. Randomized Controlled Trial (RCT) and Quasi-Experimental Design
  11. Completely Randomized Design (CRD)
  12. Summary

1. Data Collection

1.1 Data sources and collection methods, and ethical considerations

This section introduces the fundamental principles of data collection in health research, emphasizing how information is gathered, measured, and structured. It covers various methods for obtaining reliable and relevant data, alongside crucial ethical considerations 2 3.

  • Data collection methods: These are strategies used to gather information. Common methods include:
  • Observation: Directly watching and recording phenomena.
  • Interviews: Asking questions directly to individuals.
  • Questionnaires or surveys: Using standardized sets of questions.
  • Record review: Examining existing documents and databases.
  • Experiments: Actively manipulating variables to observe effects 2.
  • Sources of health data: Health information can be obtained from various origins:
  • Hospital records
  • Surveys
  • Surveillance systems
  • Research studies.
  • Principles of data collection: Key aspects include:
  • Validity: Ensuring the data accurately measures what it intends to measure.
  • Ethical considerations: Protecting participants' rights and well-being 3.

📝 In a study on patient satisfaction, researchers might use interviews to ask patients directly about their experiences, or they could distribute questionnaires to a larger group to gather standardized feedback 2.

1.2 Sampling designs

Sampling designs are crucial for selecting participants from a larger population to represent that population in a study. These designs ensure that the selected sample accurately reflects the characteristics of the population, allowing for generalizable findings 2 4.

  • Probability sampling: In these designs, every member of the population has a known, non-zero chance of being selected. This allows for statistical inference about the population.
  • Simple random sampling: Each individual has an equal chance of selection.
  • Systematic sampling: Participants are selected at regular intervals from a list.
  • Stratified sampling: The population is divided into subgroups (strata), and random samples are drawn from each stratum.
  • Cluster sampling: The population is divided into clusters, and entire clusters are randomly selected.
  • Multi-stage sampling: A combination of sampling methods used in multiple stages 4.
  • Non-probability sampling: In these designs, the selection of participants is not based on random chance, meaning some members of the population may have no chance of being selected. This can introduce bias 3.

1.3 Observational study designs

Observational study designs involve measuring outcomes without researchers actively intervening or assigning exposures. These designs are useful for identifying associations between exposures and outcomes in their natural settings 2 4.

  • Cross-sectional studies: Data is collected at a single point in time, providing a snapshot of the population's health status and exposures.
  • Case-control studies: These studies compare individuals with a specific outcome (cases) to individuals without the outcome (controls) to identify past exposures.
  • Cohort studies: A group of individuals (cohort) is followed over time to observe the development of outcomes based on their exposure status.
  • Prospective cohort studies: Participants are enrolled, and their exposures are recorded before outcomes occur.
  • Retrospective cohort studies: Both exposures and outcomes have already occurred and are analyzed from past records 4.

1.4 Experimental designs

Experimental designs involve researchers actively manipulating one or more variables (interventions or exposures) and assigning participants to different treatment groups to observe the effect on an outcome. This allows for the establishment of cause-and-effect relationships 2 4.

  • Completely randomized design (CRD): Participants are randomly assigned to treatment groups, with no blocking or stratification.
  • Randomized complete block design (RCBD): Participants are grouped into blocks based on a known factor that might influence the outcome, and then randomly assigned to treatments within each block.
  • Latin square design (LSD): Used when two blocking factors are present, ensuring each treatment appears once in each row and column.
  • Factorial experiment: Invol
Cover

Math 1080 – Statistics Name.pdf

Table of contents

  1. Chapter 7 Review Answers

1. Chapter 7 Review Answers

1.1 Confidence interval for a proportion (large sample)

When finding a confidence interval for a population proportion, you use the sample proportion (p^\hat{p}) and the sample size (nn) to estimate the true proportion. This method is suitable when the sample size is large enough (n>30n > 30) and fits a binomial distribution 1.

  • Sample proportion (p^\hat{p}): This is calculated by dividing the number of successes by the total sample size.
  • Margin of error (E): This value is calculated using the formula E=zα/2p^(1−p^)nE = z_{\alpha/2} \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}.
  • Confidence interval: The interval is given by (p^−E,p^+E)(\hat{p} - E, \hat{p} + E).

📝 For a sample of 250 residents where 140 support an initiative, p^=140/250=0.56\hat{p} = 140/250 = 0.56. A 95% confidence interval is calculated as (0.499,0.622)(0.499, 0.622), meaning we are 95% confident the true proportion lies within this range 1.

1.2 Confidence interval for a population mean (known standard deviation)

To find a confidence interval for a population mean when the population standard deviation (σ\sigma) is known, you use the sample mean (xˉ\bar{x}), the known standard deviation, and the sample size (nn) 1.

  • Margin of error (E): This is calculated using the formula E=zα/2σnE = z_{\alpha/2} \frac{\sigma}{\sqrt{n}}.
  • Confidence interval: The interval is given by (xˉ−E,xˉ+E)(\bar{x} - E, \bar{x} + E).

📝 If 36 packages have a mean weight of 12.4 pounds and the known standard deviation is 1.5 pounds, a 95% confidence interval for the population mean weight is (11.91,12.89)(11.91, 12.89) pounds 1.

1.3 Confidence interval for a population mean (unknown standard deviation)

When the population standard deviation is unknown, you use the sample standard deviation (ss) and a t-distribution to construct the confidence interval for the population mean. This method assumes the population is normally distributed 2.

  • Margin of error (E): This is calculated using the formula E=tα/2,n−1snE = t_{\alpha/2, n-1} \frac{s}{\sqrt{n}}.
  • Degrees of freedom (n−1n-1): This value is used to find the correct t-score.
  • Confidence interval: The interval is given by (xˉ−E,xˉ+E)(\bar{x} - E, \bar{x} + E).

📝 A sample of 16 students has a mean commute time of 24.5 minutes and a sample standard deviation of 4.2 minutes. A 95% confidence interval for the population mean commute time is (22.26,26.74)(22.26, 26.74) minutes 2.

1.4 Meaning of a confidence interval

A confidence interval is a range of values that likely contains the true population parameter. It is not about the probability that a single interval contains the parameter, but rather about the reliability of the method used to create the interval 3.

  • Repeated sampling: If you were to take many samples and construct a confidence interval from each, a 95% confidence level means that about 95% of those intervals would contain the true population parameter.
  • Single interval: For any single calculated interval, the true parameter is either in it or it isn't, so the probability is 0% or 100%. The confidence level refers to the process, not a specific outcome 3.

1.5 Effect of confidence level and sample size on interval width

Changing the confidence level or the sample size affects the width of the confidence interval 3.

FactorEffect on Interval Width
Increased confidence level (e.g., 90% to 99%)Wider interval (to be more sure, you cast a wider net)
Increased sample sizeNarrower interval (larger samples provide more precise estimates)
  • Confidence level: A higher confidence level requires a wider interval to increase the certainty that the interval contains the true parameter. This is because the zα/2z_{\alpha/2} or tα/2,n−1t_{\alpha/2, n-1} value increases as α\alpha decreases 3.
  • Sample size: A larger sample size leads to a smaller standard deviation of the sampling distribution, making the estimate closer to the true parameter and thus resulting in a narrower confidence interval 4.
Cover

MATH_130___Introduction_to_Statistics (3) (1).pdf

📚 MATH_130___Introduction_to_Statistics (3) (1).pdf

Brief overview

This document introduces fundamental statistical concepts essential for data analysis. It covers discrete and continuous probability distributions, confidence intervals, and hypothesis testing, providing the tools to interpret and make inferences from data.

Key points

  • Overview of discrete probability distributions, including means and standard deviations.
  • Application of binomial and Poisson distributions for specific event scenarios.
  • Using the normal distribution for continuous data probabilities and values.
  • Constructing confidence intervals for population means with known standard deviation.
  • Performing hypothesis testing for population means when variance is known.

1. Discrete probability distributions

1.1 Understanding discrete distributions

Discrete probability distributions describe the probabilities of outcomes for a random variable that can only take on a finite number of values or a countably infinite number of values. These values are typically counts, such as the number of items sold or the number of typos.

A distribution is valid if:

  • Each probability P(x)P(x) is between 0 and 1.
  • The sum of all probabilities ∑P(x)\sum P(x) equals 1.

📝 Example: A bakery sells cakes. XX is the number of cakes sold daily. Possible values for XX are 0, 1, 2, 3, 4.

The expected value (mean) of a discrete random variable XX is calculated as μX=∑[x⋅P(x)]\mu_X = \sum [x \cdot P(x)]. This represents the average outcome over many trials.

The variance, σX2\sigma_X^2, measures the spread of the distribution. It is calculated as σX2=∑[(x−μX)2⋅P(x)]\sigma_X^2 = \sum [(x - \mu_X)^2 \cdot P(x)] or more simply as σX2=∑[x2⋅P(x)]−μX2\sigma_X^2 = \sum [x^2 \cdot P(x)] - \mu_X^2.

The standard deviation, σX\sigma_X, is the square root of the variance (σX=σX2\sigma_X = \sqrt{\sigma_X^2}).

1.2 Calculating probabilities and statistics

For a discrete random variable XX, probabilities for ranges of values are found by summing the individual probabilities. For example, P(X≥k)P(X \ge k) is the sum of probabilities for all values of XX equal to or greater than kk.

Similarly, P(X<k)P(X < k) is the sum of probabilities for all values of XX less than kk.

🔑 Important: When calculating probabilities for continuous ranges like P(a≤X≤b)P(a \le X \le b), remember to include probabilities for both endpoints if the inequality is non-strict.

Let's look at calculating these values for common examples.

1.2.1 Bakery sales example

A bakery tracks daily cake sales, XX. The distribution is:

xx (cakes sold)P(x)P(x)
00.05
10.20
20.35
30.25
40.15
  • Verify validity:
  • All P(x)P(x) are between 0 and 1.
  • Sum of probabilities: 0.05+0.20+0.35+0.25+0.15=1.000.05 + 0.20 + 0.35 + 0.25 + 0.15 = 1.00. This is a valid distribution.
  • Find P(X≥2)P(X \ge 2): This is the probability of selling 2, 3, or 4 cakes. P(X≥2)=P+P+P=0.35+0.25+0.15=0.75P(X \ge 2) = P + P + P = 0.35 + 0.25 + 0.15 = 0.75.
  • Compute mean μX\mu_X: μX=(0×0.05)+(1×0.20)+(2×0.35)+(3×0.25)+(4×0.15)\mu_X = (0 \times 0.05) + (1 \times 0.20) + (2 \times 0.35) + (3 \times 0.25) + (4 \times 0.15) μX=0+0.20+0.70+0.75+0.60=2.25\mu_X = 0 + 0.20 + 0.70 + 0.75 + 0.60 = 2.25 cakes.
  • Compute standard deviation σX\sigma_X: First, calculate the variance σX2\sigma_X^2: σX2=∑[x2⋅P(x)]−μX2\sigma_X^2 = \sum [x^2 \cdot P(x)] - \mu_X^2 σX2=[(02×0.05)+(12×0.20)+(22×0.35)+(32×0.25)+(42×0.15)]−(2.25)2\sigma_X^2 = [(0^2 \times 0.05) + (1^2 \times 0.20) + (2^2 \times 0.35) + (3^2 \times 0.25) + (4^2 \times 0.15)] - (2.25)^2 σX2=[0+0.20+1.40+2.25+2.40−5.0625\sigma_X^2 = [0 + 0.20 + 1.40 + 2.25 + 2.40 - 5.0625 σX2=6.25−5.0625=1.1875\sigma_X^2 = 6.25 - 5.0625 = 1.1875 σX=1.1875≈1.09\sigma_X = \sqrt{1.1875} \approx 1.09 cakes.
  • Break-even analysis: The bakery needs to sell at least 2.5 cakes per day on average. The mean is 2.25 cakes. Since 2.25<2.52.25 < 2.5, the bakery is not breaking even.

1.2.2 Manuscript typos example

The number of typos per page, XX, in a manuscript follows this distribution:

xx (typos)P(x)P(x)
00.40
10.30
20.15
30.08
40.05
50.02
  • Probability of no typos: P(X=0)=0.40P(X=0) = 0.40.
  • Find P(X<3)P(X < 3): This is the probability of 0, 1, or 2 typos. P(X<3)=P+P+P=0.40+0.30+0.15=0.85P(X < 3) = P + P + P = 0.40 + 0.30 + 0.15 = 0.85 .
  • Compute mean μX\mu_X: μX=(0×0.40)+(1×0.30)+(2×0.15)+(3×0.08)+(4×0.05)+(5×0.02)\mu_X = (0 \times 0.40) + (1 \times 0.30) + (2 \times 0.15) + (3 \times 0.08) + (4 \times 0.05) + (5 \times 0.02) μX=0+0.30+0.30+0.24+0.20+0.10=1.14\mu_X = 0 + 0.30 + 0.30 + 0.24 + 0.20 + 0.10 = 1.14 typos per page.
  • Compute variance σX2\sigma_X^2 and standard deviation σX\sigma_X:
Cover

Mathematical Literacy.docx

📚 Mathematical Literacy.docx

Brief overview

This document provides foundational knowledge in mathematical literacy, focusing on practical applications relevant to everyday life and spatial understanding. It equips readers with essential skills for interpreting quantitative information and spatial representations.

Key points

  • Understanding the concept and calculation of probability for events.

  • Applying scale to determine actual sizes from drawings and maps.

  • Interpreting floor plans to understand building layouts.

  • Calculating area and perimeter of rooms using scale and dimensions.

  • Converting probability representations between fractions, decimals, and percentages.


1. Understanding probability

1.1 What is probability?

  • Probability: the chance that an event will happen.

  • It is always a value between 0 and 1, or 0% and 100%.

🔑 Important: This range helps you check if your answer is reasonable.

1.1.1 The probability scale

  • 0: An impossible event.

  • 0.5 (or 50%): An even chance; the event could happen or not happen.

  • 1 (or 100%): A certain event; it will definitely happen.

1.1.2 Calculating probability

  • The formula for probability is: textProbability=fractextNumberoffavourableoutcomestextTotalnumberofpossibleoutcomes\\text{Probability} = \\frac{\\text{Number of favourable outcomes}}{\\text{Total number of possible outcomes}}

  • A favourable outcome is the specific result you are looking for.

  • The total number of possible outcomes includes all the different results that could happen.

📝 Example: A bag has 5 red balls and 3 blue balls.

  • Total balls: 5+3=85 + 3 = 8

  • Probability of picking red: frac58\\frac{5}{8}

  • A coin toss has two possible outcomes: heads or tails. The probability of getting heads is frac12\\frac{1}{2}.

1.1.3 Ways to write probability

  • Probability can be shown as:

    • A fraction (e.g., frac310\\frac{3}{10})

    • A decimal (e.g., 0.30.3)

    • A percentage (e.g., 3030%)

1.2 Understanding scale

  • A scale shows how a drawing or map relates to its real-life size.

  • It compares a measurement on the drawing to the actual measurement.

🔑 Important: Always look at the scale first when dealing with drawings or maps.

1.2.1 Scale ratios

  • A scale like 1: 100 means that 1 unit on the drawing represents 100 of the same units in reality.

  • For example, 1 cm on the drawing equals 100 cm in real life.

Scale

Meaning

$1: 50$

$1$ cm on drawing = $50$ cm

$1: 100$

$1$ cm on drawing = $1$ m

$1: 200$

$1$ cm on drawing = $2$ m

$1: 1000$

$1$ cm on drawing = $10$ m