Paired Sample Statistics and Hypothesis Testing in Infant Behavioral Research

Research Context: Social Functions of Music in Infancy

  • Core Research Inquiries:

    • Investigation into the underlying psychological and social functions that music serves for infant development.
    • Assessment of whether infants exhibit social bonding preferences: specifically, if parents sing a particular song to their infant, determining whether the infant is subsequently more likely to bond with an unfamiliar individual singing that identical song.
  • Primary Empirical Reference:

    • Study: Mehr, S. A., Song, L. A., & Spelke, E. S. (2016). For 5-month-old infants, melodies are social. Psychological Science, 27, 486–501.
    • Data source file: lullabyexperiment.xlsx (retrieved via ICON).
  • Experimental Design and Methodology:

    • Sample Size: n=32n = 32 infants and their parents.
    • Familiarization Phase: Parents are taught a specific lullaby and instructed to sing it to their baby daily across a duration of 11 to 22 weeks.
    • Baseline Phase: The infant is presented with silent video recordings of two novel, unfamiliar people; researchers record and compute the baseline proportion of visual attention the baby devotes to each person.
    • Test Phase: The infant is presented with video recordings of the same two novel individuals singing; one sings the familiar lullaby previously taught by the parents, while the other sings an unfamiliar, novel lullaby. Researchers measure the proportion of visual attention the infant directs toward the person singing the familiar song.

Analytical Framework and Descriptive Analysis

  • Core Analytical Objective:

    • Determine whether a statistically significant difference exists in the duration and proportion of attention an infant directs toward a novel individual when silent versus when singing the familiarized lullaby.
  • Descriptive Statistical Procedures:

    • Calculate intra-subject difference scores between the Baseline condition and the Test condition for each infant (di=Testi−Baselineid_i = \text{Test}_i - \text{Baseline}_i).
    • Compute the sample mean difference (dˉ\bar{d}) across all 3232 subjects.
    • Construct a clustered column chart visually plotting individual Baseline and Test attentional proportions side by side for each infant in the dataset.
  • Inferential Statistical Procedures:

    • Construct a paired-sample confidence interval around the mean difference (dˉ\bar{d}).
    • Conduct a formal paired-sample tt-test to evaluate hypotheses regarding population differences.

Paired Sample Confidence Intervals

  • Mathematical Formulation and Derivation Steps:

    • Compute individual subject differences: di=x1,i−x2,id_i = x_{1,i} - x_{2,i}.
    • Compute the sample mean of differences (dˉ\bar{d}):     dˉ=1n∑i=1ndi\bar{d} = \frac{1}{n} \sum_{i=1}^n d_i
    • Calculate the sample standard deviation of differences (sds_d):     sd=1n−1∑i=1n(di−dˉ)2s_d = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (d_i - \bar{d})^2}
    • Determine degrees of freedom (dfdf):     df=n−1df = n - 1
    • Determine the critical value (tα/2t_{\alpha/2}) using the two-tailed inverse Student's tt-distribution function in Excel:     =T.INV.2T(α,df)= \text{T.INV.2T}(\alpha, df)
    • Compute the standard error of the mean difference (SEdˉSE_{\bar{d}}):     SEdˉ=sdnSE_{\bar{d}} = \frac{s_d}{\sqrt{n}}
    • Calculate the Margin of Error (MEME):     ME=tα/2×sdnME = t_{\alpha/2} \times \frac{s_d}{\sqrt{n}}(Alternatively calculated directly in Excel via = CONFIDENCE.T(alpha, standard_dev, size)).
    • Establish the confidence interval limits:     Confidence Interval=dˉ±tα/2sdn\text{Confidence Interval} = \bar{d} \pm t_{\alpha/2} \frac{s_d}{\sqrt{n}}
  • Empirical Findings and Interpretation:

    • The 95%95\% confidence interval for the true mean difference is determined to lie between −13%-13\% (−0.13-0.13) and −1%-1\% (−0.01-0.01).
    • Substantive meaning: Infants pay approximately 1%1\% to 13%13\% more focused attention to a novel individual when that individual sings a familiar lullaby compared to when that same individual is silent.
    • Inferential conclusion: Because the hypothesized mean difference of zero (0%0\%, representing null difference) falls entirely outside the 95%95\% confidence interval ([−13%,−1%][-13\%, -1\%]), the difference between the silent condition and the singing condition is statistically significant at the α=0.05\alpha = 0.05 level.

Confidence Interval normal distribution curve

