This example uses the Candy Bars.jmp sample data table, which contains nutrition data for candy bars.
1.
Select Help > Sample Data Library 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.
SAS Code shows the SAS code. (Not all of the data is shown.)
SAS Code

Help created on 9/19/2017