Probability Statistics

Cover

MT-LESSON-4.pdf

📚 MT-LESSON-4.pdf

Brief overview

This document introduces foundational statistical concepts essential for data analysis. It covers methods for organizing, summarizing, and interpreting numerical data, providing a basis for understanding distributions and scoring.

Key points

  • Overview of document structure, including metadata and references.
  • Methods for organizing and summarizing data using frequency distributions and measures of central tendency and variation.
  • Properties and applications of the normal distribution and its bell-shaped curve.
  • Interpretation of scores using standard scores (z-scores, T-scores) and positional measures (percentiles, quartiles, deciles).

1. Document metadata and references

1.1 Introduction to descriptive statistics

  • Descriptive statistics: These are statistical approaches researchers use to understand research results. They summarize data.
  • Purpose: To present quantitative descriptions in a manageable form.
  • Key areas covered: Frequency distributions, central tendency, and measures of variation.

1.2 Frequency distributions

  • Frequency distribution: An organized way to show how many individuals fall into different categories or levels of measurement. It helps researchers see score patterns quickly.
  • Presentation: Can be a table or a graph.
  • Table structure: Lists measurement categories (X) from highest to lowest, with frequencies (f) for each.

🔑 Important: All possible scores are listed, showing the frequency for each.

  • SPSS process: Encode scores, go to Analyze > Descriptive Statistics > Frequencies.

📝 Example: A Psych Statistics test with 30 scores ranging from 2 to 10. The table shows each score and how many students achieved it.

Score (X)Frequency (f)
101
93
86
75
64
55
43
32
21

1.3 Central tendency

  • Central tendency: A single value describing the central position of a dataset. Also called measures of central location or summary statistics.
  • Common measures: Mean, median, and mode. The choice depends on the data and conditions.

1.3.1 The mean

  • Arithmetic mean: The sum of values divided by the number of observations.

  • Symbols:

    • μ\mu for population mean.
    • xˉ\bar{x} for sample mean.
  • Formula (Ungrouped Data):

    • Population Mean: μ=∑xN\mu = \frac{\sum x}{N}
    • Sample Mean: xˉ=∑xn\bar{x} = \frac{\sum x}{n}

📝 Example: For scores 9, 8, 7, 8, 9, 5, 7, 6, the sum is 59. With n=8n=8 observations, the sample mean is xˉ=598=7.38\bar{x} = \frac{59}{8} = 7.38.

1.3.1.1 Weighted arithmetic mean

  • Weighted arithmetic mean: Used when values have different importance or weights.
  • Formula: xˉ=∑XiWi∑Wi\bar{x} = \frac{\sum X_i W_i}{\sum W_i}
    • XiX_i = frequency/observation
    • WiW_i = weight

📝 Example: Calculating a Grade Point Average (GPA) where each course has a different number of units (weight).

1.3.1.2 Mean for grouped data

  • Purpose: To compute the mean when data is large and organized into class intervals.
  • Formula: xˉ=∑fxn\bar{x} = \frac{\sum f x}{n}
    • ff = frequency of the class
    • xx = midpoint of the class
    • nn = number of cases/samples

📝 Example: For grouped data with n=40n=40 and ∑fx=1804\sum f x = 1804, the mean is xˉ=180440=45.10\bar{x} = \frac{1804}{40} = 45.10.

1.3.2 Median

  • Median: The midpoint of a distribution where half the scores are above and half are below. Denoted by MdMd.

  • Computation (Ungrouped Data):

    • If nn is even: Md=Xn/2+X(n+2)/22Md = \frac{X_{n/2} + X_{(n+2)/2}}{2}
    • If nn is odd: Md=X(n+1)/2Md = X_{(n+1)/2}
      • xx = middle observation
      • nn = number of observations
Cover

MT-LESSON-7.pdf

📚 MT-LESSON-7.pdf

Brief overview

This document introduces and details the statistical methodology of Analysis of Variance (ANOVA), focusing on one-way and two-way designs. Understanding ANOVA is crucial for comparing means across multiple groups and interpreting experimental results in various fields.

Key points

  • Overview of the principles and learning objectives for Analysis of Variance (ANOVA).
  • Manual calculation and MS Excel/SPSS application of one-way ANOVA.
  • Detailed manual calculation and MS Excel/SPSS application of two-way ANOVA.
  • Understanding the assumptions and interpretation of ANOVA results.
  • References for further study in statistical analysis.

1. Introduction to analysis of variance (ANOVA)

1.1 Overview of ANOVA

ANOVA, or Analysis of Variance, is a statistical method developed by Sir Ronald Fisher. It is used to determine mean differences between two or more groups.

ANOVA is an inferential procedure using sample data to draw conclusions about populations. It is considered a robust test, meaning it can still provide appropriate results even if data is not perfectly normally distributed.

ANOVA is widely used in experimental and social research. There are two primary types of ANOVA discussed: one-way and two-way.

  • One-way ANOVA: Compares means of two or more independent groups. It is used when you have one independent (grouping) variable with multiple levels and one continuous dependent variable. This test is suitable for field studies, experiments, and quasi-experiments. While an independent samples t-test can compare two groups, one-way ANOVA is used for three or more.
  • Two-way ANOVA (Factorial ANOVA): This is an extension of one-way ANOVA. It involves two or more independent variables and one dependent variable. A two-way ANOVA can identify main effects of each independent variable and also detect interaction effects between them.

1.2 Manual computation of one-way ANOVA

Manually calculating a one-way ANOVA involves several steps to test for significant differences between group means.

1.2.1 Hypotheses and significance level

  • Null Hypothesis (H0H_0): States there is no significant difference between the means of the groups.
  • Alternative Hypothesis (H1H_1): States there is a significant difference between at least two group means.
  • Level of Significance (α\alpha): Typically set at 0.05, indicating the probability of rejecting a true null hypothesis.

1.2.2 Calculation steps

The manual calculation of a one-way ANOVA follows these steps:

  1. Calculate the Correction Factor (CF): This is a constant value used in subsequent calculations. CF=(∑xt)2NtCF = \frac{(\sum x_t)^2}{N_t} Where:

    • ∑xt\sum x_t is the sum of all scores across all groups.
    • NtN_t is the total number of observations.
  2. Calculate the Total Sum of Squares (TSS): This measures the total variability in the data. TSS=∑xt2−CFTSS = \sum x_t^2 - CF Where:

    • ∑xt2\sum x_t^2 is the sum of the squared scores for all observations.
  3. Calculate the Between Sum of Squares (BSS): This measures the variability between the group means. BSS=∑(∑xi)2ni−CFBSS = \sum \frac{(\sum x_i)^2}{n_i} - CF Where:

    • ∑xi\sum x_i is the sum of scores for each group ii.
    • nin_i is the number of observations in each group ii.
  4. Calculate the Within Sum of Squares (WSS): This measures the variability within each group. It is often called the error sum of squares. WSS=TSS−BSSWSS = TSS - BSS

1.2.3 ANOVA table and F-value

The calculated sums of squares are organized into an ANOVA table.

Where:

  • KK is the number of groups.
  • NtN_t is the total number of observations.

The F-value is the ratio of the variance between groups to the variance within groups. If the computed F-value is greater than the tabular (critical) F-value at the chosen significance level, the null hypothesis is rejected, indicating a significant difference between group means.

Key Relationship: Reject H0H_0 if Fcomputed>FtabularF_{\text{computed}} > F_{\text{tabular}}.

1.3 ANOVA using software

Statistical software like MS Excel and SPSS can automate ANOVA calculations, reducing the chance of manual errors and providing additional diagnostic information.

1.3.1 Using MS Excel

MS Excel offers a "Data Analysis" tool that can perform a one-way ANOVA.

  • Steps: Navigate to Data > Data Analysis >
Cover

MT-LESSON-8.pdf

📚 MT-LESSON-8.pdf

Brief overview

This document details statistical methods for measuring the association between variables. Understanding correlation is essential for identifying relationships and making inferences in data analysis.

Key points

  • Introduction to correlation coefficients and the characteristics of relationships.
  • Spearman rank-order correlation and its application.
  • Point biserial and phi coefficients for dichotomous variables.
  • Utilizing scatterplots for visualization and assumption checking.
  • Reporting correlation results in APA format.

1. Introduction to correlation

1.1 Correlation: measuring association

  • Correlation: a statistical technique measuring the strength and direction of a linear association between two variables.
  • It quantifies how strongly two variables are related.
  • Variables are studied as they naturally exist, without manipulation.
  • An example is examining the relationship between a student's grades and their economic status.

📝 Example: The relationship between daily allowance (X) and Grade Point Average (Y).

1.2 Types of correlation coefficients

Correlation coefficients vary based on the type of data scales used for the variables.

Correlation Coefficient TypeVariable Scales
Pearson Product MomentBoth interval or ratio
Spearman Rank-OrderBoth ordinal
PhiBoth naturally dichotomous
Point BiserialOne dichotomous, one interval or ratio

1.3 Direction of relationships

The sign of the correlation coefficient indicates the direction of the relationship.

  • Positive relationship: Both variables increase or decrease together. This is also known as direct correlation.
  • Negative relationship: As one variable increases, the other decreases. This is also known as an inverse relationship.

