CART® Classification for Predict On-time Shipping Rate

Use CART® Classification to use complex relationships with multiple predictors to predict on-time shipping rate.

This example applies to the Supply Chain Module. For more information, go to www.minitab.com/supply-chain-module.

Example

On-time shipping rate is the proportion of orders that are received within the promised shipping window. To calculate on-time shipping rate, divide the total number of on-time shipments by the total number of shipments.

In this worksheet, On Time is the response. The response event is On Time. Number of Items is the continuous predictor, and Zone, Shipping Contract, and Pickup Time are categorical predictors.

C1-T C2 C3-T C4-T C5-T
On Time Number of Items Zone Shipping Contract Pickup Time
On Time 55 Central Yes Peak
On Time 64 Priority Yes Normal
Late 62 Secondary No Peak
Late 61 Secondary Yes Normal

How-to

  1. Choose Solutions Modules > Functions > Supply Chain KPIs, then select Launch.
  2. Under Delivery, select On-time shipping rate.
  3. Select Predict on-time shipping rate, then click OK.
  4. Select CART® Classification, then click OK.
  5. In Response, enter the binary variable that contains the shipping data. Binary variables are categorical variables that have two possible levels, such as pass/fail or true/false. The response is also called the Y variable.
  6. In Response event, select the value that represents an on-time shipment.
  7. In Continuous predictors, enter the continuous variables that may explain or predict whether a shipment is late. The predictors are also called X variables.
  8. In Categorical predictors, enter the categorical variables that may explain or predict whether a shipment is late. The predictors are also called X variables.
  9. Click OK.
Tip

For more information about this analysis, click Help in the main dialog box.