Probability Statistics

Cover

Interpreting Data Notes – Chapter 10 (Benjamin Odgers).pdf

Table of contents

  1. Interpreting data
  2. Measures of central tendency
  3. Measures of spread
  4. Outliers
  5. Describing graphs
  6. Comparing distributions
  7. Parallel box-and-whisker plots

1. Interpreting data

1.1 Written by Benjamin Odgers

This section introduces key concepts for understanding data, including measures of central tendency, spread, outliers, and how to describe the shape of graphs. These tools help us summarize and make sense of numerical information 1.


2. Measures of central tendency

Measures of central tendency describe the center or typical value of a dataset. They help us understand where the bulk of the data lies 2 3.

2.1 Mean

The mean, often called the average, is calculated by summing all scores and dividing by the total number of scores. It is represented by the formula xˉ=∑xn\bar{x} = \frac{\sum x}{n} 2.

2.2 Calculating the mean from grouped data

When data is presented in classes, the mean is calculated using the formula xˉ=∑fx∑f\bar{x} = \frac{\sum fx}{\sum f}, where ff is the frequency of each class and xx is the class centre 2.

2.3 Median

The median is the middle score in a dataset that has been ordered from smallest to largest. To find its position, count the total number of scores, add one, and divide by two 3.

2.4 Mode

The mode is the most frequently occurring score in a dataset. It is particularly useful for categorical data where calculating a mean or median is not possible.

A dataset can have more than one mode; if it has two, it is called bimodal 3.


3. Measures of spread

Measures of spread indicate how dispersed or clustered the data points are. Understanding spread helps us assess the variability within a dataset 4 5.

3.1 Range

The range is the simplest measure of spread, calculated by subtracting the lowest score from the highest score 4.

3.2 Interquartile Range (IQR)

The interquartile range (IQR) measures the spread of the middle 50% of the data. It is calculated as the difference between the third quartile (Q3) and the first quartile (Q1).

A smaller IQR suggests scores are closer together, while a larger IQR indicates they are more spread out 4 5.

📝 For Class A, the interquartile range is calculated as Q3 - Q1. If Q3 is 7 and Q1 is 4, the IQR is 7−4=37 - 4 = 3 4.

3.3 Quartiles, Deciles, and Percentiles 5

These measures divide data into equal parts:

MeasureDescription
QuartilesScores are split into 4 equal parts. Q1 is the 25th percentile, Q2 is the 50th percentile (median), and Q3 is the 75th percentile.
DecilesScores are split into 10 equal parts. For example, the 4th decile is the 40th percentile.
PercentilesScores are split into 100 equal parts. For example, the 95th percentile is the score below which 95% of the data falls.

3.4 Standard Deviation

Standard deviation quantifies the amount of variation or dispersion in a set of values. A low standard deviation indicates that the values tend to be close to the mean, while a high standard deviation means the values are spread out over a wider range.

There are two types: population standard deviation (σn\sigma_n or σx\sigma_x) and sample standard deviation (σn−1\sigma_{n-1} or SxS_x) 5.


4. Outliers

Outliers are data points that are significantly different from other observations in a dataset. They can disproportionately affect statistical measures 6.

4.1 Identifying outliers

To identify outliers, first calculate the interquartile range (IQR). Then, multiply the IQR by 1.5.

  • Any score less than Q1−1.5×IQRQ1 - 1.5 \times IQR is considered a low outlier.
  • Any score greater than Q3+1.5×IQRQ3 + 1.5 \times IQR is considered a high outlier 6.

4.2 Effect of outliers

Outliers can significantly influence the mean, median, and mode of a dataset. The mean is particularly sensitive to outliers, as it is affected by every value in the dataset 6.


5. Describing graphs

Describing graphs involves analyzing their shape, smoothness, and the number of peaks (modality). This helps in understanding the underlying distribution of the data 7 8.

5.1 Graph characteristics 7

CharacteristicDescriptionVisual Example
SmoothnessSmooth graphs have no sharp edges or breaks. Not smooth graphs have distinct changes in direction.—
SymmetrySymmetrical graphs are mirror images about their center. Non-symmetrical graphs are skewed.—
ModalityUnimodal graphs have one peak. Bimodal graphs have two peaks. Multimodal graphs have many peaks.—

5.2 Symmetry and skewness

  • Symmetric (not skewed): The data is evenly distributed around the center.
  • Positively skewed: Most data is on the left side, with a longer tail extending to th
Cover

Introduction To Probability.pdf

📚 Introduction To Probability.pdf

Brief overview

This document introduces the fundamental concepts of probability theory, essential for quantifying uncertainty and analyzing random phenomena. Understanding probability allows for informed decision-making in contexts ranging from statistics to everyday situations.

Key points

  • Overview of probability and randomness as measures of likelihood and unpredictability.
  • Defining sample spaces, the set of all possible outcomes.
  • Identifying and analyzing specific events within a sample space.
  • Utilizing tree diagrams to visualize and enumerate outcomes of experiments.
  • Summary of key definitions and methods for probability measurement.

1. Introduction to probability and randomness

1.1 What is probability and randomness?

Probability is a way to measure how likely an event is to happen. It's like measuring physical things, but for chance.

Probability helps us understand uncertainty in life, like whether it will rain or if your team will win.

  • Random events: These are situations where we know all possible outcomes, but we can't predict which one will actually occur. Examples include tossing a coin or drawing a name from a hat 1.

📝 Example: Tossing a coin: You know it can be heads or tails, but you can't be sure which will appear on a single toss.

  • Randomness: This term describes situations where outcomes are unpredictable, even when all possibilities are known 2.

Probability scale: This is a scale from 0 to 1 used to show how likely an event is.

  • 0 means the event is impossible.
  • 1 means the event is certain to happen.
  • Values between 0 and 1 show how likely the event is, with higher numbers meaning it's more probable4.

📝 Example: A probability of 0.75 for your school winning a match means there's a 75% chance they will win 3.

1.2 Measuring probability objectively

We can estimate probabilities in two main ways: using past experiences or using theoretical reasoning.

MethodDescription
Experimental probabilityUses data collected from experiments or past observations. The probability is calculated as the relative frequency of the event.
Theoretical probabilityAssumes all possible outcomes are equally likely. Probability is found by comparing favorable outcomes to total possible outcomes. 5

1.2.1 Experimental probability

This method involves performing an experiment multiple times to collect data. The result of an experiment is called an outcome.

All possible outcomes form the sample space.

Formula for Experimental Probability: Experimental Probability=Number of times the event occurredTotal Number of trials\text{Experimental Probability} = \frac{\text{Number of times the event occurred}}{\text{Total Number of trials}}

📝 Example: If a die is rolled 50 times and lands on 4 exactly 8 times, the experimental probability of rolling a 4 is 8/50=0.168/50 = 0.16. This is also called the relative frequency 6.

1.2.2 Theoretical probability

Theoretical probability is based on ideal conditions where all outcomes are equally likely. It doesn't require actual experiments or data collection.

Formula for Theoretical Probability: P(Event)=Number of favourable outcomesNumber of possible outcomesP(\text{Event}) = \frac{\text{Number of favourable outcomes}}{\text{Number of possible outcomes}}

📝 Example: For a standard 6-sided die, the theoretical probability of rolling a 4 is 1/61/6 (1 favorable outcome out of 6 possible outcomes). 📝 Example: In the word 'PROBABILITY', the probability of picking the letter B is 2/112/11 (2 Bs out of 11 letters) 7.

1.2.3 Analyzing statistical data

Probability is used to analyze data collected from samples to make predictions about a larger population. This is common in business, science, and social research.

📝 Example: If 20 out of 50 students in a class like mangoes, the probability that a randomly chosen student likes mango is 20/50=0.420/50 = 0.4 or 40% 8.

Key Idea: Experimental probability gets closer to theoretical probability as the number of trials increases. This is known as the Law of Large Numbers.

Gambler's Fallacy: Believing that past random events influence future independent events (e.g., a coin that landed heads six times is "due" for tails). Each event has the same probability regardless of previous outcomes.

📝 Example: If a fair die rolls a 6 three times in a row, the probability of rolling a 6 on the next roll is still 1/61/6, as each roll is independent.

Cover

IntroStat_June2014.pdf

📚 IntroStat_June2014.pdf

Brief overview

This document provides a foundational introduction to statistical concepts and their applications. It covers essential techniques for data exploration, probability, statistical inference, and modeling relationships between variables, crucial for making informed decisions in uncertain environments.

Key points

  • Overview of statistical concepts, data exploration, and descriptive statistics.
  • Introduction to set theory and fundamental probability concepts.
  • Detailed exploration of various probability distributions.
  • Coverage of statistical inference, including hypothesis testing and confidence intervals.
  • Application of regression and correlation analysis for understanding variable relationships.

1. Introduction to statistics and data exploration (part 1)

1.1 Statistics and data exploration

  • Statistics: The science of decision-making in the face of uncertainty. It focuses on interpreting data to make sound decisions.
  • Data: Information used to assist in decision-making. It can come in various forms and amounts.
  • Goal of exploration: To quickly summarize and display data for an initial understanding. This involves visual displays, key numbers, and gaining insight into data potential.

Statistics helps make consistently sound decisions in uncertain situations.

