Description Usage Arguments Value Examples

Correlation prediction interval

1 |

`r` |
Original study: Correlation |

`n` |
Original study: Sample size |

`rep.n` |
(optional) Replication study: Sample size. If not specified, n is used. |

`prob.level` |
(optional 0 to 1 value) Probability level desired (0 to 1). If not specified .95 (i.e., 95 percent) will be used. |

The prediction interval and related statistics in list format.

1 | ```
pi.r(r=.35,n=100,rep.n=200)
``` |

```
Original study: r = 0.35, N = 100, 95% CI[0.16, 0.51]
Replication study: N = 200
Prediction interval: 95% PI[0.13,0.56].
Interpretation:
The original correlation is 0.35 - with a prediction interval 95% PI[0.13, 0.56] based a replication sample size of N = 200. If the replication correlation differs from the original correlation only due to sampling error, there is a 95% chance the replication result will fall in this interval. If the replication correlation falls outside of this range, factors beyond sampling error are likely also responsible for the difference.
```

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.