Calculate Prediction Interval for a Correlation Coefficient
calculate_prediction_interval.Rd
This function calculates the prediction interval for a correlation coefficient based on the Fisher's Z-transformation. It uses the approach proposed in the supplementary materials of Patil et al. (2016).
Value
A named numeric vector with two elements:
- lower
The lower bound of the prediction interval.
- upper
The upper bound of the prediction interval.
References
Patil, P., Peng, R. D., & Leek, J. T. (2016). A statistical framework for enhancing reproducibility in data analysis. Perspectives on Psychological Science, 11(5), 633-640. https://doi.org/10.1177/1745691616646366