Probability Statistics

Cover

Sampling Distribution new_7bcb5d0ad773aa2d9d310c0580408c86.pdf

Table of contents

  1. Sampling and sampling distributions
  2. Sampling distributions
  3. Example 1
  4. Sampling distribution of the proportion

1. Sampling and sampling distributions

1.1 Sampling

Sampling is the process of selecting a subset of individuals or items from a larger group, known as the population. This selection process can occur in two primary ways: sampling with replacement, where an element is returned to the population after selection and can be chosen again, and sampling without replacement, where a selected element is not returned and cannot be chosen again.

A random sample is one where every possible sample of a specific size has an equal chance of being chosen 2.

1.2 Aims of sampling

The primary goals of sampling in research are to reduce the overall cost of data collection, enable generalization of findings from a smaller group to a larger population, and to conduct analyses that might be destructive if performed on the entire population 3.

1.3 Methods of sampling – Nonprobabilistic

Nonprobabilistic sampling methods do not ensure that every member of the population has an equal chance of being selected. These methods include convenience sampling (selecting readily available individuals), snowball sampling (participants recruit others), judgment sampling (researcher's expertise guides selection), and quota sampling.

Quota sampling aims to create a sample that mirrors the population's characteristics, such as age and sex, or for businesses, region and firm size, which can yield a reasonably representative sample. However, statistical inference is not possible with nonprobabilistic methods because the sampling distribution of statistics cannot be determined 4.

1.4 Methods of sampling – Probabilistic 5

Probabilistic sampling methods ensure that each member of the population has a known, non-zero probability of being selected. These methods are essential for statistical inference.

MethodDescription
Random samplingEach member has an equal probability of being selected.
Systematic samplingSelecting every kth case. Equivalent to random sampling if list patterns are unrelated to the research topic.
Stratified samplingSampling from each subgroup (stratum) of a population, such as by region or firm size.
Cluster samplingSampling only specific groups (clusters) of population members, like city blocks or firms.
Multistage samplingCombinations of random, systematic, stratified, and cluster sampling techniques.

If probability is involved at each stage of these methods, the distribution of sample statistics can be obtained, allowing for statistical inference 5.

1.5 Population and sample distributions

A population distribution describes the frequency of values for a characteristic across an entire population. A sample is a subset drawn from this population.

The population mean (μ\mu) represents the average of the population, while the sample mean (xˉ\bar{x}) represents the average of the sample 6.

2. Sampling distributions

2.1 Definition of sampling distribution

A sampling distribution describes the probability of all possible values a statistic can take when computed from random samples of the same size drawn from a specific population. The sampling distribution of X specifically refers to the probability distribution of all possible values a random variable can assume when a sample of size n is taken from a specified population 7.

2.2 Uniform population example

Consider a uniform population of integers from 1 to 8. The probability of drawing any single integer is 0.125. The population mean (μ\mu) is 4.5, the population variance (σ2\sigma^2) is 5.25, and the population standard deviation (σ\sigma) is approximately 2.2913 8.

When drawing samples of size 2 with replacement from this population, there are 8×8=648 \times 8 = 64 equally likely samples. Each sample has a mean.

For instance, the sample (1,4) has a mean of 2.5, and the sample (8,4) has a mean of 6.0 9.

The sampling distribution of the mean for this population shows the probabilities of each possible sample mean. This distribution is more bell-shaped and symmetric than the original uniform population distribution.

It shares the same center (mean) but is more compact, indicating a smaller variance 10 11.

The calculated mean of the sampling distribution is 4.5, and its variance is 2.625. The standard deviation of the sampling distribution, known as the standard error of the mean, is approximately 1.6202 10.

Cover

sampling-distribution.pdf

Table of contents

  1. Lesson 5 Sampling Distribution
  2. Example 1
  3. Example 2

1. Lesson 5 Sampling Distribution

1.1 Sample mean and standard deviation

When random samples of size nn are drawn from a population with a mean μ\mu and a standard deviation σ\sigma, the mean (xˉ\bar{x}) and standard deviation (ss) of the sample mean follow specific relationships. The mean of the sample means is equal to the population mean.

  • Sample mean (xˉ\bar{x}): It is equal to the population mean (μ\mu).
  • Standard deviation of the sample mean (ss): It is calculated by dividing the population standard deviation (σ\sigma) by the square root of the sample size (nn).

This slide explains the relationship between sample mean and population mean, stating that the sample mean is equal to the population mean. 5.

2. Example 1

2.1 Calculating mean and standard deviation of sample mean

This example demonstrates how to find the mean and standard deviation of a sample mean using given population parameters and sample size.

The mean and standard deviation of the tax value of all vehicles registered in a certain state are \mu = \13,525andand\sigma = $4,180.Randomsamplesofsize. Random samples of size n=100$ are drawn from this population.

  • Mean of the sample mean (xˉ\bar{x}): This is equal to the population mean. \bar{x} = \mu = \13,525 USD

  • Standard deviation of the sample mean (ss): This is calculated using the formula s=σns = \frac{\sigma}{\sqrt{n}}. s = \frac{\4,180}{\sqrt{100}} = \frac{$4,180}{10} = $418 USD

The solution shows that for n=100, the formulas yield x-bar equals mu, which is USD 13,525. Mathematical formulas for calculating sample mean and standard deviation. 7 10 11.

3. Example 2

3.1 Finding mean, standard deviation, and probabilities for a sample mean

This example illustrates how to calculate the mean and standard deviation of a sample mean and then uses the Central Limit Theorem to find probabilities related to the sample mean.

Let xˉ\bar{x} be the mean of a random sample of size n=50n=50 drawn from a population with a mean μ=112\mu=112 and a standard deviation σ=40\sigma=40.

3.2 a. Mean and standard deviation of the sample mean

The mean of the sample mean (xˉ\bar{x}) is equal to the population mean (μ\mu). The standard deviation of the sample mean (ss) is calculated by dividing the population standard deviation (σ\sigma) by the square root of the sample size (nn).

  • Mean of xˉ\bar{x}: xˉ=μ=112\bar{x} = \mu = 112
  • Standard deviation of xˉ\bar{x}: s=σn=4050≈5.65685s = \frac{\sigma}{\sqrt{n}} = \frac{40}{\sqrt{50}} \approx 5.65685

This slide shows the solution to Example 2, presenting two mathematical formulas related to statistical calculations. 13 14 17 18 19.

📝 The mean of the sample mean (xˉ\bar{x}) is equal to the population mean (μ\mu), so xˉ=112\bar{x} = 112. The standard deviation of the sample mean (ss) is calculated as s=σn=4050≈5.65685s = \frac{\sigma}{\sqrt{n}} = \frac{40}{\sqrt{50}} \approx 5.65685 19.

3.3 b. Probability of the sample mean being between two values

Since the sample size (n=50n=50) is at least 30, the Central Limit Theorem applies, meaning xˉ\bar{x} is approximately normally distributed. To find the probability that xˉ\bar{x} falls between 110 and 114, we convert these values to z-scores.

  • Calculate z-scores:

  • For xˉ=110\bar{x} = 110: z=110−μs=110−1125.65685≈−0.35z = \frac{110 - \mu}{s} = \frac{110 - 112}{5.65685} \approx -0.35

  • For xˉ=114\bar{x} = 114: z=114−μs=114−1125.65685≈0.35z = \frac{114 - \mu}{s} = \frac{114 - 112}{5.65685} \approx 0.35

  • Find the probability: The probability P(110<xˉ<114)P(110 < \bar{x} < 114) is equivalent to P(−0.35<z<0.35)P(-0.35 < z < 0.35). Using a standard normal distribution table or calculator, this probability is approximately 0.6368−0.3632=0.27360.6368 - 0.3632 = 0.2736 15 20 21 22 23 24.

3.4 c. Probability of the sample mean being greater than a value

To find the probabili

Cover

Sampling Methods.pdf

Table of contents

  1. Sampling methods
  2. Stratified sampling
  3. More ways to sample
  4. Spot sampling bias

1. Sampling methods

1.1 Population

The population is the entire group that researchers want to study and draw conclusions about. For instance, in a survey conducted on a university campus, the population would encompass every student enrolled at that institution 1.

1.2 Simple random sample

A simple random sample is a method where every member of the population has an equal opportunity to be chosen for the study. This is typically achieved by conducting a random draw from a complete and up-to-date list of all individuals within the population 1.

📝 If a researcher wants to survey all students at a university, they would first obtain a list of every student. Then, using a random number generator, they would select students from this list until they reach their desired sample size, ensuring each student had an equal chance of being picked 1.

2. Stratified sampling

2.1 Definition of stratified sampling

Stratified sampling is a method where the population is first divided into distinct groups, known as strata, and then a random sample is drawn from each of these strata. This approach ensures that specific subgroups within the population are adequately represented in the sample 2.

2.2 Rationale for stratified sampling

The primary advantage of stratified sampling is its ability to guarantee representation from smaller or minority groups within the population. For instance, when sampling students, one might stratify by year group to ensure that students from each academic year are included in the sample 2.

2.3 Avoiding bias in sampling

It is crucial to be aware of potential biases, even when using stratified sampling. If the sampling method inadvertently excludes certain individuals or groups, a larger sample drawn using the same biased method can still lead to skewed results 2.

📝 A university wants to survey student satisfaction. They divide the student population into strata based on their year of study (e.g., first-year, second-year, third-year, postgraduate). A random sample of students is then selected from each year group to participate in the survey. This ensures that the opinions of students from all year levels are captured, including those from smaller postgraduate cohorts 2.

3. More ways to sample

3.1 Cluster sampling

Cluster sampling involves randomly selecting entire groups, known as clusters, from a population and then surveying every individual within those chosen clusters. This method is practical when a population is naturally divided into subgroups.

For instance, a school district might randomly select four specific classes and survey all students within those selected classes 3.

3.2 Systematic sampling

Systematic sampling begins by selecting a random starting point from a list and then selecting every kth member thereafter. This method can be efficient but may yield misleading results if the list has a repeating pattern that aligns with the sampling interval 3.

3.3 Convenience sampling

Convenience sampling involves recruiting participants who are most readily accessible. While this method allows for quick data collection, the findings may not accurately represent the broader population, as they might reflect the characteristics of those who are simply nearby or easy to reach 3.

3.4 Key distinction

A crucial difference exists between stratified and cluster sampling. Stratified sampling aims to include a sample from every subgroup within the population, ensuring representation across all strata.

In contrast, cluster sampling selects a subset of these groups (clusters) and surveys all members within the selected clusters, rather than sampling from every group 3.

📝 Imagine a researcher wants to survey student opinions on campus dining.

  • Stratified sampling: The researcher would divide students into groups (e.g., by year of study: freshmen, sophomores, juniors, seniors) and then randomly select a few students from each year group to survey.
  • Cluster sampling: The researcher might divide students by dormitory building, randomly select two buildings, and then survey all students living in those two selected buildings 3.

4. Spot sampling bias

4.1 Undercoverage

Undercoverage occurs when part of the population is missing from the list used to select a sample. This can lead to biased estimates because the experiences of the excluded group may differ significantly from those included in the sample.

For example, a campus poll conducted on a weekday might miss evening students, thus underrepresenting their views 4.

Cover

sampling surveys notes.pdf

Table of contents

  1. Sample surveys
  2. Simple random sampling
  3. Errors in Sampling surveys
  4. SRSWR
  5. Bivariate pop

1. Sample surveys

1.1 Introduction to sampling

Sampling is the process of inferring statistical information about a whole population by examining a selected subset of its units. This method allows for the estimation of unknown population parameters by studying a part of the group 1.

  • Population parameter: A fixed, true numerical value that describes an entire population, which is typically unknown.
  • Population: The complete collection of all units of a specific type within a particular time or place, defined by the survey's objective. This can include people, families, farms, or any other countable entities.
  • Sampling unit: The elementary units or groups of units that are clearly defined, identifiable, observable, and distinct. These are the basic components from which a sample is drawn 1.
  • Sampling frame: A list or map that identifies each sampling unit with a number, belonging to the population under study. Examples include voter lists or lists of houses 2.

1.2 Types of populations

Populations can be categorized based on their size and existence 2.

  • Finite population: A population with a fixed and limited number of units.
  • Infinite population: A population where the number of units is considered infinite.
  • Real population: A population consisting of items that are physically present.
  • Hypothetical population: A population consisting of the results of repeated trials, such as repeatedly rolling a die or tossing a coin 2.

📝 A finite population has a fixed and limited number of units, such as the 100 students in a particular classroom 2.

1.3 Sample and its characteristics

A sample is a part or fraction of a population, consisting of one or more sampling units selected according to a specified procedure 2.

  • Representative sample: A sample that accurately reflects all the salient features of the population. For instance, if a population has 30% males and 70% females, a representative sample would ideally mirror this proportion.
  • Statistic: Any function of sample observations that is free from unknown population parameters.
  • Estimator: A statistic used to estimate a population parameter. It is a random variable whose value varies with the sample.
  • Estimate: The numerical value an estimator takes for a specific sample. For example, the sample mean is an estimator of the population mean, and its calculated value is the estimate 3.

1.4 Principles of sample surveys

The design and execution of sample surveys are guided by several key principles to ensure valid and efficient results 3.

  • Principle of validity: The sample design must provide valid estimates of population parameters. Each individual in the design is assigned a definite probability of selection 3.
  • Principle of statistical regularity: A moderately large number of items chosen randomly from a larger group are likely to possess the characteristics of that group. The larger the sample size, the more accurate the results tend to be.
  • Principle of optimization: Efforts should be made to achieve the best possible results in terms of both cost and efficiency. This involves balancing sample size with the cost of conducting the survey and the desired level of precision 4.

1.5 Steps in sample surveys

A systematic approach is crucial for conducting effective sample surveys 4.

  • Define the objective of the survey.
  • Identify the population to be sampled.
  • Determine the data to be collected.
  • Specify the required degree of precision.
  • Design the questionnaire and choose data collectors.
  • Select the sample design.
  • Define sampling units.
  • Conduct a pretest (pilot survey).
  • Organize field work.
  • Summarize and analyze the data.
  • Document information gained for future surveys 4.

1.6 Sample design and unbiased estimators

A sample design clearly specifies all possible samples of a given type and their corresponding probabilities of selection 5.

  • Unbiased estimator: An estimator tt for a population parameter θ\theta is unbiased if its expected value E(t)E(t) equals θ\theta.
  • Biased estimator: If the expected value of an estimator is not equal to the population parameter, it is a biased estimator. The bias is calculated as B(t)=E(t)−θB(t) = E(t) - \theta.
  • Positive bias: Occurs when E(t)>θE(t) > \theta, leading to an overestimate.
  • Negative bias: Occurs when E(t)<θE(t) < \theta, leading to an underestimate 5.

1.7 Types of sampling

Sampling methods are broadly classified into probability and non-probability sampling 6.

Cover

SAMPLING TECHNIQUES.pptx

1. Introduction to sampling and basic concepts

This section introduces the fundamental principles of sampling, a crucial process in research for understanding a larger group by studying a smaller, representative subset.

1.1 The necessity and definition of sampling

Sampling is the process of selecting a subset of study units from a defined study population, also known as the universe. The core idea is to learn about the entire population based on observations made from this drawn subset. This is often necessary because studying every individual or element in a population (a census) can be impractical, impossible, too costly, or even destructive. Research aims to find generalizable results that apply to a broader kind of entity by studying a few examples.

Remember: While studying every case is ideal for absolute certainty (a census), sampling provides a practical and often efficient compromise between accuracy and resource investment.

1.1.1 Defining population and sample

  • Population: The complete set of data or all pertinent observations relevant to an investigation. Each individual element within a population is termed an elementary unit.
  • Sample: A smaller portion or subset drawn from the population.

1.1.2 Why sampling is essential

Several compelling reasons necessitate sampling over examining an entire population:

  • Possibility: Some populations are infinite, making complete enumeration impossible.
  • Practicality: Finite populations can be too large to study exhaustively.
  • Destructibility: Testing all elements might lead to their destruction (e.g., quality control testing of products).
  • Accessibility: Mobile populations may be difficult to track and measure entirely.
  • Cost Considerations: Sampling significantly reduces expenses in terms of money, effort, and time.
  • Efficiency: It allows for quicker data collection and analysis.
  • Reliability: With careful planning, a well-chosen sample can yield reliable results.

1.2 Key terminology in sampling

Understanding specific terms is vital for comprehending sampling methodologies and their implications.

1.2.1 Sampling units and elements

  • Sampling Units (Elements and Members): These are the items included in a population. They can be classified into two types:
    • Elementary Sampling Unit (Survey Units): All the individual elements within the population whose characteristics are to be measured or counted.
    • Primary Sampling Unit: Groups or clusters of elementary units that are selected at the first stage of a multi-stage sampling process.
  • Universe (Survey Population): The aggregate of all sampling units within the population of interest.

1.2.2 Representative and biased samples

The quality of a sample is judged by how well it reflects the population it is drawn from.

  • Representative Sample: A sample is considered representative if its relevant characteristics are present in the same proportion as they are in the population. This ensures that findings from the sample can be generalized to the population.
  • Biased Sample: A sample is biased if certain elements of the population are more likely to be included than others. This systematic error distorts the study results, leading to misleading conclusions.

Warning: Selection bias, a type of bias occurring when study participants are not representative of the wider population, can severely compromise both internal and external validity.

1.2.3 Precision and accuracy

These terms describe different aspects of a sample's quality and its relationship to the population.

  • Precision of a Sample: Refers to the degree to which statistics computed from successive random samples of the same size differ from each other. High precision means the sample statistics are close to each other.
  • Accuracy of a Sample: Refers to the difference between the sample statistics and the true population parameter. High accuracy means the sample statistic is close to the population value. While accuracy is the ultimate goal, precision is what can be objectively measured.

1.3 Sampling versus census

A census involves examining every person or element in the population. While it provides complete and exact information for the population studied (barring human error in data collection or analysis), it is often infeasible. Sampling, on the other hand, uses a subset to estimate population characteristics, offering a balance between accuracy and practicality.

Cover

SBE_L1_25_26.pdf

1. Introduction to statistics and course logistics

This introductory section covers the fundamental rationale for studying statistics in the context of business and economics, outlines essential course organization and personnel, details learning resources, and establishes core definitions related to data analysis.

1.1 Course context and goals

The course, Statistics for Business and Economics 2025/26, begins by exploring the importance of statistical reasoning, particularly focusing initially on using graphical methods to describe data. A key motivation for studying statistics is recognizing that everyday decisions are frequently made under conditions of incomplete information, such as forecasting job market strength or predicting stock prices. Statistics provides the necessary tools to process, summarize, analyze, and interpret available data to support these critical decision-making processes in uncertain environments.

The lecture goals outline a comprehensive skill set to be acquired, including explaining the basis of decisions made with limited data, mastering fundamental statistical definitions, and describing various sampling methods. Furthermore, students are expected to achieve proficiency in constructing and interpreting diverse graphical representations for categorical, numerical, and relational data, alongside understanding ethical graphical presentation9.

Tip: The study of statistics is crucial because it moves decision-making beyond mere intuition by providing structured methods for handling incomplete or variable information 10.

The initial lecture aims to equip students with the ability to explain core concepts, including the distinction between a Population (the entire group of interest) and a Sample (a subset of the population), and the corresponding measures: Parameter (a characteristic of the population) versus Statistic (a characteristic calculated from the sample).

A 'Keep Calm and Carry On' style poster adapted to advise using data wisely in the context of statistics.

1.2 Colloquial understanding and scope of statistics

Colloquially, statistics has sometimes been viewed with skepticism, as summarized by the quote, "There are three kinds of lies: lies, damned lies, and statistics," popularized in the US by Mark Twain and attributed to Benjamin Disraeli. This phrase highlights the persuasive, and potentially manipulative, power of numbers when used to support weak arguments 6.

In contrast to this skepticism, the formal definition of statistics aligns with scientific methodology. Statistics is defined as the science of collecting, displaying, and analysing data according to the Oxford Dictionary of Statistics. The comprehensive nature of the field encompasses both summarizing existing data and drawing conclusions about larger groups based on limited observations, linking directly to the goals of descriptive and inferential statistics.

While the field involves complex mathematical representations, as perhaps humorously suggested by visualizations of intense formula derivation the core objectives are practical: to manage uncertainty through data 11 7.

A cartoon depiction of a person writing complex mathematical and physics equations on a chalkboard, illustrating the complexity sometimes associated with data analysis or statistics.

1.3 Course personnel and organizational details

The administrative and instructional roles for the course are clearly delineated among faculty and teaching assistants.

The primary instructors include:

  • Associate Professor Anita Čeh Časni, PhD
    • Office: Room 26 (East side of the building) – Institute for Euroasian Studies
    • Office Hours: Wednesday, 8:00 am to 10:00 am
    • Contact: aceh@efzg.hr.
  • Associate Professor Irena Palić, PhD
    • Office: B-508
    • Office Hours: To Be Announced (TBA)
    • Contact: ipalic@efzg.hr 3.

The tutorial support is managed by:

  • Assistant Josipa Novaković, MA
    • Office: B-502
    • Office Hours: TBA
    • Contact: jfilic@net.efzg.hr 4.
Cover

Scan 2026-12-01 18.07.pdf

Table of contents

  1. A slice of the pie
  2. Proportional reasoning-2

1. A slice of the pie

1.1 Pie charts for data visualization

Pie charts are visual tools used to represent different proportions of a whole. They are particularly helpful for quickly interpreting data by showing how various categories contribute to a total 1.

1.2 Grade distribution example

The figure illustrates a pie chart representing the grade distribution for 40 students in an assessment. This chart visually breaks down the number of students who received each grade (A through E) 1.

GradeNumber of Students
A12
B10
C8
D6
E4
  • Grade distribution: This pie chart shows that 12 students received an A, 10 received a B, 8 received a C, 6 received a D, and 4 received an E, out of a total of 40 students 1.

2. Proportional reasoning-2

2.1 Constructing a pie chart

To construct a pie chart, the angle for each slice must be proportional to the quantity it represents. A full circle has 360°.

This total angle is divided according to the ratio of the different categories 2.

The process involves simplifying the ratio of the categories and then calculating the angle for each slice.

  • Simplifying ratios: To simplify a ratio with multiple terms, divide all terms by their highest common factor (HCF). For example, the ratio 12:10:8:6:4 simplifies to 6:5:4:3:2 by dividing each term by 2.
  • Calculating slice angles: Each part of the simplified ratio is used to determine the proportion of the 360° circle. The formula for each slice's angle is: Angle=Part of the ratioSum of the ratio parts×360∘\text{Angle} = \frac{\text{Part of the ratio}}{\text{Sum of the ratio parts}} \times 360^\circ 2.

2.2 Example: Calculating angles for grades

Consider a ratio of students scoring different grades: 6:5:4:3:2. The sum of the ratio parts is 6+5+4+3+2=206+5+4+3+2 = 20.

  • Grade A: Represents 6 parts of the ratio. The angle is 620×360∘=6×18∘=108∘\frac{6}{20} \times 360^\circ = 6 \times 18^\circ = 108^\circ.
  • Grade B: Represents 5 parts of the ratio. The angle is 520×360∘=5×18∘=90∘\frac{5}{20} \times 360^\circ = 5 \times 18^\circ = 90^\circ.
  • Grade C: Represents 4 parts of the ratio. The angle is 420×360∘=4×18∘=72∘\frac{4}{20} \times 360^\circ = 4 \times 18^\circ = 72^\circ.
  • Grade D: Represents 3 parts of the ratio. The angle is 320×360∘=3×18∘=54∘\frac{3}{20} \times 360^\circ = 3 \times 18^\circ = 54^\circ.
  • Grade E: Represents 2 parts of the ratio. The angle is 220×360∘=2×18∘=36∘\frac{2}{20} \times 360^\circ = 2 \times 18^\circ = 36^\circ 2.

📝 For Grade A, with 6 parts of the ratio and a sum of 20 parts, the angle is calculated as 620×360∘=108∘\frac{6}{20} \times 360^\circ = 108^\circ.

2.3 Steps for constructing the pie chart

  1. Draw a circle and mark a radius.
  2. Measure the angle for the first category (e.g., Grade A, 108°) from the radius and mark the new radius 2.
  3. From the new radius, measure the angle for the second category (e.g., Grade B, 90°) and mark the next radius.
  4. Continue this process for all categories, measuring each subsequent angle from the last drawn radius.
  5. Complete the circle by drawing the final radius.
  6. Color and label each slice appropriately to represent the data 3.
GradeRatio PartCalculationAngle
A6620×360∘\frac{6}{20} \times 360^\circ108°
B5520×360∘\frac{5}{20} \times 360^\circ90°
C4420×360∘\frac{4}{20} \times 360^\circ72°
D3320×360∘\frac{3}{20} \times 360^\circ54°
E2220×360∘\frac{2}{20} \times 360^\circ36°
Cover

Scan 2026-12-01 18.16.pdf

Table of contents

  1. A slice of the pie
  2. Proportional reasoning-2

1. A slice of the pie

1.1 Pie charts for grade distribution

Pie charts are visual tools used to represent different proportions of a whole. This section uses a pie chart to illustrate the distribution of student grades in an assessment.

Such visualizations allow for quick data interpretation 1.

The following table shows the number of students who achieved each grade out of a total of 40 students:

GradeStudents
A12
B10
C8
D6
E4

📝 The pie chart visually represents that 12 out of 40 students scored an 'A', 10 scored a 'B', and so on, making it easy to see which grades were most common 1.

2. Proportional reasoning-2

2.1 Calculating angles for pie chart slices

To construct a pie chart, the angle of each slice must be proportional to the quantity it represents. A full circle has 360°.

This total angle is divided according to the ratio of the different categories 2.

To determine the angle for each slice, first simplify the ratio of the categories by dividing all terms by their highest common factor (HCF). Then, calculate the sum of the simplified ratio terms.

The angle for each category is found by multiplying its simplified ratio term by 360° and dividing by the sum of the simplified ratio terms 2.

  • Grade A angle: 6(6+5+4+3+2)×360°=620×360°=6×18°=108°\frac{6}{(6+5+4+3+2)} \times 360° = \frac{6}{20} \times 360° = 6 \times 18° = 108°.
  • Grade B angle: 5(6+5+4+3+2)×360°=520×360°=5×18°=90°\frac{5}{(6+5+4+3+2)} \times 360° = \frac{5}{20} \times 360° = 5 \times 18° = 90°.
  • Grade C angle: 4(6+5+4+3+2)×360°=420×360°=4×18°=72°\frac{4}{(6+5+4+3+2)} \times 360° = \frac{4}{20} \times 360° = 4 \times 18° = 72°.
  • Grade D angle: 3(6+5+4+3+2)×360°=320×360°=3×18°=54°\frac{3}{(6+5+4+3+2)} \times 360° = \frac{3}{20} \times 360° = 3 \times 18° = 54°.
  • Grade E angle: 2(6+5+4+3+2)×360°=220×360°=2×18°=36°\frac{2}{(6+5+4+3+2)} \times 360° = \frac{2}{20} \times 360° = 2 \times 18° = 36° 2.
GradeSimplified RatioAngle CalculationAngle
A6620×360°\frac{6}{20} \times 360°108°
B5520×360°\frac{5}{20} \times 360°90°
C4420×360°\frac{4}{20} \times 360°72°
D3320×360°\frac{3}{20} \times 360°54°
E2220×360°\frac{2}{20} \times 360°36°

2.2 Constructing a pie chart

Constructing a pie chart involves drawing a circle and then marking out the slices according to the calculated angles 2.

  • Step 1: Draw a circle and mark a radius, typically labeled AB.
  • Step 2: To represent the first category (e.g., Grade A), measure its calculated angle (e.g., 108°) from the initial radius (AB) in an anti-clockwise direction. Mark the new radius (AC).
  • Step 3: From the new radius (AC), measure the angle for the next category (e.g., Grade B's 90°) and draw the subsequent radius (AD).
  • Step 4: Continue this process for all categories, measuring each angle from the previously drawn radius 2.
  • Step 5: After all slices are drawn, color and label each section appropriately to indicate the category it represents 3.

📝 To construct a pie chart for student grades with a ratio of 12:10:8:6:4, first simplify the ratio to 6:5:4:3:2. The sum of these terms is 20. For Grade A, which has a ratio of 6, the angle is calculated as 620×360°=108°\frac{6}{20} \times 360° = 108°. This 108° sector is then drawn within the circle 2 3.

Cover

Scatterplots and correlations.pdf

Table of contents

  1. Bivariate Relationships
  2. Ice Cream and Murder Rates
  3. Example: Movie Budgets
  4. During Class Notes

1. Bivariate Relationships

1.1 Correlation

Correlation quantifies the strength and direction of a linear relationship between two numerical variables. The Pearson correlation coefficient, denoted by rr, is a single numerical statistic used for this purpose 1.

To use Pearson correlation, several conditions must be met:

  • Random sample and independent observations: Data should be collected randomly, and each observation should not influence others.
  • Normality of x and y: Both variables should follow a normal distribution.
  • Linear trend: The relationship between the variables should be approximately linear.
  • No extreme outliers: Outliers can disproportionately influence the correlation coefficient 1.

1.2 Properties of correlation (r)

The correlation coefficient (rr) is a unitless measure that describes the strength of the linear relationship between two numerical variables. It ranges from -1 to +1 2.

  • A value of -1 or +1 indicates a perfectly linear relationship.
  • A value of 0 indicates no linear relationship.
  • The absolute value of rr indicates the strength of the linear relationship; a larger absolute value means a stronger relationship.
  • The sign of rr indicates the direction of the relationship: positive for an increasing trend, negative for a decreasing trend 2.

📝 A correlation coefficient of r=0.78r = 0.78 suggests a strong, positive linear relationship between the two variables 2.

1.3 Factors that do not affect r's value

Certain transformations of the data do not change the correlation coefficient:

  • Changing the order of variables: Swapping the positions of the two variables does not alter rr.
  • Adding or multiplying by a constant: Adding a constant to or multiplying a variable by a positive constant does not affect rr 3.

1.4 Outliers

Extreme outliers can sometimes significantly affect the value of the correlation coefficient, potentially strengthening or weakening the perceived linear relationship 3.

2. Ice Cream and Murder Rates

2.1 Correlation does not equal causation

A correlation between two variables indicates that they tend to change together, but it does not explain why. It is crucial to understand that correlation does not imply causation, meaning that one variable does not necessarily cause the other to change 4.

  • Variable relationship: The relationship between two variables, x and y, can be the same even if their roles are reversed.
  • Lurking variables: These are unobserved factors that can influence both variables being studied, creating an apparent correlation where none exists directly. For example, ice cream sales and crime rates might both increase in warmer weather, with temperature being the lurking variable.
  • Spurious correlations: These are accidental statistical relationships that occur by chance, often due to analyzing large datasets or specific time periods. Websites like tylervigen.com showcase many examples of these coincidental correlations 4.

📝 Ice cream sales and murder rates often show a positive correlation, meaning both tend to increase during the same periods. However, this does not mean eating ice cream causes murders or vice versa. A lurking variable, such as warmer weather, likely influences both: people buy more ice cream when it's hot, and more people are outdoors, potentially leading to more opportunities for crime 4.

3. Example: Movie Budgets

3.1 Calculate r

This section demonstrates calculating the correlation coefficient (rr) using movie budget and domestic gross income data. The calculation involves converting raw data into z-scores and then averaging the product of these z-scores.

  • Z-scores are calculated for each variable (budget XX and domestic gross YY) using the formula z=value−meanstandard deviationz = \frac{\text{value} - \text{mean}}{\text{standard deviation}} 8.
  • The correlation coefficient (rr) is the average of the products of the z-scores for each data point 10.

The formula for rr is: r=∑(zx⋅zy)n−1r = \frac{\sum (z_x \cdot z_y)}{n-1} where zxz_x is the z-score for the budget, zyz_y is the z-score for the domestic gross, and nn is the number of data points 8.

The z-score for the budget of "The Meg" is calculated as zx=1.78−2.550.88≈−0.88z_x = \frac{1.78 - 2.55}{0.88} \approx -0.88 9.

The calculation proceeds by finding the product of the z-scores for each movie and then averaging these products. For the given data, the sum of the zx⋅zyz_x \cdot z_y products is 4.06, and with 6 data points (n=6n=6), the correlation coefficient is r=4.066−1=0.81r = \frac{4.06}{6-1} = 0.81 11.

3.2 How would you describe the strength of this relationship?

The strength and direction of a linear r

Cover

SEM theorie.pptx

📚 SEM theorie.pptx

Brief overview

This document provides a comprehensive introduction to Structural Equation Modeling (SEM), detailing its theoretical foundations and practical applications. Understanding SEM is crucial for analyzing complex relationships between observed and latent variables in various research fields.

Key points

  • Overview of Structural Equation Modeling (SEM) and its core principles.
  • Confirmatory Factor Analysis (CFA) and its matrix representation in SEM.
  • SEM applications with a political democracy dataset and model evaluation techniques.
  • Introduction to SEM analysis using the 'lavaan' R package.
  • Advanced SEM topics including multiple groups and measurement invariance.

1. Introduction to Structural Equation Modeling (SEM)

1.1 What is SEM?

Structural Equation Modeling (SEM) is a powerful multivariate statistical technique used to analyze complex relationships among variables.

  • It allows for the testing of hypothesized data-generating models.
  • These models can incorporate latent variables:
    • Hypothetical constructs (e.g., depression, intelligence) measured by a set of observed indicators.
    • Random effects, such as random intercepts.
  • SEM accommodates complex relationships like indirect effects (mediation) and reciprocal effects.
  • Models are typically represented graphically as path diagrams.

🔑 Important: SEM extends simpler regression models by explicitly modeling latent variables and their relationships with observed indicators, offering a more comprehensive approach to theory testing.

1.2 Foundational Concepts in SEM

SEM analyses traditionally commence with the observed variance-covariance matrix (SS) of the data.

  • For PP observed variables, SS is a P×PP \times P symmetric matrix.
  • Diagonal elements represent variances; off-diagonal elements represent covariances.
  • A covariance quantifies the linear association between two variables.
  • A correlation matrix is a standardized version of the covariance matrix.
  • In addition to SS, SEM can incorporate the means (yˉ\bar{y}) of the observed variables.
  • If data are multivariate normally distributed, SS and yˉ\bar{y} contain all information about the data.

1.2.1 Regression using Variance-Covariance Matrices

Standard regression models can be conceptualized and estimated using the variance-covariance matrix.

  • For a regression model predicting y1y_1 from x2,x3,x4x_2, x_3, x_4 (y1=β0+β1x2+β2x3+β3x4+ϵy_1 = \beta_0 + \beta_1 x_2 + \beta_2 x_3 + \beta_3 x_4 + \epsilon), the coefficients can be derived from SS.
  • The regression coefficients (β^p\hat{\beta}_p) are calculated as β^p=(S234,234)−1S234,1\hat{\beta}_p = (S_{234, 234})^{-1} S_{234, 1}.
  • The intercept (β^0\hat{\beta}_0) is derived as β^0=yˉ1−β^′xˉ234\hat{\beta}_0 = \bar{y}_1 - \hat{\beta}' \bar{x}_{234}.

1.3 The Model-Implied Variance-Covariance Matrix

The core of SEM involves comparing a hypothesized model's implications to the observed data.

  • A specified SEM model, often depicted as a path diagram, implies a specific structure for the population variance-covariance matrix.
  • This implied matrix is denoted as Σ^\hat{\Sigma}.
  • The goal is to estimate model parameters such that Σ^\hat{\Sigma} closely matches the observed sample covariance matrix SS.
  • Different models will produce different Σ^\hat{\Sigma} matrices.

📝 Example: Consider three observed variables y1,y2,y3y_1, y_2, y_3. A model where y1y_1 predicts y2y_2 and y3y_3 (i.e., y2=ay1+ϵ2y_2 = ay_1 + \epsilon_2, y3=by1+ϵ3y_3 = by_1 + \epsilon_3) will imply a specific Σ^\hat{\Sigma} based on the variances of y1,ϵ2,ϵ3y_1, \epsilon_2, \epsilon_3 and the coefficients a,ba, b.

1.3.1 Rules for Variance and Covariance Calculation

Understanding how variances and covariances are composed in a model is crucial for deriving Σ^\hat{\Sigma}. Key rules include:

  • Variances:
    • Var(X+Y)=Var(X)+Var(Y)+2Cov(X,Y)Var(X + Y) = Var(X) + Var(Y) + 2 Cov(X, Y)
    • Var(aX)=a2Var(X)Var(aX) = a^2 Var(X)
  • Covariances:
    • Cov(A+B,C+D)=Cov(A,C)+Cov(A,D)+Cov(B,C)+Cov(B,D)Cov(A + B, C + D) = Cov(A, C) + Cov(A, D) + Cov(B, C) + Cov(B, D)
    • Cov(aX,bY)=abCov(X,Y)Cov(aX, bY) = ab Cov(X, Y)

Standard assumptions often stipulate that predictors and error terms are uncorrelated (e.g., Cov(y1,ϵ2)=0Cov(y_1, \epsilon_2) = 0).

📝 Example: For the model y2=ay1+ϵ2y_2 = ay_1 + \epsilon_2, assuming y1y_1 and ϵ2\epsilon_2 are uncorrelated: Var(y2)=Var(ay1+ϵ2)=Var(ay1)+Var(ϵ2)+2Cov(ay1,ϵ2)Var(y_2) = Var(ay_1 + \epsilon_2) = Var(ay_1) + Var(\epsilon_2) + 2Cov(ay_1, \epsilon_2)