T-test with ecommerce data


You're given the following dataset, containing an ecommerece site's visits and conversion information. Using this data, determine if there's a significant differnce between the test and control conversion rates of users that visited the site through an ad. Test and control groups are defined in the column labeled "test".

To help get you started, below is code (Python) to import the referenced dataset:

# Import libraries
%matplotlib inline
import pandas as pd
import numpy as np
import scipy.stats as ss
# Import data
df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/test_table_truncated.csv')


Access restricted

Subscribe to premium account to see the solution.

Get premium now