Description Usage Arguments Details Value

Compute confidence intervals for the intraclass correlation of a model
fit of class `merMod-class`

.

1 | ```
prof_ci_icc(x, level = 0.95, eps_max = 1e+06)
``` |

`x` |
A fitted merMod object from |

`level` |
Confidence level between 0 and 1. Default is .95. |

`eps_max` |
The maximum value that the upper limit can be. Default is 1e6. |

This function uses the `uniroot`

function and determine
the lower and upper limit by evaluating the profile deviance (for ML) or the
-2 profile REML criterion. It works by obtaining the interval for
*θ = τ / σ* and transforming the two limits.

The resulting interval is bounded by zero for its lower limit.

A named numeric vector with two values showing the lower and upper limit of the intraclass correlation.

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.