📝 Example: As study hours increase (X), exam scores increase (Y) - positive. As hours spent on social media increase (X), exam scores decrease (Y) - negative.

1.4 Magnitude of correlation

Correlation coefficients range from +1 to -1.

  • A coefficient of +1 indicates a perfect positive linear relationship.
  • A coefficient of -1 indicates a perfect negative linear relationship.
  • A coefficient of 0 indicates no linear relationship.
Correlation CoefficientDescriptive Meaning
Exactly +1Perfect uphill (positive) linear relationship
+0.70 to +0.99Strong uphill (positive) linear relationship
+0.50 to +0.69Moderate uphill (positive) linear relationship
+0.30 to +0.49Weak uphill (positive) linear relationship
0No linear relationship
-0.30 to -0.49Weak downhill (negative) linear relationship
-0.50 to -0.69Moderate downhill (negative) linear relationship
-0.70 to -0.99Strong downhill (negative) linear relationship
Exactly -1Perfect downhill (negative) linear relationship

🔑 Important: Values greater than 1 or less than -1 indicate a calculation error.

1.5 Pearson product-moment correlation (r)

  • Pearson product-moment correlation (r): A common index for the relationship between two variables measured on interval or ratio scales.
  • Its value ranges from +1 to -1.

The formula for Pearson's r is: r=n∑xy−(∑x)(∑y)[n∑x2−(∑x)2][n∑y2−(∑y)2]r = \frac{n \sum xy - (\sum x)(\sum y)}{\sqrt{[n \sum x^2 - (\sum x)^2][n \sum y^2 - (\sum y)^2]}}

Where:

  • rr = Pearson correlation coefficient
  • nn = sample size
  • ∑xy\sum xy = sum of the product of x and y
  • (∑x)(∑y)(\sum x)(\sum y) = product of the sum of x and sum of y
  • ∑x2\sum x^2 = sum of the squares of x
  • ∑y2\sum y^2 = sum of the squares of y

1.5.1 Manual computation steps

  1. Count the number of observations (nn).
  2. Calculate the sum of xx (∑x\sum x).
  3. Square each xx value (x2x^2) and compute the sum of squares (∑x2\sum x^2).
  4. Calculate the sum of yy (∑y\sum y).
  5. Square each yy value (y2y^2) and compute the sum of squares (∑y2\sum y^2).
  6. Calculate the product of xx and yy (xyxy) for each pair and compute the sum of products (∑xy\sum xy).
  7. Apply the formula for rr.
Cover

MT-LESSON-9.pdf

📚 MT-LESSON-9.pdf

Brief overview

This document provides an in-depth introduction to non-parametric statistical methods. It covers various tests, their applications, and how to perform them using different computational tools. Understanding these methods is crucial for analyzing data that does not meet parametric assumptions.

Key points

  • Overview of non-parametric statistics and their comparison to parametric methods.
  • Application and execution of chi-square tests: independence, homogeneity, and goodness-of-fit.
  • How the Kruskal-Wallis H test and Friedman test compare medians across multiple groups.
  • Using the Wilcoxon signed-rank and Mann-Whitney U tests for two-group comparisons.
  • Exploration of additional non-parametric tests including the Sign Test and Scheffe's test.

1. Introduction to non-parametric statistics (part 1)

1.1 What are non-parametric statistics?

  • Non-parametric statistics: Methods that do not require data to fit a normal distribution.
  • Often use ordinal data. This means data is ranked or ordered, not strictly numerical.
  • Also called distribution-free tests. They make no assumptions about the population's distribution shape.

Non-parametric tests are useful when you don't know if your data follows a bell curve.

1.2 Parametric vs. Non-parametric statistics

FeatureParametric StatisticsNon-Parametric Statistics
DistributionAssumes data comes from a normal distribution.Does not assume any specific distribution shape.
ParametersUses population parameters (e.g., mean, variance).Does not rely on population parameters.
Data TypeTypically uses interval or ratio data.Can use nominal or ordinal data.
AssumptionsMakes more assumptions about the data.Makes fewer assumptions about the data.
ComputationCan be more complex.Often easier to compute, especially for smaller samples.
Information UsageCan be more efficient if assumptions are met.May "waste" information if parametric tests could be used.
Sample SizeOften requires larger sample sizes for robustness.Can be used with smaller sample sizes.
Data TransformationMay require converting ratio data to ordinal scale.Naturally handles ordinal data.

