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

Correct stats for R^2 #37

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Conversation

lanery
Copy link
Collaborator

@lanery lanery commented Nov 5, 2024

This PR makes corrections to the regression analysis in notebook 2: notebooks/2_temporal-variation-in-motility-metrics.ipynb. In particular, the following changes were made:

  • Regression analysis now reports both the (Pearson) correlation coefficient as well as R^2 (coefficient of determination).
    A section at the end of the notebook was added to explain how to interpret the regression analysis results.
  • The visualization (Figure 4 in the pub) was corrected to show the regression for confinement ratio, mean curvilinear speed, and max sprint length.
  • The CSV file results/figure-4_regression_stats.csv (Supplemental Table of the pub) was updated accordingly.

PR checklist

  • Describe the changes you've made.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@lanery lanery requested a review from taraeb November 5, 2024 20:04
Copy link

@taraeb taraeb left a comment

Choose a reason for hiding this comment

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

looks good

@taraeb taraeb merged commit 9dba056 into main Nov 5, 2024
1 check passed
@lanery lanery deleted the rl/corrections-for-regression-analysis branch November 5, 2024 20:57
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