[SOLVED] Plotting cumulative distributions

tennenrishin
tennenrishin New Altair Community Member
edited November 5 in Community Q&A
The cumulative distribution is a useful visualization because it does not require arbitrary discretization. What is the easiest way to report a cumulative distribution of a set of real-valued examples in RM?

(Currently I'm doing Sort => GenerateID => Set Role => etc.)
Tagged:

Answers

  • MariusHelf
    MariusHelf New Altair Community Member
    Let's do this at the example of a1 of the Iris dataset. Just use the original dataset, go to the Advanced Charts, then:
    - put a1 onto both domain and the numerical axis.
    - Click on the Series: a1
    - set Aggregation to count
    - under Windowing, set "grab left" to -1
    - click the "configure grouping" link, click configure and specify the desired amount of bins

    Please let me know if you have any additional questions.

    Best regards,
    Marius
  • MariusHelf
    MariusHelf New Altair Community Member
    Oh, and in addition, if you want the distribution by label, just put the label onto the Color Domain and set the grouping to Distinct Values.

    :)
  • tennenrishin
    tennenrishin New Altair Community Member
    Thank you!