Exhaustive Study Guide: Variance, Standard Deviation, and Z-Score Standardization

Fundamentals of Variance and Standard Deviation

  • Dataset Overview:

    • Dataset consisting of four population values (N=4N = 4): 4,8,2,64, 8, 2, 6

    • This dataset represents a complete population of four individuals.

  • Summation Notation (Σ\Sigma):

    • The symbol Σ\Sigma (sigma) denotes summation.

    • In statistical notation, i=1Nxi\sum_{i=1}^{N} x_i indicates that every individual score (xix_i) in the dataset from index 11 to NN must be summed together.

    • Calculating the sum of raw scores:         x=4+8+2+6=20\sum x = 4 + 8 + 2 + 6 = 20

  • Calculating the Mean (xˉ\bar{x} or μ\mu):

    • The mean is calculated by dividing the sum of all scores by the total number of scores (NN):         xˉ=xN=204=5\bar{x} = \frac{\sum x}{N} = \frac{20}{4} = 5

    • The mean for this dataset is 55


Step-by-Step Calculation of Variance and Standard Deviation

  • Step 1: Calculate Deviation Scores (xxˉx - \bar{x}):

    • A deviation score measures the distance and direction of a raw score from the mean.

    • Formula: Deviation=xxˉ\text{Deviation} = x - \bar{x}

    • Calculations for each score:

      • 45=14 - 5 = -1

      • 85=38 - 5 = 3

      • 25=32 - 5 = -3

      • 65=16 - 5 = 1

    • The deviation scores are 1,3,3,1-1, 3, -3, 1

    • Note: Summing raw deviation scores always yields 00 ((xxˉ)=0\sum (x - \bar{x}) = 0), which necessitates squaring them.

  • Step 2: Calculate Squared Deviation Scores ((xxˉ)2(x - \bar{x})^2):

    • Squaring eliminates negative values so they do not cancel out during summation:

      • (1)2=1(-1)^2 = 1

      • (3)2=9(3)^2 = 9

      • (3)2=9(-3)^2 = 9

      • (1)2=1(1)^2 = 1

  • Step 3: Calculate the Sum of Squares (SSSS):

    • The Sum of Squares (SSSS) is the sum of all squared deviation scores:         SS=(xixˉ)2=1+9+9+1=20SS = \sum (x_i - \bar{x})^2 = 1 + 9 + 9 + 1 = 20

    • Note: The sum of squares equaling 2020 in this specific example is purely coincidental and does not always match the sum of raw scores.

  • Step 4: Calculate the Variance (σ2\sigma^2 or s2s^2):

    • Variance is the average squared distance of scores from the mean.

    • For a population, divide $SS$ by $N$:         σ2=SSN=204=5\sigma^2 = \frac{SS}{N} = \frac{20}{4} = 5

    • The variance for this dataset is 55

  • Step 5: Calculate the Standard Deviation (σ\sigma or ss):

    • Standard deviation is the square root of the variance, converting the metric back to the original units of measurement:         σ=σ2=52.237\sigma = \sqrt{\sigma^2} = \sqrt{5} \approx 2.237

    • Interpretation: Scores in this dataset deviate from the mean by an average of approximately 2.237units2.237\,\text{units}.

    • Adding 2.237units2.237\,\text{units} to the mean (5+2.237=7.2375 + 2.237 = 7.237) establishes a boundary one standard deviation above the mean.

  • Visualizing Variance and Distance from the Mean:

    • When plotting raw data points (e.g., 97.88,107.91,88.26,115.21,87.3897.88, 107.91, 88.26, 115.21, 87.38), deviation can be envisioned as a linear distance from the mean line.

    • Squaring each deviation score visually constructs physical square areas attached to each data point.

    • Variance represents the average surface area of these constructed squares across all data points.


Population versus Sample Variance Correction

  • Formula Difference for Samples:

    • Random samples tend to cluster around the center and are less likely to contain extreme values compared to the full population.

    • Using the population formula (NN in the denominator) on sample data creates bias, underestimating the true population variance.

    • To correct for this bias, the denominator is adjusted to n1n - 1 for samples:         s2=(xixˉ)2n1s^2 = \frac{\sum (x_i - \bar{x})^2}{n - 1}

    • Reducing the denominator slightly increases the overall calculated variance and standard deviation, providing an unbiased estimate of the population parameters.


Concept and Calculation of Z-Scores

  • Purpose of Standardization:

    • Raw scores convey absolute magnitude but do not specify where a score sits relative to the overall distribution.

    • Standardizing transforms a raw score into a zz-score, identifying its exact relative position within a distribution.

  • Notation Standards:

    • Sample Standard Deviation: ss or SDSD

    • Sample Variance: s2s^2 or SD2SD^2

    • Population Mean: μ\mu

    • Population Standard Deviation: σ\sigma

    • Sample Mean: xˉ\bar{x}

  • Required Components for Computing a Z-Score:

    1. Raw score (xx)

    2. Distribution mean (μ\mu or xˉ\bar{x})

    3. Distribution standard deviation (σ\sigma or ss)

  • Z-Score Formulas:

    • Population Formula:         z=xμσz = \frac{x - \mu}{\sigma}

    • Sample Formula:         z=xxˉsz = \frac{x - \bar{x}}{s}

    • Note: The mathematical computation is identical for both populations and samples because the zz-score formula is inherently unbiased within its own distribution.

  • Interpreting Z-Scores:

    • Sign:

      • Positive zz (z > 0): Score lies above the mean.

      • Negative zz (z < 0): Score lies below the mean.

      • Zero (z=0z = 0): Score is exactly equal to the mean.

    • Magnitude: Represents the precise number of standard deviations a raw score lies away from the mean.

    • Note: Standard deviations and variances can never be negative, but zz-scores frequently contain negative values.

  • Z-Score Calculation Examples (Target Score x=77x = 77):

    • Scenario A: xˉ=75\bar{x} = 75, s=2s = 2         z=77752=22=1z = \frac{77 - 75}{2} = \frac{2}{2} = 1

    • Scenario B: xˉ=70\bar{x} = 70, s=7s = 7         z=77707=77=1z = \frac{77 - 70}{7} = \frac{7}{7} = 1

    • Scenario C: xˉ=83\bar{x} = 83, s=2s = 2         z=77832=62=3z = \frac{77 - 83}{2} = \frac{-6}{2} = -3


Converting Z-Scores Back to Raw Scores

  • Transformation Formulas:

    • Population Context:         x=μ+(z×σ)x = \mu + (z \times \sigma)

    • Sample Context:         x=xˉ+(z×s)x = \bar{x} + (z \times s)

  • Step-by-Step Conversion Example:

    • Given parameters: z=2z = -2, μ=17\mu = 17, σ=4\sigma = 4

    • Step 1: Multiply zz-score by standard deviation:         2×4=8-2 \times 4 = -8

    • Step 2: Add population mean:         x=17+(8)=9x = 17 + (-8) = 9

    • The resulting raw score (xx) is 99


Properties and Characteristics of Standardized Distributions

  • Core Properties of any Z-Distribution:

    1. Distribution Shape: Preserved identically. Plotting zz-scores produces a distribution with the exact shape as the raw score distribution.

    2. Mean (μz\mu_z): Always equal to 00         μz=0\mu_z = 0

    3. Standard Deviation (σz\sigma_z): Always equal to 11         σz=1\sigma_z = 1

  • Unitless Property:

    • zz-scores are unitless numbers representing distance in standard deviation units.

    • Transforming measurements (e.g., body weight measured in kilograms or pounds) into zz-scores strips away physical units.

  • Utility of Standardized Distributions:

    • Enables direct comparison of performance across different measures, scales, or distinct samples (e.g., comparing student performance across two separate statistics exam sections with different averages and standard deviations).


