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

MAINT: changed stats.pointbiserialr to delegate to stats.pearsonr #5166

Merged
merged 1 commit into from
Aug 17, 2015

Conversation

aeklant
Copy link
Contributor

@aeklant aeklant commented Aug 17, 2015

Documentation notes were added (i.e. formulae and references)

closes gh-627

@aeklant
Copy link
Contributor Author

aeklant commented Aug 17, 2015

Changed to delegate to stats.pearsonr and made additions to the doc.

@rgommers ping.

@rgommers rgommers added scipy.stats maintenance Items related to regular maintenance tasks labels Aug 17, 2015
-----
For testing the hypothesis that the point-biserial correlation coefficient
is significantly different from zero, a t-test with n-2 degrees of freedom
should be used. Pearsonr is equivalent.
Copy link
Member

Choose a reason for hiding this comment

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

This looks like a suggestion to users to use a ttest_* function, while it tries to explain the algorithm, So I'd rephrase this as:

`pointbiserialr` uses a t-test with ``n-2`` degrees of freedom.
It is equivalent to `pearsonr`.

@rgommers
Copy link
Member

A few minor things in the Notes section, otherwise LGTM.

Documentation notes were added (i.e. formulae and references)

closes scipygh-627
@aeklant
Copy link
Contributor Author

aeklant commented Aug 17, 2015

Comments addressed.

@rgommers rgommers added this to the 0.17.0 milestone Aug 17, 2015
rgommers added a commit that referenced this pull request Aug 17, 2015
MAINT: changed `stats.pointbiserialr` to delegate to `stats.pearsonr`
@rgommers rgommers merged commit 55b25fb into scipy:master Aug 17, 2015
@rgommers
Copy link
Member

LGTM now, merged. Thanks @aeklant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.stats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Statistics Review: pointbiserialr (Trac #100)
2 participants