Skip to main content

A personal package.

Project description

trevorfrench

trevorfrench does not currently have any dependencies.

:writing_hand: Author

Trevor French https://trevorfrench.com

:arrow_double_down: Installation

!pip install trevorfrench --upgrade

Functions:

stats.one_way_anova

stats.one_way_anova(*args)

  • *args: lists containing samples to analyze
from trevorfrench import stats as stats

list_1 = [6.9, 5.4, 5.8, 4.6, 4.0]
list_2 = [8.3, 6.8, 7.8, 9.2, 6.5]
list_3 = [8.0, 10.5, 8.1, 6.9, 9.3]

anova_table = stats.one_way_anova(list_1, list_2, list_3)
print(anova_table)

#RETURNS:

# {
#     'SST': 45.349333333333306
#     , 'SSE': 17.452000000000005
#     , 'SSR': 27.897333333333304
#     , 'df_treatment': 2
#     , 'df_error': 12
#     , 'df_total': 14
#     , 'MST': 13.948666666666652
#     , 'MSE': 1.4543333333333337
#     , 'F': 9.591107036442802
# }

ACTION LIST

  • Continue adding statistical methods

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

trevorfrench-0.0.3.tar.gz (17.4 kB view hashes)

Uploaded Source

Built Distribution

trevorfrench-0.0.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page