This function displays $d_{z}$ for repeated measures data and the non-central confidence interval using the standard deviation of the differences as the denominator estimating from the t-statistic.

The formula for d is: $$d_{z} = \frac{t}{\sqrt{N}}$$

R Function

d.dep.t.diff.t(t, n, a = 0.05)


  • t = t-test value
  • n = sample size
  • a = significance level


In a study to test the effects of science fiction movies on people’s belief in the supernatural, seven people completed a measure of belief in the supernatural before and after watching a popular science fiction movie. Participants’ scores are shown with high scores indicating high levels of belief. The data are available on GitHub. Example output from JASP, SPSS, and SAS are shown below.

JASP Dependent t JASP

SPSS Dependent t SPSS

SAS Dependent t SAS

Function in R:

d.dep.t.diff.t(t = 1.429, n = 7, a = .05)



Dependent t Differences - t Screenshot

Effect Size:

$d_{z}$ = 0.54, 95% CI [-0.28, 1.32]


Your confidence interval does include zero, and therefore, you might conclude that this effect size is similar to zero.

Summary Statistics:

Not applicable.

Test Statistic:

t(6) = 1.43, p = .203


Your p-value is greater than the alpha value, and therefore, this test would be considered not statistically significant.