SOURCEBOOK

DEVISE Articles

Data Analysis | Paired Samples t Test

Prior to the steps below, enter the data as appropriate for the analyses (described elsewhere). As always, the following commands should be typed directly in the R console window.

Obtaining Descriptive Statistics

Get the means and standard deviations for the variables.

(PairedData) |> describeMoments()

Obtaining Inferential Statistics

Get the mean difference and its confidence interval. Though the confidence interval defaults to 95%, it can be changed if desired.

(PairedData) |> estimateDifference()
(PairedData) |> estimateDifference(conf.level = .99)

Test the mean difference for statistical significance.

(PairedData) |> testDifference()

Get the standardized effect size for the mean difference.

(PairedData) |> standardizeDifference()