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.
Get the mean and standard deviation of the dependent variable for each of the levels. The “by” option tells DEVISE how to split the data.
(Outcome~FactorA) |> describeMoments(by = FactorB)
Get the analysis of variance source table.
(Outcome~FactorA) |> describeFactorial(by = FactorB)
Test the main effects for statistical significance.
(Outcome~FactorA) |> testFactorial(by = FactorB)
Get the proportion of variance accounted for by the main effects.
(Outcome~FactorA) |> estimateFactorial(by = FactorB)