boot.dbicc: Bootstrap Confidence intervals for dbICC (internal)

Description Usage Arguments Value Author(s) See Also

View source: R/boot.dbicc.R

Description

Nonparametric bootstrapping can be used to construct confidence intervals for the Distance-based Intraclass Correlation Coefficient (dbICC) based on samples of the subjects with replacement.

Usage

1
boot.dbicc(dmat, nsub, nmea, bootsamp, adhoc = FALSE)

Arguments

dmat

A distance matrix or an object of dist, of dimension sum(nmea)*sum(nmea). Note that the structure of the distance matrix, with the rows or columns is grouped by subjects or individuals. The details refer to Figure 1 of Xu el at., 2020.

nsub

Number of subject or individual.

nmea

A vector containing number of the measurement for each subject or individual; if nmea is a scalar, it means each subject shares the same number of the measurement.

bootsamp

A sample with replacement.

adhoc

A logical variable, whether to apply the ad hoc correction when estimating the dbICC from a bootstrap sample. Default is FALSE.

Value

A scalar, giving the dbICC value

Author(s)

Meng Xu mxu@campus.haifa.ac.il, Philip Reiss

See Also

plotdmat,dm2icc


wtagr/dbicc documentation built on April 8, 2020, 7:18 p.m.