Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/zero.r.test.second.R

`zero.r.test.second`

conducts a significance testing of a product moment correlation using published work.

1 | ```
zero.r.test.second(r, n, sig.level = 0.05, digits = 3)
``` |

`r` |
a numeric contains the product moment correlation |

`n` |
a numeric contains the sample size |

`sig.level` |
a numeric contains the significance level (default 0.05) |

`digits` |
the specified number of decimal places (default 3) |

This function conducts a significance testing of a product moment correlation using published work. Statistical power is calculated using the following specifications:

(a) small (*r = 0.10*), medium (*r = 0.30*), and large (*r = 0.50*) population effect sizes,
according to the interpretive guideline for effect sizes by Cohen (1992)

(b) sample size specified by `n`

(c) significance level specified by `sig.level`

The returned object of `zero.r.test`

contains the following components:

`correlation` |
returns a product moment correlation, its' approximate confidence interval for population correlation, and standard error |

`power` |
returns statistical power for detecting
small ( |

Yasuyuki Okumura

Department of Social Psychiatry,

National Institute of Mental Health,

National Center of Neurology and Psychiatry

yokumura@blue.zero.jp

Cohen J (1992) A power primer. Psychological Bulletin, 112, 155-159.

1 | ```
zero.r.test.second(r = 0.571, n = 9)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.