Paired Two-Sample t-Test for Means

  • Hypothesis Testing Setup:

    • Null Hypothesis (H0H_0): The true population mean difference between conditions is zero.     H0:μd=0H_0: \mu_d = 0
    • Alternative Hypothesis (HAH_A): The true population mean difference between conditions is not zero (two-tailed test).     HA:μd≠0H_A: \mu_d \neq 0
    • Significance Threshold: α=0.05\alpha = 0.05.
  • Manual Calculation Procedure ("The Hard Way"):

    • Calculate the mean difference (dˉ\bar{d}) and standard deviation of differences (sds_d) across all n=32n = 32 participants.
    • Compute the test statistic (tt):     t=dˉ−μ0sdnt = \frac{\bar{d} - \mu_0}{\frac{s_d}{\sqrt{n}}}     where μ0=0\mu_0 = 0 represents the hypothesized null population difference.
    • Calculate degrees of freedom:     df=n−1=32−1=31df = n - 1 = 32 - 1 = 31
    • Derive the exact pp-value in Excel utilizing the distribution function:     =T.DIST(t,df,cumulative)= \text{T.DIST}(t, df, \text{cumulative}) or = T.DIST.2T(ABS(t), df) for a two-tailed probability.
  • Automated Implementation via Excel Analysis Toolpak ("The Easy Way"):

    • Open the Analysis Toolpak menu and select: t-Test: Paired Two Sample for Means.
    • Variable 1 Range: Reference the Baseline data column (cells $G$1:$G$33, including variable header label).
    • Variable 2 Range: Reference the Test data column (cells $H$1:$H$33, including variable header label).
    • Hypothesized Mean Difference: Enter 0.
    • Labels: Ensure the checkbox is checked to designate that row 1 contains variable names.
    • Alpha: Set to 0.05.
    • Output Options: Select New Worksheet Ply.

Paired Two Sample t-Test Dialog Box

  • Results and Empirical Conclusions:
    • The two-tailed pp-value produced by the paired sample tt-test equals 0.020.02.
    • Comparative evaluation: Because p=0.02<α=0.05p = 0.02 < \alpha = 0.05, the decision is to reject the null hypothesis (H0H_0).
    • Substantive conclusion: Infants exhibit a statistically significant difference in attention toward unfamiliar individuals who sing a parental lullaby versus unfamiliar individuals who remain silent, demonstrating empirical support for the hypothesis that infant social engagement and bonding are systematically enhanced by exposure to familiar melodies.

Independent Two-Sample t-Test (Assuming Unequal Variances)

  • Sex-Based Comparative Inquiries:

    • Investigation into whether infant baseline attention toward silent strangers varies systematically by biological sex.
    • Research expectation: Male infants exhibit a greater baseline visual attention toward silent individuals than female infants.
  • Hypothesis Formulation (One-Tailed Test):

    • Let index 11 denote male infants and index 22 denote female infants.
    • Null Hypothesis (H0H_0): The population mean attention for males is less than or equal to that of females.     H0:μ1≤μ2H_0: \mu_1 \le \mu_2
    • Alternative Hypothesis (HAH_A): The population mean attention for males is strictly greater than that of females.     HA:μ1>μ2H_A: \mu_1 > \mu_2
    • Significance Level: α=0.05\alpha = 0.05.
  • Manual Calculation Procedure ("The Hard Way"):

    • Calculate sample metrics for each independent group:
    • Sample means: xˉ1\bar{x}_1 and xˉ2\bar{x}_2
    • Sample standard deviations: s1s_1 and s2s_2
    • Sample group sizes: n1n_1 and n2n_2
    • Compute the Welch's tt-test statistic assuming unequal variances:     t=(xˉ1−xˉ2)−Δs12n1+s22n2t = \frac{(\bar{x}_1 - \bar{x}_2) - \Delta}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}     where Δ=0\Delta = 0 represents the hypothesized difference under the null hypothesis.
    • Compute Welch–Satterthwaite degrees of freedom (dfdf):     df=(s12n1+s22n2)21n1−1(s12n1)2+1n2−1(s22n2)2df = \frac{\left(\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}\right)^2}{\frac{1}{n_1 - 1}\left(\frac{s_1^2}{n_1}\right)^2 + \frac{1}{n_2 - 1}\left(\frac{s_2^2}{n_2}\right)^2}
    • Compute the corresponding pp-value via = T.DIST(t, df, cumulative) or = T.DIST.RT(t, df) for an upper-tail test.
  • Automated Implementation via Excel Analysis Toolpak ("The Easy Way"):

    • Open the Analysis Toolpak menu and select: t-Test: Two-Sample Assuming Unequal Variances.
    • Variable 1 Range: Input range for Group 1 (e.g., Male observations: $A$1:$A$16, containing n1=15n_1 = 15 observations plus header label).
    • Variable 2 Range: Input range for Group 2 (e.g., Female observations: $B$1:$B$18, containing n2=17n_2 = 17 observations plus header label).
    • Hypothesized Mean Difference: Enter 0.
    • Labels: Ensure the checkbox is checked.
    • Alpha: Set to 0.05.
    • Output Options: Select New Worksheet Ply.

Two-Sample Assuming Unequal Variances Dialog Box

Academic Support and Supplemental Instruction (SI)

  • Supplemental Instruction (SI) Framework:

    • Structured academic support program led by an undergraduate SI Leader (Ava) who previously achieved high academic standing in the course.
    • Total frequency: Three weekly sessions.
  • Schedule and Location Details:

    • Mondays: 10:30 am
    • Wednesdays: 4:30 pm
    • Thursdays: 2:00 pm
    • Location: Room C410, Pappajohn Business Building (PBB)
  • Session Scope and Structure:

    • Delivers interactive, collaborative learning activities focused on statistical problem-solving, cognitive study strategies, and quiz preparation.
    • Policy Boundary: SI sessions do not constitute homework completion sessions or individual assignment assistance; specific homework and graded assignment questions must be directed to faculty or teaching assistant office hours.