Data Transformations: Shifting and Rescaling Data

  • Shifting Data (Addition / Subtraction):

    • Adding or subtracting a constant from every score alters the mean by that exact amount while keeping distribution shape and variability unchanged.

    • Example: Adult male weight in kilograms (kgkg).

      • Raw weight values: 100kg,50kg,150kg100\,kg, 50\,kg, 150\,kg

      • Subtracting a recommended health benchmark of 74kg74\,kg shifts scores to 26kg,24kg,76kg26\,kg, -24\,kg, 76\,kg.

      • This recontextualizes data to display distance relative to a health threshold without changing relative distance between scores.

  • Rescaling Data (Multiplication / Division / Logarithmic):

    • Multiplying or dividing every score by a constant (or applying non-linear functions such as log transformations) changes the scale of measurement.

    • Example: Measuring cotinine levels (a tobacco byproduct) in μg/mL\mu g/mL

      • Raw values for secondhand smoke exposure are truncated near zero when plotted next to active smokers.

      • Applying a logarithmic transformation rescales the axis, expanding truncated lower-range values for visual clarity without altering fundamental statistical relationships.

  • Standardization as a Combined Operation:

    • Standardizing data to zz-scores combines shifting (subtracting xˉ\bar{x}) and rescaling (dividing by ss).


Software Implementation and Practical Application in JASP and Excel

  • Standardizing Scores in JASP:

    • Formula entry using the drag-and-drop interface:         zAge=Agemean(Age)stdDev(Age)z_{\text{Age}} = \frac{\text{Age} - \text{mean}(\text{Age})}{\text{stdDev}(\text{Age})}

    • Dataset empirical parameters:

      • Original Age variable: Mean xˉ=29.7years\bar{x} = 29.7\,\text{years}, Standard Deviation s=14.53yearss = 14.53\,\text{years}

      • Standardized Age variable (zAgez_{\text{Age}}): Mean xˉ=0\bar{x} = 0 (displayed in scientific notation as 1017\approx 10^{-17} due to floating-point calculations), Standard Deviation s=1s = 1

    • Comparing visual distribution outputs:

      • Histograms vary slightly based on automatic bin width selection algorithms.

      • Density plots display identical distribution curves.

  • Dark Triad Excel Practice Analysis:

    • Sample size n=17n = 17 cases

    • Degrees of freedom for sample variance: n1=16n - 1 = 16

    • Data processing sequence:

      1. Compute mean for each psychological trait (e.g., Narcissism, Psychopathy).

      2. Compute deviation scores (xxˉx - \bar{x}) across all rows.

      3. Compute squared deviations ((xxˉ)2(x - \bar{x})^2).

      4. Sum squared deviations to find Sum of Squares (SSSS).

      5. Divide SSSS by 1616 to calculate sample variance (s20.1649s^2 \approx 0.1649).

      6. Calculate square root of variance for sample standard deviation (s0.4061s \approx 0.4061).

      7. Compute individual zz-scores (z=xxˉsz = \frac{x - \bar{x}}{s}).

  • Case Study Interpretation (Participant 5):

    • Participant 5 achieved identical raw scores across two personality subscales.

    • Standardized zz-scores revealed that relative to the sample distribution, Participant 5 scored significantly higher in Psychopathy than in Narcissism.

  • Course Logistics and Announcements:

    • Homework assignment focus: Calculating descriptive statistics and generating histograms in JASP.

    • Homework due date: One week from next Wednesday.

    • Exit ticket password: standardized


Questions and Interactive Discussion

  • Question: Why do we subtract the mean when finding variance?

    • Answer: Subtracting the mean yields the distance of every score from the center of the distribution. Summing these distances allows the calculation of the average distance of all scores from the mean.

  • Question: Clarification on standardizing step sequence.

    • Answer: Step 1 calculates the mean, then subtracts the mean from each raw score. Step 2 squares each resulting deviation score before summing and dividing by the sample or population denominator.

  • Question: Explanation of i=1nxi\sum_{i=1}^{n} x_i summation notation variables.

    • Answer: The variable i=1i = 1 at the bottom denotes the starting case/observation, and nn at the top denotes the total number of observations. xix_i represents the raw score for case number ii.

  • Question: What does the bar over the letter xx (xˉ\bar{x}) represent?

    • Answer: The notation xˉ\bar{x} ("x-bar") represents the sample mean.

  • Question: Will formulas be provided on exams and homeworks?

    • Answer: Homeworks do not explicitly list formulas, but they are accessible in reference materials. Exam formula provisions will be clarified prior to test dates.

  • Question: Why does the zz-score formula remain unchanged between samples and populations?

    • Answer: The zz-score formula is unbiased because it evaluates relative positioning strictly within its own existing distribution, requiring no sample size correction factor.