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

MVP working #4

Merged
merged 7 commits into from
Sep 5, 2020
Merged

MVP working #4

merged 7 commits into from
Sep 5, 2020

Conversation

MartinHeroux
Copy link
Owner

I am pretty happy with the current state of the package.

I have some documentation and typehints to add, and also a bunch of tests. But I revised lots and added lots and the pliffy works as expected for a both paired (e.g. participants rated fatigue after running vs biking) and unpaired data (e.g. control group vs intervention group).

I have included a demo.py file that currently is for you and me to test that things work. You can change stuff like paired vs unpaired, colors, whether raw data is shown as points or lines for paired data, etc. I will expand this to have it run as pliffy.demo() so that new users can confirm it works on their system, and it can show off show of the options that are available.

@MartinHeroux MartinHeroux merged commit 82b8531 into master Sep 5, 2020
Copy link
Collaborator

@bbelderbos bbelderbos left a comment

Choose a reason for hiding this comment

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

LGTM

fontsize: int = 9

def __repr__(self):
return f'PliffyInfoABD(\n' \
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice discovery of __repr__

@@ -92,7 +92,7 @@ def test_paired_diff_mean_and_confidence_interval(pliffy_data_paired_short):


def test_paired_diffs(pliffy_data_paired_short):
actual = estimate._paired_diffs(pliffy_data_paired_short)
actual = estimate._calc_paired_diffs(pliffy_data_paired_short)
Copy link
Collaborator

Choose a reason for hiding this comment

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

yep better naming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants