turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- JMP Academic
- :
- JMP Course Materials Library
- :
- One Page Guide: Two-Way (Factorial) ANOVA

Jul 23, 2014 3:07 PM
(5406 views)

A two-way (factorial) analysis of variance tests the effects of two categorical variables (factors) and their interaction on one continuous (response) variable.

Example: Analgesics.jmp (Help > Sample Data)

Select **Analyze > Fit Model**.

- Click on a continuous variable from
**Select Columns**, and click**Y, Response**(continuous variables have blue triangles). - Click on two categorical variables from
**Select Columns**, and click**Macros, Full Factorial**(categorical variables have red or green bars). This adds each factor and the interaction between the two factors as model effects. - Click
**OK**. The Fit Model output window will display. - Above the leverage plots select
**LS Means Plot**from the**red triangles**to display least square means plots.

Interpretation of the results in the ANOVA table under **Effects Tests**:

- The null hypothesis for a main effect is that there are no differences between the population means (i.e., all means are equal) in that factor, averaging over all other factors.
- The null hypothesis for the interaction between two effects is that the pattern of effects for one of the factors does not depend on the level of the second factor.
**Prob > F**- Both main effects are significant, indicating that the mean for males differs from the mean for females, and that not all the means for the three drugs are the same.
- We do not have evidence that the effect of drug depends on the gender of an individual, and equivalently, that the “effect” of gender does not depend on what drug someone is taking.

Tips:

- To determine which means are different (simple effects), a post hoc multiple comparison technique can be used (for details see the page
**One-Way ANOVA**). - The
**Parameter Estimates**table provides results from tests of the parameterized (dummy) variables accounting for each source of variation (factors and interactions).

Notes: For more information on two-way analysis of variance, search for **Two-Way** in the book ** Fitting Linear Models** (under

Comments

06-03-2016
01:06 PM

- Mark as Read
- Mark as New
- Bookmark
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

06-03-2016
01:06 PM

How is the data in replications fed into JMP before analysis?

06-03-2016
06:36 PM

- Mark as Read
- Mark as New
- Bookmark
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

06-03-2016
06:36 PM

Hi Tadesse,

Let me make sure I am understanding your question correctly. Are you asking how the data are entered and whether there is anything special done when entering replicate observations for each condition? Here's a screenshot of the data table for the example above, perhaps that will help:

Notice that there is nothing required to identify the replicate observations. In row 3 for instance, we're observing a second Male taking drug C, but don't need to indicate to JMP this is another observation of that condition. So, simply enter the data in as many rows as you have observations with the factor levels listed in separate columns. If it helps with tracking the replicates it's fine to have another column that numbers the observations within each condition, but that won't be used when specifying the model.

I hope this helps!

Julian

Article Labels

Article Tags

- Article History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content