The Boston 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.
Open the Boston sample data table.
Select Analyze > Modeling > Partition.
Assign mvalue to the Y, Response role.
Assign all other variables (crim through lstat) to the X, Factor role.
Select the Decision Tree option from the Method menu. If using JMP Pro, the Decision Tree option is already selected.
Enter 0.2 for the Validation Portion.
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
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
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.
From the report’s red triangle menu, select Save Columns > Save Prediction Formula.