The Boston Housing.jmp sample data table contains data on the price of homes in Boston area communities, along with demographic information. The Partition platform can be used to model the home values.
1.
Open the Boston Housing.jmp sample data table.
2.
Select Analyze > Modeling > Partition.
3.
Assign mvalue to the Y, Response role.
4.
Assign all other variables (crim through lstat) to the X, Factor role.
5.
Select the Decision Tree option from the Method menu. If using JMP Pro, the Decision Tree option is already selected.
6.
Enter 0.2 for the Validation Portion.
7.
8.
On the platform report window, click Go to perform automatic splitting.
The fit statistics are shown in Fit Statistics for Boston Housing Data. Automatic splitting resulted in five splits. The final RSquare for the Validation set is 0.569.
Fit Statistics for Boston Housing Data
9.
Select Plot Actual by Predicted from the platform red-triangle menu.
A portion of the report is shown in Decision Tree Results. Because there are five splits, the tree has six leaves. Therefore, there are six distinct predicted values.
Decision Tree Results
10.
Select Column Contributions from the report’s red triangle menu.
The report (Column Contributions) shows that the predictors that contribute the most to the model are rooms and lstat.
11.
From the report’s red triangle menu, select Save Columns > Save Prediction Formula.