1.3 Advantages and disadvantages of non-parametric tests

  • Advantages:
    • Easier to compute, especially with older computing methods.
    • Make fewer assumptions about the data.
    • Do not need to estimate population parameters.
    • Results can be as exact as parametric methods.
  • Disadvantages:
    • May be less efficient if data fits parametric assumptions.
    • Can be difficult to compute by hand for large datasets.
    • Tables for critical values are not always widely available.

1.4 Steps in non-parametric statistical procedures

  1. State hypotheses: Define the null hypothesis (Ho) (no difference) and the alternative hypothesis (Ha) (predicts a difference).
  2. Set risk level: Choose the significance level (alpha, α\alpha), typically 0.05. This is the risk of a Type I error (rejecting a true null hypothesis).
  3. Choose test statistic: Select the appropriate test based on data characteristics, like the number of samples.
  4. Compute test statistic: Calculate the "obtained value" based on the chosen test and your data.
  5. Determine critical value: Find the threshold value from a critical values table (for small samples) or a critical region (for large samples).
  6. Compare values: Compare the obtained value to the critical value to decide whether to reject or fail to reject the null hypothesis.
Cover

Notes 2_1 - Teacher Slides (With Transitions).pptx

Table of contents

  1. Displaying two-way tables
  2. Side-by-side bar graph
  3. Segmented bar graph
  4. Mosaic plot

1. Displaying two-way tables

1.1 Two-way tables

A two-way table is a way to organize data that involves two categorical variables. It lists the values of these variables and how they are paired up.

This setup helps in comparing relationships between the variables and calculating different types of proportions, also known as relative frequencies.

1.2 Joint relative frequency

Joint relative frequency refers to the proportion of data that falls into a single cell of a two-way table. This cell represents the intersection of a specific category from each of the two variables.

For example, it could show the proportion of individuals who are both Democrat and live in the Midwest.

1.3 Marginal relative frequency

Marginal relative frequency is calculated from the totals of rows or columns in a two-way table. It represents the proportion of data that falls into a single category of one variable, regardless of the other variable.

For instance, it could show the overall proportion of states located in the South.

1.4 Conditional relative frequency

Conditional relative frequency is calculated within a specific row or column of a two-way table. It shows the proportion of data that falls into a particular category of one variable, given that the data already belongs to a specific category of the other variable.

An example is the proportion of states that are Democrat, specifically among those located in the West.

1.5 Visualizing two-way table data

Data from two-way tables can be visualized using different types of graphs to better understand the relationships between variables. These visualizations help in comparing frequencies and proportions across categories.

This bar chart displays the frequency of Democrats and Republicans across different regions.

The bar chart above shows the raw counts of Democrats and Republicans in different regions. This gives a direct view of the number of individuals in each category and region combination.

This stacked bar chart displays the relative frequency of Democrats and Republicans across four regions: Northeast, Midwest, South, and West.

This stacked bar chart displays the relative frequencies, showing the proportion of Democrats and Republicans within each region. It highlights that Democrats are dominant in the Northeast, the South shows a higher proportion of Republicans, and the West has a more balanced distribution.

This stacked bar chart displays the relative frequency of two categories across four different regions: Northeast, Midwest, South, and West.

This type of stacked bar chart is useful for comparing the distribution of two categories across different regions. Each bar represents a region, and the segments within the bar show the relative frequency of each category within that region.

2. Side-by-side bar graph

2.1 Description and purpose

A side-by-side bar graph is a visual tool used to display data from a two-way table. It is particularly effective for comparing counts or proportions for each category of one variable across different groups defined by another variable.

The key feature of this graph type is that bars representing categories of one variable are grouped together for each category of the other variable. This arrangement makes it easy to visually compare the heights of the bars within each group.

2.2 Visual clue and example

The primary visual clue for a side-by-side bar graph is that the bars for different categories of one variable are placed next to each other, allowing for direct comparison. For instance, if you are comparing political party affiliation (Democrat, Republican) across different regions (North, South, East, West), you would see a set of bars for Democrats and Republicans grouped together for the North region, then another set for the South region, and so on.

Cover

Notes 2_2 Teacher Slides (With Transitions).pptx

Table of contents

  1. Unit 2 – Probability, Random Variables, & Probability Distributions
  2. Probability Terms
  3. Theoretical Probability vs. Empirical Probability
  4. Probability Forms and Basic Examples
  5. Probability of a Complement
  6. Coin Flip Sample Space and Probability
  7. Law of Averages Myth
  8. Probability and Frequency Tables
  9. Simulations

1. Unit 2 – Probability, Random Variables, & Probability Distributions

1.1 Introducing statistics: random and non-random patterns?

Statistics helps us understand patterns in data, distinguishing between those that occur by chance and those that follow a predictable order. This distinction is crucial for making informed decisions and predictions.

1.2 Estimating probabilities using simulation

Simulation is a powerful tool for estimating probabilities, especially when direct calculation is difficult. By running many trials of an event, we can observe how often a particular outcome occurs and use this frequency to approximate its probability.

1.3 Introduction to probability

Probability quantifies the likelihood of an event occurring. It is a fundamental concept in statistics, allowing us to measure uncertainty and make predictions about future outcomes.

The probability of an event is always a number between 0 and 1, inclusive.

A probability scale illustrating the likelihood of an event occurring.

  • Probability of 0: This means the event is impossible and will not occur.
  • Probability of 0.5: This indicates that the event is equally likely to occur or not occur.
  • Probability of 1: This signifies that the event is certain to occur.

2. Probability Terms

2.1 Sample space and event

The sample space is the set of all possible outcomes of a random experiment. An event is a specific outcome or a set of outcomes that is a subset of the sample space.

A pie chart divided into eight equal sections, with an arrow pointing to one of the green sections.

2.2 Notation and range of probabilities

The probability of an event, say Event A, is denoted as P(A)P(A). The probability of any event must be a value between 0 and 1, inclusive.

A probability of 0 means the event is impossible, while a probability of 1 means the event is certain to occur.

2.3 Sum of probabilities

The sum of the probabilities of all possible outcomes in the entire sample space must equal 1. This means that one of the possible outcomes is guaranteed to happen.

📝 If you roll a standard six-sided die, the sample space is {1, 2, 3, 4, 5, 6}. The event of rolling an even number is {2, 4, 6}. The probability of rolling a 3 is P(3)=1/6P(3) = 1/6. The sum of probabilities for all outcomes is P(1)+P(2)+P(3)+P(4)+P(5)+P(6)=1/6+1/6+1/6+1/6+1/6+1/6=1P(1) + P(2) + P(3) + P(4) + P(5) + P(6) = 1/6 + 1/6 + 1/6 + 1/6 + 1/6 + 1/6 = 1.

3. Theoretical Probability vs. Empirical Probability

3.1 Theoretical probability

Theoretical probability describes what should happen in a situation based on the possible outcomes. It is calculated by dividing the number of desired outcomes by the total number of possible outcomes.

This type of probability assumes all outcomes are equally likely.

3.2 Empirical probability

Empirical probability, also known as experimental probability, is determined by performing an experiment or simulation. It represents what actually happens during a series of trials.

The calculation involves dividing the number of successful outcomes by the total number of trials conducted.

3.3 The law of large numbers

The law of large numbers states that as the number of trials in an experiment or simulation increases, the empirical probability will get closer and closer to the theoretical probability. In simpler terms, the more you repeat an experiment, the more its results will reflect the true underlying probabilities.

Probability TypeDefinitionCalculation
Theoretical ProbabilityWhat should happen given the sample spaceNumber of Desired Outcomes / Total Number of Outcomes
Empirical ProbabilityWhat does happen given the trialsNumber of Success / Number of Trials

3.4 Probability scale

The probability of an event can be represented on a scale from 0 to 1.

  • A probability of 0 means the event will not occur.
  • A probability of 1 means the event is certain to occur.
  • A probability of 0.5 means the event is equally likely to occur or not occur.
Event LikelihoodProbability Value
Event will not occurP = 0
Event is equally likely
Cover

Notes 2_3 Teacher Slides (With Transitions).pptx

Table of contents

  1. Unit 2 – Probability, Random Variables, & Probability Distributions
  2. Example 1) Let’s revisit our “rolling two dice” game, where the italicized numbers represent the sum of the two dice rolled.
  3. Example 2) Identify if the following events are mutually exclusive. If they are not, give an example of where they overlap.
  4. Example 3) Find the probability of rolling doubles or a sum of 6.
  5. General Addition Rule
  6. Example 4) A card is selected at random from a deck of 52 cards. Determine if the following events are mutually exclusive and then find the probability of the events.
  7. Example 5) You were interested in how many students at your school regularly eat breakfast. You conducted a survey, asking, “Do you eat breakfast on a regular basis?” Your random sample consisted of 600 students at the school and the results are shown in the table below.

1. Unit 2 – Probability, Random Variables, & Probability Distributions

1.1 Mutually exclusive events

When two events share no common outcomes, they are called mutually exclusive events. This means that both events cannot occur at the same time.

  • The probability of two mutually exclusive events, A and B, both happening is zero: P(A and B)=0P(A \text{ and } B) = 0.
  • For mutually exclusive events, the probability of either event A or event B occurring is the sum of their individual probabilities: P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B).

This diagram illustrates a document with a line graph, a checklist, a pen, and a warning sign, suggesting a process of analysis and decision-making.

📝 If you roll a standard six-sided die, the event of rolling a 1 and the event of rolling a 6 are mutually exclusive because you cannot roll both a 1 and a 6 on a single roll. The probability of rolling a 1 is P(1)=1/6P(1) = 1/6, and the probability of rolling a 6 is P(6)=1/6P(6) = 1/6. Therefore, the probability of rolling a 1 or a 6 is P(1 or 6)=P(1)+P(6)=1/6+1/6=2/6=1/3P(1 \text{ or } 6) = P(1) + P(6) = 1/6 + 1/6 = 2/6 = 1/3.

2. Example 1) Let’s revisit our “rolling two dice” game, where the italicized numbers represent the sum of the two dice rolled.

2.1 Mutually exclusive events

Mutually exclusive events are events that cannot happen at the same time. If one event occurs, the other cannot.

This means there is no overlap in their possible outcomes.

  • Mutually exclusive events: Events that share no common outcomes.
  • Determining mutual exclusivity: To check if events are mutually exclusive, identify all possible outcomes for each event. If there are no shared outcomes between the events, they are mutually exclusive.

📝 Consider two events when rolling two dice:

  • Event A: Rolling a sum of 5. The possible outcomes are (1,4), (2,3), (3,2), and (4,1).
  • Event B: Rolling two even numbers. The possible outcomes are (2,2), (2,4), (2,6), (4,2), (4,4), (4,6), (6,2), (6,4), and (6,6).

Since there are no outcomes that appear in both Event A and Event B, these events are mutually exclusive.

2.2 Probability of mutually exclusive events

When events are mutually exclusive, the probability of either one occurring is simply the sum of their individual probabilities. This is because there is no overlap to subtract.

  • Probability of A or B: For mutually exclusive events A and B, the probability of A or B occurring is calculated as P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B).
  • Calculating individual probabilities: The probability of an event is the number of favorable outcomes divided by the total number of possible outcomes. In the case of rolling two dice, there are 36 possible outcomes.

📝 Using the events from the previous example:

  • Event A (Rolling a sum of 5): There are 4 outcomes that result in a sum of 5. So, P(A)=436P(A) = \frac{4}{36}.
  • Event B (Rolling two even numbers): There are 9 outcomes where both dice show even numbers. So, P(B)=936P(B) = \frac{9}{36}.

Since these events are mutually exclusive, the probability of rolling a sum of 5 or rolling two even numbers is: P(A or B)=P(A)+P(B)=436+936=1336P(A \text{ or } B) = P(A) + P(B) = \frac{4}{36} + \frac{9}{36} = \frac{13}{36}. This probability is approximately 0.361.

Cover

NUD 101- Stats and Prob_Week 1.pdf

Table of contents

  1. Introduction to Biostatistics
  2. Levels of Measurement
  3. Variables and Data Types
  4. Sources of Data
  5. Populations and Samples
  6. Thank YOU

1. Introduction to Biostatistics

1.1 Statistics

Statistics is a field dedicated to the collection, organization, summarization, analysis, and interpretation of data. It involves planning studies and experiments, obtaining data, and then drawing conclusions based on that data.

The fundamental "raw material" of statistics is data, which are the actual pieces of information gathered through a study, often resulting from counting or measurement 5 7.

  • Statistics: The science of planning studies and experiments; obtaining data; organizing, summarizing, presenting, analyzing, and interpreting those data; and then drawing conclusions based on them 5.
  • Data: Figures that result from counting or taking measurements 7.

1.2 Types of Statistics

Statistics can be broadly categorized into descriptive and inferential branches, with correlational relationships also being a focus. Descriptive statistics involves organizing, summarizing, and describing data, while inferential statistics deals with generalizing findings from a sample to a larger population and assessing their significance 6.

TypeDescription
Descriptive StatisticsOrganizing, summarizing, and describing data
Inferential StatisticsGeneralizing findings from a sample to a population and assessing significance
Correlational StatisticsExamining relationships between variables

📝 Injury severity can be classified as ordinal data, with categories like Fatal, Severe, Moderate, and Minor, indicating a natural order 14.

1.3 Parameter vs. Statistic

A key task in statistics is using sample data to make conclusions about populations. This requires understanding the distinction between a parameter and a statistic.

A parameter is a numerical measurement that describes a characteristic of a population, whereas a statistic is a numerical measurement that describes a characteristic of a sample. The mnemonic "population parameter" and "sample statistic" can help remember this relationship 9.

TermDescriptionAssociated With
ParameterA numerical measurement describing a characteristic of a populationPopulation
StatisticA numerical measurement describing a characteristic of a sampleSample

1.4 Types of Data

The type of data collected significantly influences the statistical methods used for analysis. Most data fall into two main groups: numerical (quantitative) data and categorical data 10.

Data TypeDescription
Numerical DataData that have meaning as a measurement or a count
Categorical DataData where observations fall into distinct groups or categories

1.5 Numerical Data

Numerical data, also known as quantitative data, represent quantities that have meaning as a measurement (e.g., height, weight, blood pressure) or as a count (e.g., number of days in a hospital). Numerical data can be further classified into discrete and continuous types 11 12.

  • Discrete data: Represent items that can be counted and take on a listable set of possible values, which can be finite or countably infinite (non-negative integers).
  • Continuous data: Represent measurements whose possible values cannot be counted and are described using intervals on the real number line. For any selected data value, there is no "next" data value 12.

1.6 Categorical Data 14

Categorical data arise when observations fall into separate, distinct groups. These data are sometimes coded with numbers, but these numbers do not have mathematical meaning and cannot be added.

Categorical data can be further divided into ordinal and nominal types 13.

  • Ordinal data: Have an ordering that exists between categories (e.g., injury severity: Fatal, Severe, Moderate, Minor).
  • Nominal data: Have no natural order between categories (e.g., eye color, blood type, gender) 14.
Categorical Data TypeDescriptionExamples
OrdinalCategories have a natural order or rankingInjury Severity (Fatal, Severe, Moderate, Minor); Disease Risk (High, Moderate, Low)
NominalCategories have no natural order; they are distinct names or labelsEye Colour; Blood Type (A, B, AB, O); Gender (Female, Male)

2. Levels of Measurement

2.1 Introduction to levels of measurement

The classification of data into four levels of measurement—nominal, ordinal, interval, and ratio—is a common practice in statistics. Understanding these levels is crucial for selecting appropriate statistical procedures and avoiding computations that are not suitable for the data.

Each level builds upon

Cover

OMIS 1050 Tutoring BBAs.pdf

This study guide comprehensively covers Excel functions, statistical methods, sampling techniques, data systems, probability concepts, computing fundamentals, and ethical issues in information security.

document overview

This summary is structured to guide you through diverse topics spanning Excel functionalities, statistical and sampling methods, data systems and databases, probability laws, and ethical as well as security concerns in managing data.

excel functions and formulas

Excel functions form the backbone of data analysis, with specialized functions for statistical computations and data management.

  • On 2, functions such as VAR.PVAR.P, VAR.SVAR.S, STDEV.PSTDEV.P, and STDEV.SSTDEV.S help users compute population variance, sample variance, and respective standard deviations.
  • 3 covers standardized data using the STANDARDIZESTANDARDIZE function, which generates Z-scores, and introduces the coefficient of variation computed as STDEV.P(range)/Mean(range)STDEV.P(range)/Mean(range) multiplied by one hundred percent.

Tip: Always enclose criteria in quotes when using functions like COUNTIF and COUNTIFS to avoid errors 6.

  • 4 discusses additional functions including CORRELCORREL for correlation, COVARIANCE.SCOVARIANCE.S for sample covariance, and basic descriptive statistics functions such as MEAN, MEDIAN, MODE, MAX, MIN, and GEOMEANGEOMEAN.
  • 81 further details the use of SUMPRODUCTSUMPRODUCT, LARGELARGE, SMALLSMALL, RIGHTRIGHT, and LEFTLEFT functions for specialized data manipulations.
  • 82 presents various Excel hacks, including rounding functions (ROUNDROUND, ROUNDUPROUNDUP, ROUNDDOWNROUNDDOWN), date functions (TODAYTODAY, NOWNOW), and random number generators (RANDRAND, RANDBETWEENRANDBETWEEN).

statistical concepts

The document details essential statistical measures and graphics for data analysis.

  • 10 defines statistics, including differences between a population and a sample, and explains the concept of a census.
  • 11 distinguishes between descriptive statistics (summaries for a specific group) and inferential statistics (generalizing from a sample to a population).
  • 35 introduces measures of central tendency, including the arithmetic mean, median, and mode, along with concepts of unimodal, bimodal, or multimodal distributions.
  • 36 describes percentiles and quartiles; for example, the nth percentile is defined as the value below which at least n percent of the observations fall.
  • 37 briefly mentions the empirical rule, which offers guidelines for the spread of data in a normal distribution.
  • 39 explains the range as the difference between the largest and smallest numbers in a data set.

data distribution and graphical representation

A suite of methods is discussed for organizing and graphing data.

  • 27 provides steps for grouping raw data into a frequency distribution by determining the range, number of classes, and class width.
  • 29 defines histograms as contiguous rectangular bars representing class frequencies.
  • 30 covers frequency polygons, which plot frequencies at class midpoints to display data trends.
  • 31 explains ogives, which are cumulative frequency polygons useful for understanding the accumulation of data values.
  • 32 introduces cross-tabulation as a method to display frequency counts for two variables simultaneously, illustrated with a job satisfaction survey example.
  • 33 and 34 detail scatter plots and time-series data, respectively, highlighting their roles in exploring relationships between variables and trends over time.

probability and combinatorics

Fundamental probability concepts and counting principles are outlined.

  • 46 briefly introduces the probability laws that govern data outcomes.
  • 47 defines the sample space with a classic example of rolling a single die.
  • 51 through 57 cover several topics: complements of events, the mnemonic counting rule, permutations, different probability types, and the law of addition, all crucial for solving combinatorial problems in probability.

sampling methods

Various sampling techniques are thoroughly explained to select representative subsets of a population.

  • 17 explains why samples are used instead of full censuses, emphasizing the saving of time, money, and resources.
  • 18 introduces the concept of a frame—the list or map from which samples are drawn—and discusses potential over- or under-registration issues.
  • 19 describes simple random sampling, where every unit of the population has an equal chance of selection.
  • 20 and 21 cover stratified random sampling, including both proportionate and disproportionate methods, ensuring all strata are properly represented.
  • 22 introduces systematic sampling, where every kth element is
Cover

OpenIntro Statistics .pdf

📚 OpenIntro Statistics .pdf

Brief overview

This document provides a foundational understanding of statistical principles, covering data collection, probability, random variables, and statistical inference. Mastering these concepts is crucial for analyzing data, making informed decisions, and drawing valid conclusions in various fields.

Key points

  • Overview of data types, observations, variables, and data collection principles including sampling and experimental design.
  • Foundational concepts of probability, including distributions, random variables, and their properties.
  • Principles of statistical inference, including confidence intervals and hypothesis testing for proportions and means.
  • Application of statistical inference to categorical and numerical data using methods like chi-square and ANOVA.
  • Introduction to regression techniques, including linear and logistic regression for modeling relationships.

1. Introduction to data and sampling principles (part 1)

1.1 Case study: using stents to prevent strokes

This case study highlights the role of statistics in evaluating medical treatments. Researchers investigated if stents reduce stroke risk in high-risk patients.

They randomly assigned 451 patients into two groups: treatment (stent + medical management) and control (medical management only).

  • Treatment group: 224 patients received a stent and medical management.
  • Control group: 227 patients received only medical management.

The study observed outcomes at 30 and 365 days. Data was summarized to show the proportion of patients experiencing a stroke.

Unexpected findings can occur; always be open to surprises in data. .

Stent study outcomes

TimeframeGroupStrokeNo EventTotal
0-30 daystreatment33191224
0-365 daystreatment45179224

The analysis showed a higher stroke rate in the treatment group (20%) compared to the control group (12%) after one year. This unexpected result suggested potential harm from stents in this patient population.

🔑 Important: Generalizing results requires caution; study findings apply to specific populations and treatments studied. 10.

Exercise application

  • Migraine and acupuncture: Researchers studied if acupuncture relieved migraine pain. 89 patients were assigned to treatment (acupuncture) or control (placebo acupuncture). After 24 hours, pain relief was assessed.
  • Sinusitis and antibiotics: A study compared antibiotics to placebo for acute sinusitis. 166 adults received amoxicillin or a placebo. Symptom improvement was recorded after 10 days.

These exercises apply similar principles to analyze treatment effectiveness using contingency tables.

1.2 Data basics

Observations, variables, and data matrices

  • Data: Observations collected from field notes, surveys, or experiments. .
  • Statistics: The study of how to collect, analyze, and draw conclusions from data. 8.

Data is often organized in a data matrix.

A data matrix is a structured way to organize observations and their characteristics. 12.

Components of a data matrix

ComponentDescription
Row (Case)Represents a single observation or observational unit.
Column (Variable)Represents a characteristic or attribute recorded for each case.

Example: In a loan data set:

  • Each row is a loan (a case).
  • Columns like "loan amount" or "interest rate" are variables.

📝 Example: A gradebook is a data matrix where students are cases and assignments are variables. 13.

1.3 Sampling principles and strategies

This section introduces fundamental concepts for collecting data. Reliable conclusions require careful data collection, often using samples to represent a larger population.

The way data is collected significantly impacts the conclusions that can be drawn. .

Population vs. Sample

  • Population: The entire group of individuals or items of interest.
  • Sample