# Difference Analysis

## 1. **What is Difference Analysis?**&#x20;

Every company experiences a scenario where one group performs exceptionally while another doesn't.&#x20;

**😁 Wouldn't it be great if you could automatically identify the factors causing these differences?**

HEARTCOUNT offers a Difference Analysis feature that can be utilized when you're curious about the statistical differences between any two groups. Through this process of understanding the differences between the two groups, you can pinpoint which variables require attention and which need improvement.

## **2. Setting up Difference Analysis**

1. Click on the `+` icons on both the left and right to set up two arbitrary groups (Group A and Group B) whose statistical characteristics you wish to compare. (The example at the top compares conditions between 'Group A\_with lower profits' and 'Group B\_with higher profits').&#x20;
2. Click the '`compare`' button on the top right.&#x20;
3. Variables showing the **most significant statistical differences between the two groups** set in the analysis conditions are displayed in descending order.&#x20;
4. If you want to specify the groups in more detail, click on the `+` icon to add specific variables using the AND condition for comparison.&#x20;

<figure><img src="https://1130022100-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHmGL0fwQrDEm9mSq6FQN%2Fuploads%2FjwjmsRe0rqqnm6uFTQiF%2F%5BDifference%20Analysis%5D%20Setting.gif?alt=media&#x26;token=3b7f6d9a-0d4a-482f-8ea7-48337d093b3f" alt=""><figcaption></figcaption></figure>

> *\*Refer to the screen below:* <mark style="color:blue;">**Group A\_**</mark>with lower profits and located in Arizona, California, and Georgia vs. <mark style="color:red;">**Group B**</mark><mark style="color:red;">\_</mark>with higher profits and located in New York, North Carolina, Ohio, and Oregon.

<figure><img src="https://1130022100-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHmGL0fwQrDEm9mSq6FQN%2Fuploads%2F48jLIClHByQoEo3xlKkP%2F%5BDifference%20Analysis%5D%20AND.gif?alt=media&#x26;token=88997baf-d16a-480b-ae5a-7e2f8aac4e4a" alt=""><figcaption></figcaption></figure>

## **3. Overall Explanation of Difference Analysis**

<figure><img src="https://1130022100-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHmGL0fwQrDEm9mSq6FQN%2Fuploads%2Fo913IwnVn8xL1v685ugO%2FScreenshot%202023-09-04%20at%202.53.16%20PM.png?alt=media&#x26;token=69cd5f95-126f-41c3-a581-15b063791428" alt=""><figcaption></figcaption></figure>

1. **Variable Name**: The name of the variable explaining the differences between the two groups and the statistical difference are shown in percentages. In the illustration above, the second variable, 'Profit', with a value of 72.41%, means that when comparing the 'Profit' distribution between the two groups, if the entire distribution area is considered 100, then the **non-overlapping distribution area** is 72.41%. Put differently, *the larger this number, the better it represents the statistical difference between the two groups*.&#x20;
2. **Chart**: This visually represents the statistical differences between the two groups. Group B (Profit=0\~2.2K) indicates a higher profit group than Group A (Profit=2.3K\~22.6K).&#x20;
3. **Statistical Characteristics of Group A/B**: This displays the variable value (range) where a specific group has a relatively higher ratio than the other group. \
   \&#xNAN;*\*In the example screen above, the 'Profit' in the 484.9\~3919.99 range shows the 'higher profit group' exists at a higher ratio than the 'lower profit group'.*
