Root Causes: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Influence Analysis for Case Attributes shows correlations between cases selected in the Control Window and case attribute values in the model. For example, you might select cases that contain certain undesired event (in the flowchart) and analyze using the Influence Analysis for Case Attributes, which case attributes and their value have a connection to this undesired behavior. There might be causalities behind the correlations, which would then help to find ''root causes'' for the occurrence of the observed phenomenon.
Root Causes shows correlations between cases selected in the Control Window and case attribute values in the model. For example, you might select cases that contain certain undesired event (in the flowchart) and analyze using the Root Causes, which case attributes and their value have a connection to this undesired behavior. There might be causalities behind the correlations, which would then help to find ''root causes'' for the occurrence of the observed phenomenon.


In the Influence Analysis for Case Attributes one row represents cases with one case attribute value. The right-most colored column shows the correlation level between the selected cases and the case attribute value that the row represents.
In the Root Causes one row represents cases with one case attribute value. The right-most colored column shows the correlation level between the selected cases and the case attribute value that the row represents.


Influence Analysis for Case Attributes is available in the Analysis Window only. The set of cases to find correlations, are selected in the Control Window. You can select for example:
[[File:Influence_Analysis_for_Case_Attributes.png]]
* Cases that have a certain type of event (in the Flowchart Analysis)
* Cases that have a certain flow (transition between certain type of events) (in the Flowchart Analysis)
* Cases with certain case attribute values (in the Profiling Cases Analysis)
* Cases having certain range of durations, e.g. cases with the longest durations (in the Duration Analysis)
* Cases belonging to certain variations (in the Variation Analysis)


[[File:Influence_Analysis_for_Case_Attributes.png]]
== All Cases Have Equal Weight Mode ==
When the Root Causes doesn't operate in the ''Weighted by Case Value'' mode, each case has equal weight in the analysis.


== Shown Information ==
When ''Show Detail Columns''' in not activated, the following columns are shown:
By default, the Influence Analysis for Case Attributes shows the following information (when ''Weighted by Case Value'' is not selected in the analysis settings):
*'''Case Attribute''': Case attribute that the row represents.
*'''Case Attribute''': Case attribute name that the row represents.
*'''Attribute Value''': Case attribute value that the row represents.
*'''Attribute Value''': Case attribute value that the row represents.
*'''Cases #''': Number of cases having the case attribute value that the row represents.
*'''Cases #''': Number of cases having the case attribute value that the row represents.
*'''Selected %''': Shows how many percentage of the cases with that case attribute value are in the selected set of cases. Calculation rule: ''[Selected #] / [Cases #] * 100''.
*'''Selected %''': Shows how many percentage of the cases with that case attribute value are in the selected set of cases. Calculation rule: ''[Selected #] / [Cases #] * 100''.
*'''Contribution %''': Percent of the selected cases with the attribute value that contributes to the "Difference %". When "Weighted by Case Value" is selected in the analysis settings, the percent of the cost of cases which contribute to the "Difference %"
*'''Contribution %''': Percent of the selected cases with the attribute value that contributes to the "Difference %".
You can sort the columns in the analysis by clicking on the column headers. To filter the shown content of the table, click on the filter icon.


When ''Show Detail Columns'' is set, the following additional columns are shown:
When ''Show Detail Columns'' is activated, the following additional columns are shown:
*'''Selected #''': the number of selected cases that have the attribute value shown. Not shown when "Weighted by Case Value" is selected in the analysis settings.
*'''Selected #''': Number of cases in the selected group that have the case attribute value that the row represents.
*'''Compared #''': the number or unselected cases that have the attribute value shown, i.e. "Cases #" - "Selected #". Shown when "Show Detail Columns" is selected in the analysis settings, but not when "Weighted by Case Value" is selected in the analysis settings.
*'''Compared #''': Number or cases in the unselected group that have the case attribute value that the row represents. Calculation rule: ''[Cases #] - [Selected #]''.
*'''Difference %''': the deviation in percents between "Selected %" and the average "Selected %" taken from the Total row. Shown when "Show Detail Columns" is selected in the analysis settings.
*'''Difference %''': Deviation in percentage between ''Selected %'' and the average percentage of selected cases among all analyzed cases.
*'''Contribution #''': the number of cases which contribute to the "Difference %", i.e. the deviation from the average percentage. Shown when "Show Detail Columns" is selected in the analysis settings, but not when "Weighted by Case Value" is selected in the analysis settings.
*'''Contribution #''': the number of cases which contribute to the "Difference %", i.e. the deviation from the average percentage. Shown when "Show Detail Columns" is selected in the analysis settings, but not when "Weighted by Case Value" is selected in the analysis settings.


The cost of one individual case is the actual value of the case attribute "Cost". Event costs are not taken into effect in this analysis.
== Weighted by Case Value Mode ==
When the Root Causes works in the ''Weighted by Case Value'' mode, the weight of each case comes from the case attribute ''Cost''.  Then more important cases have greater weight in the analysis. Note that event attribute ''Cost'' is not taken into account by this analysis.
 
When ''Show Detail Columns'' in not activated, the following columns are shown:
*'''Case Attribute''': Case attribute that the row represents.
*'''Attribute Value''': Case attribute value that the row represents.
*'''Cases Value''': Sum of case costs of the cases having the case attribute value that the row represents.
*'''Selected %''': Percentage of the selected cases costs out of the all cases costs among the case attribute value that the row represents. Calculation rule: ''[Selected Value] / [Cases Value] * 100''.
*'''Contribution %''': Percent of the cost of cases which contribute to the ''Difference %''.
 
When ''Show Detail Columns'' is activated, the following additional columns are shown:
*'''Selected Value''': Sum of case costs among the selected cases that have the case attribute value that the row represents.
*'''Compared Value''': Sum of case costs among the unselected cases that have the case attribute value that the row represents. Calculation rule: ''[Cases Value] - [Selected Value]''.
*'''Difference %''': Shows how much more the ''Selected %'' is comparing to the average percentage of selected cases out of all cases.
*'''Contribution Value''': Total cost of cases which contribute to the ''Difference %''.
 
You can sort the columns in the analysis by clicking on the column headers. To filter the shown content of the table, click on the filter icon.


When ''Weighted by Case Value'' is selected in the analysis settings, the following columns are shown:
== Root causes in flowchart ==
*'''Cases Value''': the total sum of costs calculated from all cases in the analysis.
Root causes can be visualized in the flowchart showing how the event and flow occurrences correlate with the selected feature. Root causes analysis in the flowchart can be opened either by clicking the '''Root causes''' tab (if tabs on top of the flowchart are visible) or opening the flowchart settings and in the '''Presets''' tab, selecting '''Root causes''' (if tabs on top of the flowchart are not visible). Then choose a feature to find root causes for using either of the following methods:
*'''Selected Value''': the total sum of costs calculated from the Selected cases in the analysis.
* Make a selection in a chart and and click the '''Show root causes''' button.
*'''Compared Value''': the total sum of costs calculated from the unselected cases in the analysis (i.e. "Cases Cost minus Selected Cost").
* Click the red plus button in the header and choose the rule in the opening dialog.
*'''Contribution Value''': the total cost of cases which contribute to the "Difference %".


In the flowchart, correlations are visualized with colors for the event types and flows as follows:
* The stronger the red color, the higher the '''positive correlation''' between the selected feature and the event type or flow occurrence.
* The stronger the blue color, the higher the '''negative correlation''' between the selected feature and the event type or flow occurrence.
* If there is no correlation or the correlation is weak, the color is grayish.


shows the selected case attribute. You can select a particular case attribute or all case attributes from the '''Attribute''' drop-down menu in the [[#InfluenceAnalysisforCaseAttributesSettings|Influence Analysis Settings]]. Note that only those attributes are shown in the list that are visible in the current filter. If you select the option <All>, all case attributes visible in the current filter are used in the analysis.
Example


When "Weighted by Case Value" is selected in the analysis settings, the percent of selected case costs out of the total sum of case costs.
Let's say we select cases with exceptionally long duration as a feature to find root causes for the long durations. In the following picture we can see that the event type ''Shopping Cart Created'' has occurred in 78% of the long cases, where as on average among all cases, ''Shopping Cart Created'' has occurred in 47% of cases. We may say that the occurrence of the ''Shopping Cart Created'' events may explain why some cases take longer.


On the other hand, we can see that the event type ''PR Created'' has occurred in 14% of the long cases, where as on average among all cases, ''PR Created'' has occurred in 35% of cases. We may say that the occurrence of the ''Shopping Cart Created'' may contribute to completing some cases in shorter time.


== Analysis Settings ==
Same logic applies for the flows: for example the flow between ''Shopping Cart Approved'' and ''PO Item Created'' occurred in 78% of the long cases, where as on average among all cases, the flow has occurred in 46% of cases. We may say that this flow (i.e., the fact that ''PO Item Created'' occurs directly after ''Shopping Cart Approved'') may explain why some cases take longer.
* '''Show''': the number of top and bottom rows shown in the analysis.
: '''All''': all rows (max. 2000) are shown in the table.
: '''Limit To''': the value here is the limit to the number of shown top and bottom rows.
* '''Attribute''': the case attribute to be shown on the analysis.
* '''Show Detail Columns''': see the descriptions of the columns above for the effect of this setting.
*'''Weighted by Case Value''': see the descriptions of the columns above for the effect of this setting. For this setting to work, the data needs to contain a case attribute named "Cost".


== See Also ==
[[File:Root causes flowchart.png]]  
* [[QPR_ProcessAnalyzer_Presentation_Object (PAPO)|QPR ProcessAnalyzer Presentation Object (PAPO)]]
* [[Case_Analysis (PAPO)|Case Analysis]]
* [[Flowchart_Analysis (PAPO)|Flowchart Analysis]]
* [[Duration_Analysis (PAPO)|Duration Analysis]]
* [[Event_Analysis (PAPO)|Event Analysis]]
* [[Profiling_Analysis (PAPO)|Profiling Analysis]]
* [[Flowchart_Influence_Analysis (PAPO)|Flowchart Influence Analysis]]
* [[Variation_Analysis (PAPO)|Variation Analysis]]


[[Category: QPR UI]]
[[Category: QPR ProcessAnalyzer]]

Latest revision as of 15:02, 1 May 2023

Root Causes shows correlations between cases selected in the Control Window and case attribute values in the model. For example, you might select cases that contain certain undesired event (in the flowchart) and analyze using the Root Causes, which case attributes and their value have a connection to this undesired behavior. There might be causalities behind the correlations, which would then help to find root causes for the occurrence of the observed phenomenon.

In the Root Causes one row represents cases with one case attribute value. The right-most colored column shows the correlation level between the selected cases and the case attribute value that the row represents.

Influence Analysis for Case Attributes.png

All Cases Have Equal Weight Mode

When the Root Causes doesn't operate in the Weighted by Case Value mode, each case has equal weight in the analysis.

When Show Detail Columns' in not activated, the following columns are shown:

  • Case Attribute: Case attribute that the row represents.
  • Attribute Value: Case attribute value that the row represents.
  • Cases #: Number of cases having the case attribute value that the row represents.
  • Selected %: Shows how many percentage of the cases with that case attribute value are in the selected set of cases. Calculation rule: [Selected #] / [Cases #] * 100.
  • Contribution %: Percent of the selected cases with the attribute value that contributes to the "Difference %".

When Show Detail Columns is activated, the following additional columns are shown:

  • Selected #: Number of cases in the selected group that have the case attribute value that the row represents.
  • Compared #: Number or cases in the unselected group that have the case attribute value that the row represents. Calculation rule: [Cases #] - [Selected #].
  • Difference %: Deviation in percentage between Selected % and the average percentage of selected cases among all analyzed cases.
  • Contribution #: the number of cases which contribute to the "Difference %", i.e. the deviation from the average percentage. Shown when "Show Detail Columns" is selected in the analysis settings, but not when "Weighted by Case Value" is selected in the analysis settings.

Weighted by Case Value Mode

When the Root Causes works in the Weighted by Case Value mode, the weight of each case comes from the case attribute Cost. Then more important cases have greater weight in the analysis. Note that event attribute Cost is not taken into account by this analysis.

When Show Detail Columns in not activated, the following columns are shown:

  • Case Attribute: Case attribute that the row represents.
  • Attribute Value: Case attribute value that the row represents.
  • Cases Value: Sum of case costs of the cases having the case attribute value that the row represents.
  • Selected %: Percentage of the selected cases costs out of the all cases costs among the case attribute value that the row represents. Calculation rule: [Selected Value] / [Cases Value] * 100.
  • Contribution %: Percent of the cost of cases which contribute to the Difference %.

When Show Detail Columns is activated, the following additional columns are shown:

  • Selected Value: Sum of case costs among the selected cases that have the case attribute value that the row represents.
  • Compared Value: Sum of case costs among the unselected cases that have the case attribute value that the row represents. Calculation rule: [Cases Value] - [Selected Value].
  • Difference %: Shows how much more the Selected % is comparing to the average percentage of selected cases out of all cases.
  • Contribution Value: Total cost of cases which contribute to the Difference %.

You can sort the columns in the analysis by clicking on the column headers. To filter the shown content of the table, click on the filter icon.

Root causes in flowchart

Root causes can be visualized in the flowchart showing how the event and flow occurrences correlate with the selected feature. Root causes analysis in the flowchart can be opened either by clicking the Root causes tab (if tabs on top of the flowchart are visible) or opening the flowchart settings and in the Presets tab, selecting Root causes (if tabs on top of the flowchart are not visible). Then choose a feature to find root causes for using either of the following methods:

  • Make a selection in a chart and and click the Show root causes button.
  • Click the red plus button in the header and choose the rule in the opening dialog.

In the flowchart, correlations are visualized with colors for the event types and flows as follows:

  • The stronger the red color, the higher the positive correlation between the selected feature and the event type or flow occurrence.
  • The stronger the blue color, the higher the negative correlation between the selected feature and the event type or flow occurrence.
  • If there is no correlation or the correlation is weak, the color is grayish.

Example

Let's say we select cases with exceptionally long duration as a feature to find root causes for the long durations. In the following picture we can see that the event type Shopping Cart Created has occurred in 78% of the long cases, where as on average among all cases, Shopping Cart Created has occurred in 47% of cases. We may say that the occurrence of the Shopping Cart Created events may explain why some cases take longer.

On the other hand, we can see that the event type PR Created has occurred in 14% of the long cases, where as on average among all cases, PR Created has occurred in 35% of cases. We may say that the occurrence of the Shopping Cart Created may contribute to completing some cases in shorter time.

Same logic applies for the flows: for example the flow between Shopping Cart Approved and PO Item Created occurred in 78% of the long cases, where as on average among all cases, the flow has occurred in 46% of cases. We may say that this flow (i.e., the fact that PO Item Created occurs directly after Shopping Cart Approved) may explain why some cases take longer.

Root causes flowchart.png