Icon

Payment Analysis

<p>For this exercise, we use the Road Traffic Fine Management event log&nbsp;which is a real-life event log&nbsp;of an information system managing road traffic fines. The event log can be downloaded from https://data.4tu.nl/articles/_/12683249/1.</p><p>The&nbsp;initial&nbsp;setup of the workflow must&nbsp;contain&nbsp;the XES Reader node followed by the Event Log to Table node. The&nbsp;path to the event log can be set within the XES Reader node by selecting the folder where we uploaded the Road Traffic Fine Management log.&nbsp;&nbsp;</p><p>With this setup, we want to&nbsp;answer the following questions:&nbsp;</p><ol type="i"><li><p>How does&nbsp;the payment value change over time?&nbsp;</p></li><li><p>Does the initial fine amount influence whether the offender decides to file an appeal?</p></li></ol><p>To answer the first question, we start&nbsp;by binning the Payment attribute to create a new attribute called ‘Payment Category'.&nbsp;A dotted chart can then be used to visualize the trend in the payments over time.&nbsp;We refer to&nbsp;the dotted chart to&nbsp;identify&nbsp;two&nbsp;distinct time intervals where the most frequent payment category is clearly distinguishable.&nbsp;Next, we filter the data using&nbsp;the&nbsp;identified&nbsp;time intervals. For each time interval, we create a&nbsp;boxplot to find the median of the payments to get an understanding of how the payment value changes across the time&nbsp;intervals.&nbsp;&nbsp;</p><p>(Hint: As a preprocessing step, consider filtering the event log to only&nbsp;retain&nbsp;non-zero&nbsp;Payment events.)&nbsp;</p><p>To answer the second question,&nbsp;we first&nbsp;identify&nbsp;the cases&nbsp;which involve appealing by the offender&nbsp;as well as the cases with no appealing. Next, we compare the values of the fine issued&nbsp;in both cases&nbsp;using the mean value as well as boxplots.&nbsp;</p>

For this exercise, we use the Road Traffic Fine Management event log which is a real-life event log of an information system managing road traffic fines. The event log can be downloaded from https://data.4tu.nl/articles/_/12683249/1.

The initial setup of the workflow must contain the XES Reader node followed by the Event Log to Table node. The path to the event log can be set within the XES Reader node by selecting the folder where we uploaded the Road Traffic Fine Management log.  

With this setup, we want to answer the following questions: 

  1. How does the payment value change over time? 

  2. Does the initial fine amount influence whether the offender decides to file an appeal?

To answer the first question, we start by binning the Payment attribute to create a new attribute called ‘Payment Category'. A dotted chart can then be used to visualize the trend in the payments over time. We refer to the dotted chart to identify two distinct time intervals where the most frequent payment category is clearly distinguishable. Next, we filter the data using the identified time intervals. For each time interval, we create a boxplot to find the median of the payments to get an understanding of how the payment value changes across the time intervals.  

(Hint: As a preprocessing step, consider filtering the event log to only retain non-zero Payment events.) 

To answer the second question, we first identify the cases which involve appealing by the offender as well as the cases with no appealing. Next, we compare the values of the fine issued in both cases using the mean value as well as boxplots. 

Analyse Payment Trend

Split the data using its timestamp to create two boxplots which show how "Payment Category" is spread. The median rate of the payments can be found from these plots.

Input

Read an event log in the XES format and convert to a table.

Filter Relevant Events

Filter the event log to only retain "Payment" activities which are non-zero in amount.

Create Bins

Bin "Payment" to create a new attribute called "Payment Category". The label of the category denotes its mid-point.

Dotted Chart

Create a dotted chart to identify time intervals where the most frequent payment category is clearly distinguishable

Identify Cases with Appeals

Filter the event log to only retain cases which have an activity related to appealing

Compare Fine Amount in Appeal and Non-Appeal Cases

Compare the fine amount in Appeal and Non-Appeal cases by looking at the mean as well as boxplot

Row Filter
Rule Engine
Box Plot
Rule Engine
Binner
Box Plot
XES Reader
Box Plot
GroupBy
Row Filter
GroupBy
Row Filter
Event Log to Table
Dotted Chart

Nodes

Extensions

Links