Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

149 add statistical tests #173

Merged
merged 14 commits into from
Oct 26, 2023
Merged

149 add statistical tests #173

merged 14 commits into from
Oct 26, 2023

Conversation

msorvoja
Copy link
Collaborator

@msorvoja msorvoja commented Aug 9, 2023

Adds the following computations and statistical hypothesis tests:

  • Compute correlation and covariance matrices
  • Test normality: Shapiro-Wilk and Anderson-Darling tests
  • Test independence: Chi-square test

It is assumed that missing values are handled before the function call and that any variable whose data type isn't float is a categorical variable.

@msorvoja msorvoja added enhancement New feature or request EDA Features related to EDA (exploratory data analysis) labels Aug 9, 2023
@msorvoja msorvoja added this to the EIS Toolkit beta version milestone Aug 9, 2023
@msorvoja msorvoja requested a review from nmaarnio August 9, 2023 06:52
@msorvoja msorvoja self-assigned this Aug 9, 2023
@msorvoja msorvoja linked an issue Aug 9, 2023 that may be closed by this pull request
Copy link
Collaborator

@nmaarnio nmaarnio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to add the .md file. My comments mainly concern input types as I am thinking in which way this function would the most convenient to use. Feel free to disagree.

eis_toolkit/statistical_analyses/statistical_testing.py Outdated Show resolved Hide resolved
eis_toolkit/statistical_analyses/statistical_testing.py Outdated Show resolved Hide resolved
eis_toolkit/statistical_analyses/statistical_testing.py Outdated Show resolved Hide resolved
@nmaarnio nmaarnio marked this pull request as ready for review October 23, 2023 10:45
@nmaarnio nmaarnio merged commit d6f4219 into master Oct 26, 2023
3 of 4 checks passed
@nmaarnio nmaarnio deleted the 149-add-statistical-tests branch October 26, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EDA Features related to EDA (exploratory data analysis) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add statistical tests
2 participants