Learn R Programming

PReMiuM (version 3.2.13)

computeRatioOfVariance: computeRatioOfVariance

Description

Computes of the ratio between the variance of the extra variation and the total variance.

Usage

computeRatioOfVariance(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).

Arguments

This function can only be used when the extra variation is included in the response model.

runInfoObj

Object of type runInfoObj

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 <liveranis@gmail.com>

References

Silvia Liverani, David I. Hastie, Lamiae Azizi, Michail Papathomas, Sylvia Richardson (2015). PReMiuM: An R Package for Profile Regression Mixture Models Using Dirichlet Processes. Journal of Statistical Software, 64(7), 1-30. tools:::Rd_expr_doi("10.18637/jss.v064.i07").