image thumbnail


version (656 Bytes) by David Groppe
Computes a two-tailed p-value for a correlation coefficient and sample size n


Updated 08 Dec 2015

View License

Computes a two-tailed p-value for a Pearson's correlation coefficient derived from a particular sample size. Useful for getting p-values from reports that don't provide raw data values.

Cite As

David Groppe (2022). pFromR (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!