# Hands-On: Model the Relationship Between Two Variables[¶](https://knowledge.dataiku.com/latest/courses/statistics/fit-curves-distributions/model-relationships.html#hands-on-model-the-relationship-between-two-variables "Permalink to this headline")

Note

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

Let’s use the **Fit Curve** card to find the best line or curve that models the relationship between the *free sulfur dioxide* and *total sulfur dioxide* variables.

* Click the **New Card** button from the Worksheet header, and then select **Fit curves & distributions**.

* Select the **Fit Curve** card.

* Specify **free sulfur dioxide** as the X Variable and **total sulfur dioxide** as the Y Variable.

* Select the **Polynomial** Curve Type and specify `1` as the polynomial degree.

* Click **Create Card** to create the card.

It appears that an increase in the value of the *free sulfur dioxide* variable results in an increase in the value of the *total sulfur dioxide variable*, and vice-versa. This indicates that both variables are positively correlated. We can confirm this by finding the correlation coefficient between these variables.

Note

For more information, see Fit curves and distributions in the reference documentation.
