Description Usage Arguments Details Value References Examples

Obtain confidence interval and point estimate of the within-subject coefficient of variation (WSCV).

1 2 | ```
agree.wscv(ratings, conf.level=0.95, method=c("vst", "delta"),
NAaction=c("fail", "omit"))
``` |

`ratings` |
a matrix of observations with one subject per row and one rater per column. |

`conf.level` |
confidence level of the interval. The default is 0.95. |

`method` |
a character string specifying the method used to obtain confidence interval of the WSCV. It must be one of "vst" and "delta" and may be abbreviated. The default is "vst". |

`NAaction` |
a character string specifying what should happen
when the data contain |

The point estimate is based on what proposed in Quan and Shih (1996). To obtain confidence interval, the methods available include the delta method proposed in Quan and Shih (1996) and the variance stabilizing transformation in Shoukri et al. (2006).

Point estimate of the WSCV and lower and upper bounds of the confidence interval.

Hui Quan and Weichung J. Shih (1996)
Assessing reproducibility by the within-subject coefficient of
variation with random effects models.
*Biometrics*
**52** 1195-1203

Mohamed M Shoukri, Nasser Elkum and Stephen D Walter (2006)
Interval estimation and optimal design for the within-subject
coefficient of variation for continuous and binary variables.
*BMC Medical Research Methodology*
**6** 24

1 2 |

```
Loading required package: miscF
Loading required package: MASS
Loading required package: R2jags
Loading required package: rjags
Loading required package: coda
Linked to JAGS 4.3.0
Loaded modules: basemod,bugs
Attaching package: ‘R2jags’
The following object is masked from ‘package:coda’:
traceplot
Loading required package: lme4
Loading required package: Matrix
$value
[1] 0.06560996
$lbound
[1] 0.04318953
$ubound
[1] 0.1187632
```

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.