Computes of the ratio between the variance of the extra variation and the total variance.
Usage
computeRatioOfVariance(runInfoObj)
Arguments
runInfoObj
Object of type runInfoObj
Value
For each sweep this function outputs the ratio between the variance of the thetas' and the sum of the variances of the thetas' and the extra variation epsilon as described in Liverani et al. (2013).
Authors
David Hastie, Department of Epidemiology and Biostatistics, Imperial College London, UK
Silvia Liverani, Department of Epidemiology and Biostatistics, Imperial College London and MRC Biostatistics Unit, Cambridge, UK
Maintainer: Silvia Liverani
References
Liverani, S., Hastie, Azizi, L., D. I., Papathomas, M. and Richardson, S. (2013) PReMiuM: An R package for Bayesian profile regression. Submitted. Available at http://uk.arxiv.org/abs/1303.2836