Concept | Factor and response roles in statistics cards#

See the video version of this article

Assigning roles to variables in your dataset determines how Dataiku uses them in statistics cards. Let’s discuss two roles:

  • Factor

  • Response

Factor role#

The factor role should be assigned to independent variables, or the variables that will influence your experimental outcomes. They explain the change in values of the response variables. Factor variables appear on the x-axis in statistics cards.

Response role#

The response role should be assigned to dependent variables, or the variables that are being tested and measured. Response variables appear on the y-axis in statistics cards.

Bivariate example#

In a bivariate analysis card, if you assign a variable alcohol as a Response, and the variables pH and sulphates as Factors, the factors are used separately to explain the change in values of the response.

A Dataiku screenshot of a bivariate analysis card with two factors.