Description Usage Arguments Details Value Author(s) References

View source: R/corrected.var.R

This function calculates variance corrected for non-independence of *k*-fold iterations. See Appendix of Shcheglovitova & Anderson (2013) and other references (Miller 1974; Parr 1985; Shao and Wu 1989) for additional details.

1 | ```
corrected.var(x, nk)
``` |

`x` |
A numeric vector. |

`nk` |
Number of |

This function calculates variance that is corrected for the non-independence of *k* cross-validation iterations. Following Shao and Wu (1989):

*Sum Of Squares * ((n-1)/n)*

where *n* = the number of *k*-fold iterations.

A numeric value of the corrected variance.

Robert Muscarella <bob.muscarella@gmail.com>

Miller, R. G. (1974) The jackknife - a review. *Biometrika*, **61**: 1-15.

Parr, W. C. (1985) Jackknifing differentiable statistical functionals. *Journal of the Royal Statistics Society, Series B*, **47**: 56-66.

Shao J. and Wu, C. F. J. (1989) A general theory for jackknife variance estimation. *Annals of Statistics*, **17**: 1176-1197.

Shcheglovitova, M. and Anderson, R. P. (2013) Estimating optimal complexity for ecological niche models: a jackknife approach for species with small sample sizes. *Ecological Modelling*, **269**: 9-17.

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.