1. Select Help > Sample Data Folder and open Candy Bars.jmp.
2. Select Analyze > Fit Model.
3. Select Calories and click Y.
4. Select Total fat g, Carbohydrate g, and Protein g, and click Add.
5. Click the Model Specification red triangle and select Create SAS Job.
Figure 8.7 shows the SAS code. (Not all of the data is shown.)
Figure 8.7 SAS CodeĀ