SOURCEBOOK

DEVISE | Data Analysis

Post Hoc Comparisons

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 mean and standard deviation for the dependent variable for each of the levels.

(Outcome~Factor) |> describeMoments()

Obtaining Inferential Statistics

Get all pairwise mean difference and their confidence intervals while adjusting them for multiple comparisons.

(Outcome~Factor) |> estimatePosthoc()

Test all pairwise mean differences for statistical significance while adjusting them for multiple comparisons.

(Outcome~Factor) |> testPosthoc()

Get standardized mean differences for all pairwise comparisons.

(Outcome~Factor) |> standardizePosthoc()