A library for wrangling data for University of Oxford Intro to Probability Theory and Statistics
Project description
oxford-stats-lib
Example
clouds = pd.read_csv('https://raw.githubusercontent.com/jillxoreilly/StatsCourseBook_2025/main/data/cloudSeeding.csv')
test = HypothesisTest(clouds)
test.measuring_column('rainfall').query_on_column('status').set_datapoints('Unseeded', 'Seeded')
print(test.using_permutation().exec())
This yields:
H0: The difference in mean rainfall between group Unseeded and group Seeded is zero.
H1: The difference in mean rainfall between group Unseeded and group Seeded is two-sided than zero.
This is a two-sided (non-directional) alternative hypothesis.
Test statistic: difference in mean rainfall between group Unseeded and group Seeded (-277)
Alpha: 0.05
P-value: 0.052 (after 10000 permutations)
0.052 > 0.05.
There is insufficient evidence to reject the null hypothesis.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oxford_stats_lib-1.1.0.tar.gz.
File metadata
- Download URL: oxford_stats_lib-1.1.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
053c1818df265d0d3ddb394d299a00f11188140a57f072cbf23df1872ae1b8a0
|
|
| MD5 |
ce2ddc86de04111ed901aba2ab8bf4e0
|
|
| BLAKE2b-256 |
46cec53b5e9f968d39d43610bd962b5a0be4055dce3d2a05e6518989609ef317
|
File details
Details for the file oxford_stats_lib-1.1.0-py3-none-any.whl.
File metadata
- Download URL: oxford_stats_lib-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdc0af6a03f4d4b1262b1e46909502bd68fb65dfd479c1b0382aaf2697eb8dd3
|
|
| MD5 |
1d4887b33384c3c3bababe798c68beaa
|
|
| BLAKE2b-256 |
5b0ef0fd60daf12a6f467530d7ce35ebaa0dab1b4e9ab380ee92cf3556331c03
|