Hands-On: Perform Bivariate Analysis


This lesson is a continuation of the Interactive Visual Statistics hands-on tutorial.

Next, let’s use the Bivariate analysis card to examine the data distribution for pairs of variables simultaneously.

For example, let’s examine the response variable (type) for each factor variable (density and alcohol). To examine the distributions for each factor-response pair:

  • Click the New Card button from the “Worksheet” header, and then select Bivariate analysis. This brings up the “Bivariate analysis” window.

  • Select the variables: density and alcohol, and click the “plus” icon to add them to the “Factor(s)” box.

  • Then select type and add it to the “Response” box. Notice that Dataiku selects the statistical “Options” that are appropriate based on the combination of the variable types.

  • Click Create Card to create the bivariate analysis card.

Dataiku creates a card with one section for each factor-response pair.


Notice that each descriptive statistical option (e.g. histogram) in the card has a pencil icon that provides options to configure its output. For example, clicking the pencil for a histogram plot enables you to select a binning mode and maximum number of bins.

  • To get a better view of the distributions from the histogram plots, click the pencil icon next to the density histogram, and set the binning mode to Fixed nb. of bins.

  • Set that number to be 100.

  • Repeat the same for the alcohol histogram.



The card also shows additional options, as appropriate, for the selected variable types. For more information about the bivariate analysis card, see Bivariate Analysis in the product documentation.