Plotting Curves

A Curve displays the behavior of a quantitative variable as a function of another quantitative variable.

It contains the following attributes:

Attribute

Mandatory

Constraints

x

Yes


y

No

It cannot be a nominal value

Target

No



Properties

Category

Properties

Description

Y attribute

Aggregate Operator

The operator used to aggregate data.

Possible values are average, maximum, median, minimum, mode and sum.

Number of bins

Defines the number of displayed intervals for the attributes.

General parameters

Displayed value

The value displayed in the plot.

Possible values are standard, total percentage or target percentage.

X attribute

Number of bins

Defines the number of displayed intervals for the attributes.

Target attribute

Number of bins

Defines the number of displayed intervals for the attributes.


Examples

The following examples are based on the Adult dataset.

Scenario data can be found in the Datasets folder in your Rulex installation.

Type

Description

Result

Basic curve

Dragging and dropping the marital-status attribute onto the x cell and the age attribute onto the y cell, and selecting Curve in the Plot cell, a curve for the age attribute, related to the marital-status attribute is displayed.

Curve with target

Dragging and dropping the race attribute onto the Target cell will display several curves corresponding to single values of the race attribute.