Statistika Bagian 7 - Simpangan Baku dan Varian Data Tunggal dan Data Berkelompok

3 min read 3 hours ago
Published on Sep 01, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

In this tutorial, we will explore how to calculate the standard deviation (simpangan baku) and variance (ragam) for both single data sets and grouped data. Understanding these statistical measures is essential for analyzing data variability, which is crucial in various fields, including research, finance, and education.

Step 1: Understanding Standard Deviation and Variance for Single Data

  • Definitions:

    • Variance: Measures the average of the squared differences from the mean. It indicates how much the data points differ from the mean of the dataset.
    • Standard Deviation: The square root of variance, representing the average distance of data points from the mean.
  • Formulas:

    • Variance (σ²) for a dataset of n values (x_1, x_2, ..., x_n): [ \sigma^2 = \frac{\sum_{i=1}^n (x_i - \mu)^2}{n} ]
    • Standard Deviation (σ): [ \sigma = \sqrt{\sigma^2} ]
    • Where (\mu) is the mean of the dataset.
  • Practical Advice:

    • Collect your data and calculate the mean first.
    • Ensure to subtract the mean from each data point, square the result, and then find the average of those squared differences.

Step 2: Example Calculation for Single Data

  1. Example Data: Consider the dataset: 4, 8, 6, 5, 3.
  2. Calculate the Mean:
    • Mean (μ) = (4 + 8 + 6 + 5 + 3) / 5 = 5.2
  3. Calculate Variance:
    • Differences from the mean:
      • 4 - 5.2 = -1.2,
      • 8 - 5.2 = 2.8,
      • 6 - 5.2 = 0.8,
      • 5 - 5.2 = -0.2,
      • 3 - 5.2 = -2.2.
    • Squared differences:
      • (-1.2)² = 1.44,
      • (2.8)² = 7.84,
      • (0.8)² = 0.64,
      • (-0.2)² = 0.04,
      • (-2.2)² = 4.84.
    • Variance (σ²) = (1.44 + 7.84 + 0.64 + 0.04 + 4.84) / 5 = 2.96.
  4. Calculate Standard Deviation:
    • Standard Deviation (σ) = √2.96 ≈ 1.72.

Step 3: Understanding Standard Deviation and Variance for Grouped Data

  • Grouped Data: When data is organized into classes or intervals, we calculate variance and standard deviation differently.

  • Formulas:

    • Variance (σ²) for grouped data: [ \sigma^2 = \frac{\sum f_i (x_i - \mu)^2}{N} ]
    • Standard Deviation (σ) for grouped data: [ \sigma = \sqrt{\sigma^2} ]
    • Where (f_i) is the frequency of each class, (x_i) is the midpoint of each class, and (N) is the total number of observations.
  • Practical Advice:

    • Create a frequency distribution table.
    • Calculate midpoints for each class and then apply the formulas using frequency weights.

Step 4: Example Calculation for Grouped Data

  1. Example Frequency Distribution:
    • Class intervals: 1-3, 4-6, 7-9
    • Frequencies: 2, 3, 5.
  2. Calculate Midpoints:
    • Midpoint for 1-3 = 2, for 4-6 = 5, for 7-9 = 8.
  3. Calculate Mean:
    • Mean (μ) = (22 + 35 + 5*8) / (2 + 3 + 5) = 6.
  4. Calculate Variance:
    • For each class, find (f_i (x_i - \mu)^2):
      • For 1-3: 2*(2-6)² = 32,
      • For 4-6: 3*(5-6)² = 3,
      • For 7-9: 5*(8-6)² = 10.
    • Variance (σ²) = (32 + 3 + 10) / 10 = 4.5.
  5. Calculate Standard Deviation:
    • Standard Deviation (σ) = √4.5 ≈ 2.12.

Conclusion

In this tutorial, we covered the essential steps to calculate standard deviation and variance for both single and grouped data. By understanding these concepts, you can better analyze data variability and apply statistical methods effectively. For further learning, consider exploring the related topics in the provided video links, such as mean, median, and mode.