Skip to content

Instantly share code, notes, and snippets.

@MariaLavrovskaya
Created October 13, 2019 12:14
Show Gist options
  • Save MariaLavrovskaya/63d5b8161f9bc7355e90baeb0cb46778 to your computer and use it in GitHub Desktop.
Save MariaLavrovskaya/63d5b8161f9bc7355e90baeb0cb46778 to your computer and use it in GitHub Desktop.
airbnb_9
## Calculate the t-statistics
t = (entire_subset['minimum_nights'].mean() - private_room['minimum_nights'].mean())/(std*np.sqrt(2/ 22326))
print(t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment