Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to test a hypothesis (python) - customers with larger fares are more likely to travel alone?

$
0
0

What technique is best to determine if the hypothesis below is True?
Hypothesis: the larger the fare the more likely the customer is to be travailing alone?

import seaborn as sns

# dataset
df= sns.load_dataset('titanic')

    fare    alone
0   7.2500  False
1   71.2833 False
2   7.9250  True
3   53.1000 False
4   8.0500  True

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles