Calculating the Mode

  • Last update:  2023-10-12
  • Overview

    Preview

    You may need to calculate the mode occurrence number of the consumption amount to evaluate the sales of a product. In the following figure, for example, users who spend $1,000 are the most, with a total of six consumption records. So 1,000 is the mode of the Amount column.

    1.png

    Implementation Method

    1. Calculate the number of records with the same amount. Group the sample data by Amount and calculate the distinct count result of the User column.

    2. Sort the number of records in descending order to obtain the mode.

    Procedures

    Sample data: Calculating the Mode.xlsx

    Creating an Analysis Subject

    Create an analysis subject and upload the sample data Calculating the Mode with all fields selected by default.

    2.png

    3.png

    Editing Data

    Group Summary

    Click Group Summary, drag Amount (summary method: Group Records with Same Value) into Group, and drag User (summary method: Distinct Count) into Total to calculate the occurrence number of each value of Amount.

    The following table introduces the settings of Group Summary.

    Group
    Amount (Group Records with Same Value)
    Total

    User (Distinct Count)

    4.png

    Sorting

    Sort the User column in descending order, and the amount corresponding to the highest number of records is the mode. 

    1. Click Sort, click Add Sorting Indicator, select User as the object to be sorted, and Descend as the sorting method. By doing so, the occurrence number of each amount is sorted in descending order.

    5.png

    2. Rename the analysis subject as Calculating the Mode and click Save and Update.

    6.png

    3. Close the analysis subject and click Update Data to view the result.

    7.png

    Demonstration

    See section "Preview".

    附件列表


    主题: Adding and Editing Data
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy