Exercise

# Plotting the difference distribution

Now lets plot the difference distribution of our results that is, the distribution of our lift.

The `cont_var`

and `test_var`

as well as the `cont_conv`

and `test_conv`

have been loaded for you. Additionally the upper and lower confidence interval bounds of this distribution have been provided as `lwr_ci`

and `upr_ci`

respectively.

Instructions

**100 XP**

- Calculate mean of the lift distribution by subtracting the control conversion rate (
`cont_conv`

) from the test conversion rate (`test_conv`

) - Generate the range of x-values for the difference distribution, making it 3 standard deviations wide.
- Plot a normal distribution by specifying the calculated
`lift_mean`

and`lift_sd`

. - Plot a green vertical line at the distributions mean, and a red vertical lines at each of the lower and upper confidence interval bounds. This has been done for you, so hit 'Submit Answer' to see the result!