反馈已提交

网络繁忙

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".

    Attachment List


    Theme: データの追加および編集
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