One-Way Analysis of Variance Example
In a one-way analysis of variance, a different mean is fit to each of the different groups, as identified by a nominal variable. To specify the model for JMP, select a continuous response column and a nominal effect column. This example uses the data in Drug.jmp.
1. Open the Drug.jmp sample data table.
2. Select Analyze > Fit Model.
3. Select y and click Y.
4. Select Drug and click Add.
5. Click Run.
In this example, Drug has three levels, a, d, and f. The standard least squares fitting method translates this specification into a linear model as follows: The nominal variables define a sequence of indicator variables, which only assume the values 1, 0, and –1. The linear model is written as follows: