For the latest version of JMP Help, visit JMP.com/help.


Fitting Linear Models > Standard Least Squares Examples > Example of a Split Plot Design Analysis
Publication date: 07/24/2024

Example of a Split Plot Design Analysis

Use the Standard Least Squares personality of the Fit Model platform to analyze a split plot design. Levels of random effects are randomly selected from a larger population of levels. For the purpose of inference, the distribution of a random effect is assumed to be normal, with mean zero and some variance (called a variance component).

In a sense, every model has at least one random effect, which is the effect that makes up the residual error. The individual observations are assumed to be randomly selected from a much larger population, and the error term is assumed to have a mean of zero and variance σ2.

A common random effects model is the repeated measures or split plot model. Table 4.2 lists the types of effects in a split plot model. In these models, the experiment has two layers. Some effects are applied on the whole plots or subjects of the experiment. Then these plots are divided or the subjects are measured at different times and other effects are applied within those subunits. The effects describing the whole plots or subjects are whole plot effects, and the subplots or repeated measures are subplot effects. Usually, the subunit effect is omitted from the model and absorbed as residual error.

Table 4.2 Types of Effects in a Split Plot Model

Split Plot Model

Type of Effect

Repeated Measures Model

whole plot treatment

fixed effect

across subjects treatment

whole plot ID

random effect

subject ID

subplot treatment

fixed effect

within subject treatment

subplot ID

random effect

repeated measures ID

Each of these cases can be treated as a layered model, and there are several ways to fit them. One way to fit a split plot model is to treat the whole and subplots as two different experiments:

1. The whole plot experiment has whole plot or subjects as the experimental unit to form its error term.

2. Subplot treatment has individual measurements for the experimental units to form its error term (left as residual error).

Other ways to test the whole plots of a split plot model is to do one of the following:

Take means across the measurements and fit these means to the whole plot effects.

Form an F-ratio by dividing the whole plot mean squares by the whole plot ID mean squares.

Organize the data so that the split or repeated measures form different columns. Fit a MANOVA model, and use the univariate statistics.

These approaches work if the structure is simple and the data are complete and balanced. However, a more general model that works for any structure of random effects is the mixed model. A mixed model contains both fixed and random effects.

Use the Standard Least Squares personality of the Fit Model platform to fit data from a split plot experiment. Consider a fictional study that collected information about differences in the seasonal hunting habits of foxes and coyotes. Each season for one year, three foxes and three coyotes were marked and observed. The average number of miles that they wandered from their dens during different seasons of the year was recorded (rounded to the nearest mile). The model is defined by the following aspects:

The continuous response variable called miles

The species effect with values fox or coyote

The season effect with values fall, winter, spring, and summer

An animal identification code called subject, with nominal values 1, 2, and 3 for both foxes and coyotes

There are two layers to the model:

1. The top layer is the between-subject layer, in which the effect of being a fox or coyote (species effect) is tested with respect to the variation from subject to subject.

2. The bottom layer is the within-subject layer, in which the repeated-measures factor for the four seasons (season effect) is tested with respect to the variation from season to season within a subject. The within-subject variability is reflected in the residual error.

The season effect can use the residual error for the denominator of its F statistics. However, the between-subject variability is not measured by residual error and must be captured with the nested subject within species (subject[species]) effect in the model. The F statistic for the between-subject effect species uses this nested effect instead of residual error for its F ratio denominator.

Note: JMP Pro users can construct this model using the Mixed Model personality.

To specify the split plot model for this data, follow these steps:

1. Select Help > Sample Data Folder and open Animals.jmp.

2. Select Analyze > Fit Model.

3. Select miles and click Y.

4. Select species and subject and click Add.

5. In the Select Columns list, select species.

6. In the Construct Model Effects list, select subject.

7. Click Nest.

This adds the nested subject within species (subject[species]) effect to the model.

8. Select the nested effect subject[species].

9. Select Attributes > Random Effect.

This nested effect is now identified as an error term for the species effect and appears as subject[species]&Random.

10. In the Select Columns list, select season and click Add.

When you define an effect as random using the Attributes menu, the Method options (REML or EMS) appear at the top right of the Fit Model launch window. The REML option is selected as the default. The completed launch window is shown below.

Figure 4.38 Fit Model Launch Window 

Fit Model Launch Window

11. Click Run.

Figure 4.39 Partial Report of REML Analysis 

Partial Report of REML Analysis

In the Fixed Effect Tests table, note that both fixed effects, species and season, are significant. Both the type of animal and the season impacts the number of miles traveled. The REML Variance Component Estimates report shows estimates of the subject within species and residual variances.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).