Skip to content

jcrdubois/CorrPower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CorrPower

Matlab & Python functions to calculate power for a correlation analysis The calculation are based on parametric statistics to compute power given an expected correlation and a criterion for significance.

Python

See example notebook Python/plot_pearson_analytical_power.ipynb Requires: numpy, scipy, matplotlib

Matlab

To plot curves of power vs. sample size given an expected correlation rho, use

power = plot_pearson_analytical_power(rho);

Enjoy!

example_output

About

Matlab and Python code to calculate power for a correlation analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors