Learn R Programming

rpsychi (version 0.3)

power.r: Statistical power for the significance testing of a product moment correlation

Description

This is an internal function. power.r computes power for the significance of a product moment correlation.

Usage

power.r(n, delta, sig.level = 0.05)

Arguments

n
sample size
delta
population correlation
sig.level
a numeric contains the significance level (default 0.05)

Value

  • Return a numeric containing the statistical power.

encoding

UTF-8

References

Cohen J (1988). Statistical power analysis for the behavioral sciences (2nd ed). Hillsdale, NJ: Erlbaum.

Examples

Run this code
##Cohen (1988) ex.3.1
power.r(n=50, delta=0.3, sig.level=0.05)

Run the code above in your browser using DataLab