1.2 Types of data

  • Qualitative data: Non-numerical data, often uses labels or names for categories.
  • Examples: Make of car, eye color, gender, profession.
  • Can be ordinal, like company size (small, medium, large).
  • Quantitative data: Always numerical data that can be ordered. It usually arises from counting or measuring.
  • Examples: Flying time, number of rooms, salary, cost of a building.

1.3 Visual displays for qualitative data

  • Pie chart: Uses segments of a circle to represent proportions of categories. Best arranged with decreasing relative frequencies.
  • Bar graph: Uses horizontal or vertical bars to show category frequencies or relative frequencies. Bars are not connected, and width is not relevant. Arranging bars by decreasing frequency improves comparison.

Pie charts and bar graphs are effective for visualizing qualitative data proportions.

1.4 Example: MBA student degrees

  • A table lists MBA students' first degrees (Arts, Commerce, Engineering, Medicine, Science, Other) and GMAT scores.
  • Qualitative data: First degree category.
  • Visualizing the data shows engineers are the largest proportion of MBA students.

Table 1.1: MBA Student First Degree Distribution

First degreeFrequencyRelative frequency
Engineering280.35
Science160.20
Arts160.20
Commerce100.12
Medicine50.06
Other60.07
Total811.00
10### 1.3.2 Example: Johannesburg Stock Exchange All-Share Index
  • Table 1.2 breaks down the All-Share Index by major sector and number of shares.
  • Tasks:
  • Construct a bar chart for the number of shares per sector.
  • Construct a bar chart for the relative weightings (percentages) of each sector and compare to the first chart 12.

Table 1.2: Composition of the All Share Index (partial)

Major sectorSubsidiary IndexNo. of sharesPercentage weighting
CoalCoal20.82
DiamondsDiamonds18.27
All-GoldGold — Rand and others51.39
All-GoldGold — Evander20.89
Mining financialMining houses316.79
FinancialBanks & financial services52.80
IndustrialIndustrial holdings69.94
IndustrialBeverages & hotels23.43
13

1.5 Display and summarize quantitative data

  • Statistical tools extract information from data that isn't obvious 8.
  • Initial steps include visual displays, summarizing with key numbers, and gaining insight.
  • Quantitative data needs specific displays like histograms and stem-and-leaf plots.

Quantitative data exploration uses tools beyond simple counting and averaging.

1.6 Stem-and-leaf plots

  • A method to display quantitative data, similar to a histogram but shows individual data values.
  • Each data value is split into a "stem" (leading digits) and a "leaf" (trailing digit).
  • Leaves are listed in order next to their corresponding stem.
Cover

IS602-S5_AG.pdf

📚 IS602-S5_AG.pdf

Brief overview

This document introduces Monte Carlo simulation as a method for analyzing uncertainty and exploring probabilistic outcomes. It covers the foundational principles, mathematical techniques for generating random data from various distributions, and practical applications in financial planning. Understanding these concepts is essential for robust decision-making under uncertainty.

Key points

  • Overview of Monte Carlo simulation and its purpose in analyzing random inputs and output distributions.
  • How to invert continuous and discrete probability distributions to generate random variates.
  • Practical application of Monte Carlo simulation using the Monty Hall problem.
  • Utilization of the COUNTIF function for retirement fund planning and scenario analysis.

1. Introduction to Monte Carlo simulation

1.1 Core concepts of Monte Carlo simulation

  • Monte Carlo simulation: A technique that involves repeatedly simulating scenarios using random generation of input variables to a model.
  • Purpose: To analyze the distribution of potential outcomes rather than a single definitive answer 3.
  • Process:
  • Specify probability distributions for input variables.
  • Generate random draws and map them to cumulative probabilities.
  • Repeat for numerous trials to build an output distribution.

🔑 Important: Monte Carlo simulation transforms a single-point estimate into a distribution of possible outcomes, essential for decision-making under uncertainty.

1.2 Random number generators

  • RAND():

  • Generates a random number in the interval [0,1.0)[0, 1.0), excluding 11.

  • Represents a continuous uniform distribution, where all numbers are equally likely.

  • Typically used as a cumulative probability value.

  • RANDBETWEEN(bottom, top):

  • Returns a random integer between bottom and top, inclusive.

  • Represents a discrete uniform distribution, where all integers are equally likely.

  • Often used as a position number 7.

Comparison of RANDBETWEEN(1,6) and RAND() distributions.

🔑 Important: RAND() maps to continuous distributions, while RANDBETWEEN() maps to discrete distributions. Both are fundamental for generating random inputs.

1.3 Monte Carlo analysis steps

The Monte Carlo analysis involves a systematic approach to simulation:

  1. Specify probability distributions for inputs: Identify and define the statistical distributions that best represent the uncertainty in each input variable.
  2. Trial by random draws and equate to cumulative probability: Use random number generators to draw values and then map these values to the cumulative distribution functions (CRFs) of the input variables. This step is crucial because cumulative probabilities range from 0 to 1, aligning with the output of RAND().
  3. Repeat for many trials: Execute steps 1 and 2 numerous times to generate a distribution of the output results, rather than a single answer. This allows for a comprehensive understanding of the potential range and likelihood of outcomes 6.

1.4 Resampling and data generation methods

Resampling, often referred to as "bootstrapping," allows for the generation of additional representative data from a small set of actual data. This is vital when the underlying distribution of the input variables is unknown or complex 9.

1.4.1 Method 1: Frequency bins and CRF tables

This method constructs a Cumulative Relative Frequency (CRF) table from existing data.

  • Binning data: Group data points into bins and calculate the frequency within each bin.
  • CRF table construction: Use the bin frequencies to compute cumulative probabilities. These probabilities, ranging from 0 to 1, are essential for mapping random numbers generated by RAND().
  • Generating new data points
Cover

ITSM-QT-03- Normal Distribution.pdf

📚 ITSM-QT-03- Normal Distribution.pdf

Brief overview

This document introduces the fundamental principles of probability and its application in statistical analysis. It details the characteristics and applications of the normal distribution, a critical concept for understanding data variability.

Key points

  • Overview of basic probability concepts with illustrative examples.
  • Probability calculations and experimental analysis using dice.
  • Understanding the normal distribution, its properties, and significance.
  • The role of standard deviation and z-scores in data analysis.

1. Introduction to probability

1.1 What is probability?

  • Probability: the likelihood of an event happening. It helps us understand chances when data is limited.
  • It guides decisions, especially when resources for collecting data are scarce.
  • Understanding probability helps in assessing risks and relative risks.

🔑 Important: Probability gives us a measure of how likely an event is to occur.

1.2 Basic probability concepts

  • Experiment: an action with an uncertain result (e.g., tossing a coin, rolling a die).
  • Sample space: the set of all possible outcomes of an experiment.
  • Sample point: a single, specific outcome within the sample space.
  • Event: a specific result or a set of outcomes from an experiment.

🔑 Important: Events can consist of one or more sample points.

ExperimentSample Space (outcomes)Event (Example)
Tossing a coin{Heads (H), Tails (T)}Getting Tails
Rolling a die{1, 2, 3, 4, 5, 6}Rolling an even number
Choosing a cardAll 52 cards in a deckDrawing a King

1.3 Calculating probability

  • The basic formula for probability is: P(A)=Number of ways event A can happenTotal number of possible outcomesP(A) = \frac{\text{Number of ways event A can happen}}{\text{Total number of possible outcomes}}
  • Probability values always fall between 0 and 1, inclusive.
    • 0 means an event is impossible.
    • 1 means an event is certain.

🔑 Important: The sum of probabilities for all possible outcomes of an experiment is always 1.

📝 Example: If a bag has 8 green marbles and 2 red marbles (10 total), the probability of picking a green marble is 8/108/10, or 0.80.8 (80%).

1.3.1 Probability with dice

  • A standard die has 6 faces, numbered 1 through 6.
  • The probability of rolling any single number is 1/61/6.
ScoreProbability
11/6
21/6
31/6
41/6
51/6
61/6

1.3.2 Probability with coins

  • A coin has two sides: Heads (H) and Tails (T).
  • The probability of getting Heads is 1/21/2.
  • The probability of getting Tails is 1/21/2.

📝 Example: If you toss a coin 100 times, probability suggests you'd expect about 50 Heads. However, actual results might vary slightly (e.g., 48 or 55 Heads) but will likely be close to 50.

1.4 Probability and data distribution

  • Many natural phenomena and IT processes follow a normal distribution.
  • When plotted as a graph (histogram), this data forms a bell-shaped curve.
  • This curve is symmetrical, with a single peak at the mean (average) of the data.
  • The standard deviation controls the spread of the data. A smaller standard deviation means data is more concentrated.
  • In a normal distribution, the mean and median are identical.

🔑 Important: The normal distribution is a key model in IT for understanding performance metrics like machine output or software behavior.

🔑 Important: While probability guides expectations, actual experimental results can vary, especially with fewer trials. Consistent, close results over many trials suggest higher quality data.

2. Probability with dice experiments

2.1 Single die experiment

Experimenting with a single die helps understand basic probability concepts. You roll a standard six-sided die many times to collect data.

The possible scores are 1, 2, 3, 4, 5, and 6.

2.1.1 Theoretical vs. experimental results

  • Theoretical probability: This is what we expect to happen. For a fair die, each face has an equal chance of appearing.
  • Experimental probability
Cover

Kami Export - Core 4 Prob.pdf

📚 Kami Export - Core 4 Prob.pdf

Brief overview

This document introduces core concepts in probability, focusing on the likelihood of events and the set of all possible outcomes. Understanding these principles is essential for making predictions and analyzing data across various fields.

Key points

  • Introduction to probability and sample space.

  • Exploring theoretical versus experimental probability.

  • Understanding relative frequency and its relation to predictions.

  • Practical applications of relative frequency in problem-solving.


1. Introduction to probability and sample space

1.1 Probability and sample space basics

  • Probability: The likelihood an event will occur. It is a value between 0 and 1.

  • Sample space: The set of all possible outcomes for an event.

🔑 Important: Probability values are always between 0 (impossible) and 1 (certain).

1.2 Types of probability

Two main types of probability help us understand events:

Type

Definition

Answers the question...

Experimental probability

Based on the number of times an event occurs divided by the total number of trials.

"What happened?"

Theoretical probability

Based on the ratio of favorable outcomes to all possible outcomes.

"What should happen?"

1.3 Calculating simple probabilities

Many situations involve calculating the chance of a specific outcome.

📝 Example: A standard number cube is rolled. The probability of rolling a 6 is 1 out of 6 possible outcomes.

1.3.1 Probability of an event

  • Event probability: Calculated as the number of favorable outcomes divided by the total number of possible outcomes.

1.3.2 Probability of a complement

  • Complement: The probability of an event not occurring.

  • The sum of an event's probability and its complement is always 1. This means P(textevent)+P(textnotevent)=1P(\\text{event}) + P(\\text{not event}) = 1.

📝 Example: If the probability of rain is 0.3, the probability of no rain is 1−0.3=0.71 - 0.3 = 0.7.

1.3.3 Probability calculations in different scenarios

Here are examples of calculating probabilities:

  • Spinner: The sample space for a spinner with numbers 1-4 is {1, 2, 3, 4}.

    • P(even number) = 2/4 = 1/2

    • P(odd number) = 2/4 = 1/2

    • P(not a 4) = 3/4

  • Number cube: The sample space for rolling a standard number cube is {1, 2, 3, 4, 5, 6}.

    • P(a 6) = 1/6

    • P(odd number) = 3/6 = 1/2

    • P(1 or 2) = 2/6 = 1/3

  • Letters in a word: For the word SOCCER, the letters are {S, O, C, C, E, R}. The sample space has 6 letters.

    • P(vowel) = 2/6 = 1/3 (O, E)

    • P(consonant) = 4/6 = 2/3 (S, C, C, R)

    • P(the letter C) = 2/6 = 1/3

  • Numbers in a bag: For numbers 1-10, the sample space is {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.

    • P(number between 2-7) = 6/10 = 3/5

    • P(multiple of 5) = 2/10 = 1/5 (5, 10)

    • P(complement of a 9) = 9/10

1.4 Comparing experimental and theoretical probability

Experimental and theoretical probabilities can differ.

📝 Example: A fair coin is tossed four times. The theoretical probability of tails is 1/2. If the experimental probability of tails is 1/4, there's a difference of 1/4. This difference arises from the limited number of trials in the experiment.

📝 Example: A coin purse has 20 coins: 6 pennies, 4 quarters, 3 dimes. The remaining are nickels.

  • Number of nickels = 20−6−4−3=720 - 6 - 4 - 3 = 7

  • Theoretical P(nickel) = 7/20

📝 Example: A spinner with numbers 1-4 is spun 10 times. The experimental P(landing on 3) is 1/2.

  • Theoretical P(landing on 3) = 1/4

  • Difference = 1/2 - 1/4 = 1/4

🔑 Important: Experimental probability gets closer to theoretical probability as the number of trials increases.

🔑 Important: In games like rock, paper, scissors, the theoretical probability of a player picking rock is 1/3. Experimental results from a few games might vary.

Cover

Kopie van Samenvatting Advanced Econometrics.pdf

analyse van mediërende effecten

Mediatiërende effecten onderzoeken hoe een effect tussen twee variabelen verloopt via een derde variabele.

1.1 Principes van mediërende effecten

Bij een mediatiënanalyse wordt onderzocht of en hoe een effect tussen twee variabelen (X →\rightarrow Y) via een derde variabele (M) loopt 90.

1.1.1 Identificeren van mediërende effecten

  • Indirect effect (a*b): Indien het indirecte effect significant is, is er sprake van mediëatie 90.
  • Volledige mediatie (full mediation): Als het indirecte effect (a∗ba \ast b) significant is en het directe effect (cc) niet significant is 90.
  • Gedeeltelijke mediatie (partial mediation): Als zowel het indirecte effect (a∗ba \ast b) als het directe effect (cc) significant zijn 90.

1.1.2 Belang van mediërende effecten

  • Ze geven inzicht in het onderliggende proces of mechanisme 90.
  • Ze maken gerichtere interventies mogelijk 90.
  • Ze zijn noodzakelijk om tegenstrijdige effecten in beeld te brengen 90.

1.1.3 Interpretatie van resultaten

  • Er is geen aparte tabel met gemediatiseerde effecten; deze moeten worden afgeleid uit de tabellen met indirecte en directe effecten 90.
  • Om te bepalen of er sprake is van mediëatie, wordt gekeken naar de significantie van het indirecte effect (a∗ba \ast b) 90.

1.1.4 Percentage mediatie

Het percentage mediatie, ook wel Variance Accounted For (VAF) genoemd, wordt berekend en heeft enkel betekenis bij gedeeltelijke mediatie 90.

Tip: Bereken de VAF alleen bij gedeeltelijke mediatie.

1.2 Soorten mediatiestructuren

1.2.1 Parallelle mediatië

Voor parallelle mediëatie gelden dezelfde regels als voor een enkele mediator 91.

1.2.2 Seriële mediëatie

Er is sprake van seriële mediëatie indien het product van de padcoëfficiënten (a1∗d∗b2a_1 \ast d \ast b_2) niet gelijk is aan nul (a1∗d∗b2≠0a_1 \ast d \ast b_2 \neq 0). De significantie van de overige paden is hierbij niet relevant 91.

1.3 Signifiicante effecten en betrouwbaarheidsintervallen

1.3.1 Bootstrap betrouwbaarheidsintervallen (CI)

  • SmartPLS geeft van veel effecten een bootstrap CI, maar niet van alle 91.
  • Om coëfficiënten te vergelijken, is het noodzakelijk om zelf een bootstrap CI te berekenen 91.

1.3.2 Zelf bootstrap CI berekenen (DIY)

  • De output van SmartPLS kan de schattingsresultaten per bootstrap sample bevatten (te vinden onder "Algorithm →\rightarrow samples") 91.
  • De benodigde resultaten kunnen eenvoudig naar Excel worden geëxporteerd ("Copy to Excel/Word") 91.
  • In Excel kan de gewenste parameter, bijvoorbeeld het verschil tussen twee coëfficiënten (B1−B2B_1 - B_2), worden berekend. Vervolgens kan het bootstrap CI worden berekend om bijvoorbeeld te testen of dit verschil gelijk is aan nul 91.
  • Formules voor bootstrap CI's zijn te vinden in Streukens & Leroi 91.

Tip: Voor het vergelijken van coëfficiënten is het zelf berekenen van een bootstrap CI essentieel.

1.4 Totale effecten

Voor het bepalen van een significant totaal effect van een onafhankelijke variabele (IC) op een afhankelijke variabele (HELP), wordt gekeken naar de tabel met "Total effects". De relaties in deze tabel geven het begin- en eindpunt van de keten weer, waarbij alle tussenliggende effecten automatisch worden meegenomen 89.

Example: Om te onderzoeken of "Relationship Satisfaction" de relatie tussen "RMI" en de uitkomst "HELP" medieert, wordt de significantie van het indirecte effect van RMI via Relationship Satisfaction op HELP geanalyseerd.


1.5 Overwegingen bij multivariate data-analyse

Multivariate data-analyse is een evoluerend veld. PLS-SEM is een voortvloeisel van bestaande technieken die worden gecombineerd. Het combineert de ideeën van latente variabelen (EFA/PCA) met het schatten van een netwerk van relaties tussen deze latente variabelen (regressieanalyse). PLS-SEM is distributievrij, wat beter aansluit bij de realiteit, ook al kunnen parametrische assumpties wel worden gehanteerd. Wat PLS-SEM uniek maakt, is de schatting van de latente variabelen (LVS). Zodra deze zijn bepaald, kunnen er dezelfde analyses worden uitgevoerd als bij reguliere OLS-regressie 92.


Procedure voor het schatten van modellen in EFA

Het schatten van modellen in Exploratory Factor Analysis (EFA) behelst het identificeren van onderliggende, niet-geobserveerde factoren die de correlaties tussen geobserveerde variabelen verklaren, en het bepalen van het optimale aantal van deze factoren 11 13 7.

2.1 Algemene beginselen en doelstellingen van EFA

Exploratory Factor Analysis (EFA) wordt toegepast wanneer er geen specifieke a priori structuur wordt aangenomen voor de data; de structuur wordt bepaald door de data zelf. Het

Cover

L1-Statistics (revised).pptx.pdf

📚 L1-Statistics (revised).pptx.pdf

Brief overview

This document introduces the fundamental principles of statistics, focusing on data organization, summarization, and the calculation of key statistical measures. Understanding these concepts is essential for interpreting data and drawing meaningful conclusions across various fields.

Key points

  • Overview of basic statistical concepts and data types.
  • Calculation and application of central tendency measures for ungrouped data.
  • Construction of frequency distribution tables for grouped data.
  • Computation of central tendency measures for grouped data.
  • Understanding and calculating measures of variability including variance and standard deviation.

1. Basic concepts of statistics and data types

1.1 What is statistics?

  • Statistics: the science of collecting, organizing, presenting, analyzing, and interpreting data. It helps make effective decisions 5.

1.2 Types of statistics

  • Descriptive Statistics: Summarizes and describes data using graphs and tables.
  • Inferential Statistics: Analyzes data to make generalizations or conclusions about a population based on a sample 6.

🔑 Important: Descriptive statistics paint a picture of your data, while inferential statistics let you draw conclusions about a larger group.

1.3 Types of data

Statistics deals with different kinds of information. These are broadly categorized by their nature.

  • Qualitative Data: Non-numeric information.
  • Examples: Gender, hair color, nationality, profession.
  • Quantitative Data: Numeric information.
  • Examples: Height, weight, age, salary 7.

🔑 Important: Qualitative data describes qualities, while quantitative data describes quantities.

1.4 Population and sample

Understanding the source of data is crucial in statistics.

  • Population: The entire group of individuals, objects, or events being studied.
  • Sample: A subset or part of the population used for analysis 8.

🔑 Important: A sample should accurately represent the population to ensure valid conclusions.

1.5 Measures of central tendency

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

  • Mean: The average of all values, calculated by summing all values and dividing by the number of values.
  • Affected by extreme values (outliers).
  • Applicable only to quantitative data 13.
  • Median: The middle value in an ordered dataset (array).
  • Less affected by outliers and skewed data 14.
  • Mode: The value that occurs most frequently in the dataset.
  • Can be used for both qualitative and quantitative data 15.

🔑 Important: The mean is sensitive to outliers, the median is resistant to them, and the mode identifies the most common value.

1.6 Choosing the right measure

The best measure of central tendency depends on the data type and distribution.

Data Type/SituationMost Appropriate MeasureJustification
Quantitative, no outliersMeanRepresents the average value well.
Quantitative, with outliersMedianResists the influence of extreme values.
Qualitative or CategoricalModeIdentifies the most frequent category or value.
Bimodal or MultimodalModeUseful if there are multiple peaks in the data.

17

🔑 Important: Always consider the characteristics of your data before selecting a measure of central tendency.

📝 Example: For income data which is often skewed, the median is usually a better representation of the typical income than the mean 18.

2. Measures of central tendency for ungrouped data

2.1 Understanding measures of central tendency

Measures of central tendency describe the center or typical value of a dataset. They help summarize data into a single representative number.

Common measures include the mean, median, and mode. Choosing the right measure depends on the data's characteristics.

2.2 Computing the mean

The mean

Cover

L2.2-Weighted-Mean.pptx.pdf

📚 L2.2-Weighted-Mean.pptx.pdf

Brief overview

This document explains the concept and application of the weighted mean, a measure of central tendency. It demonstrates how weighted means are crucial for accurate data analysis in situations where data points have varying significance, offering practical examples in education and salary analysis.

Key points

  • Introduction to the concept and purpose of weighted mean.
  • Application of weighted mean in calculating final course grades.
  • Examples of weighted mean in salary analysis across departments.
  • Use of weighted means in analyzing survey data on technology adoption.

1. Introduction to weighted mean

1.1 Concept and purpose

  • Weighted mean: a measure of central tendency where each data point has a specific importance, called a weight.
  • Unlike the arithmetic mean, the weighted mean acknowledges that some values should influence the final average more than others.
  • It is used when data points do not have equal significance or frequency 7.

🔑 Important: The weighted mean provides a more realistic and accurate average when observations carry different levels of importance.

1.2 Calculating the weighted mean

  • To calculate the weighted mean, each data value is multiplied by its corresponding weight.
  • These weighted values are then summed up.
  • Finally, this sum is divided by the total sum of all the weights 5.

The formula for the weighted mean (xˉw\bar{x}_w) is: xˉw=∑i=1n(xi⋅wi)∑i=1nwi\bar{x}_w = \frac{\sum_{i=1}^{n} (x_i \cdot w_i)}{\sum_{i=1}^{n} w_i} Where:

  • xix_i represents each individual data value.
  • wiw_i represents the weight assigned to each data value.
  • nn is the number of data values.

1.3 Applications of weighted mean

The weighted mean is useful in various real-life situations.

SituationDescriptionExample
Educational gradingAssigning different importance to assignments, exams, and projects.Final grade calculation based on component weights.
Surveys and pollsGiving more influence to responses from specific demographic groups.Adjusting survey results to match population demographics.
Business and financeAveraging prices or returns when quantities or investment amounts differ.Calculating the average cost of inventory when items were bought at different prices.
StatisticsAnalyzing data where some observations are more reliable or frequent.Combining results from studies with different sample sizes.
  • In educational settings, different course components have varying levels of importance for the final grade.
  • For example, a Quarterly Assessment might have a score of 85 but a weight of 20%.
  • Written Works and Performance Tasks, even with scores of 90 and 95, might have higher weights like 40% each.
  • This shows how a higher score with a lower weight can impact the average differently than a lower score with a higher weight 6.

📝 Example: A student has the following grades: Written Works (90, weight 40%), Performance Tasks (95, weight 40%), Quarterly Assessment (85, weight 20%). The weighted mean combines these scores according to their weights to find the final grade.

  • Without weights, every subject or assessment would contribute equally, which might not reflect their true impact on overall performance 4.

🔑 Important: Using weights ensures that more significant components of a course have a greater influence on the final grade, providing a fairer evaluation.

🔑 Important: The weighted mean is crucial for accurate representation when data points have unequal importance 8.

2. Weighted mean examples and applications

2.1 Calculating weighted means for salary data

The weighted mean is used when different groups have varying sizes. It accounts for the number of items in each group when calculating an overall average.

A company wants to find the average salary across its departments. Each department has a different average salary and a different number of employees.

To find the overall average salary, the weighted mean is calculated. This ensures departments with more employees contribute more to the overall average.

📝 Example: A company has three departments.

  • Department A: Average Salary = 50,000 dollars, Employees = 30
  • Department B: Average Salary = 70,000 dollars, Employees = 20
Cover

L3-Random-Variables.pptx.pdf

📚 L3-Random-Variables.pptx.pdf

Brief overview

This document introduces the fundamental concepts of random variables, their types, and how to derive their values from experimental outcomes. Understanding these elements is crucial for statistical analysis and modeling uncertainty.

Key points

  • Overview of random variables, experiments, and sample spaces
  • How to identify and distinguish between discrete and continuous random variables
  • Methods for finding the possible values of random variables
  • Construction and properties of discrete probability distributions
  • Calculation of the mean, expected value, variance, and standard deviation for discrete random variables

1. Understanding random variables and their types

1.1 Introduction to random variables

  • Experiment: An activity with repeatable actions and defined results 5.
  • Outcomes: The possible results of an experiment 6.
  • Sample Space: The collection of all possible outcomes from an experiment 7.
  • Variable: A characteristic that can take on different values. Capital letters represent variables.
  • Random Variable: A function associating a real number with each outcome in a sample space. Its values are determined by chance 8.

🔑 Important: Random variables help us quantify uncertain events from experiments.

1.2 Types of random variables

Random variables are classified based on the values they can take. The two main types are discrete and continuous.

1.2.1 Discrete random variables

  • Discrete Variable: Can only assume a specific, countable number of values. It has distinct, separate values 10.
  • Examples include whole numbers, like counting objects.

1.2.2 Continuous random variables

  • Continuous Variable: Can take on any value within a given range. These values can be measured and often include decimals or fractions 11.
  • There are infinitely many possible values between any two given values.

🔑 Important: The key difference is countability: discrete variables are countable, while continuous variables are measurable within a range.

1.3 Distinguishing between discrete and continuous variables

Identifying whether a variable is discrete or continuous is crucial for statistical analysis. Consider the nature of the values the variable can assume.

Here is a comparison to help distinguish:

Variable DescriptionTypeReason
Person's age in yearsDiscreteCounted in whole years.
Baby's age in monthsDiscreteCounted in whole months.
Weight of every student in the classContinuousCan be any decimal value within a range.
Number of present studentsDiscreteCounted as whole individuals.
Running speed in 100m dashContinuousCan be any value within a range, including decimals.
Speed of a busContinuousCan vary continuously within a range.
Number of voters favoring a candidateDiscreteCounted as whole individuals.
Temperature in Quezon at noonContinuousCan be any decimal value within a range.
Gold medals won by delegatesDiscreteCounted as whole medals.
Amount of paint usedContinuousCan be any measured amount, including fractions.

13 14

🔑 Important: If a variable's possible values can be counted, it's discrete. If it can take any value in an interval, it's continuous.

1.4 Examples of random variables

Random variables appear in many real-world scenarios. They help model uncertain events.

  • Coin Toss Experiment: The number of heads when tossing a coin multiple times is a discrete random variable.
  • Dice Roll Experiment: The sum of the numbers facing up when rolling two dice is also a discrete random variable 9.