data3: Simulated dataset 3

data3R Documentation

Simulated dataset 3

Description

In the simulated dataset 3, each subject has 10 to 20 measurement values from the new method and 10 to 20 measurement values from the reference method. Compared to the reference method, the new method has differential bias of 1 and proportional bias of 0.9. Variance of the new method is smaller than that for the reference method.

Usage

data3

Format

data3

An object of class data.frame with 1682 rows and 3 columns

Details

A data frame with 3 variables:

id

identification number for subjects

y1

values from the new measuremment method

y2

values from the reference method

Dataset 1 was created based on the following equations:

y_{1i}=1+0.9x_i+\varepsilon_{1i},\quad \varepsilon_{1i} \mid x_i \sim N(0,(1+0.04x_i)^2)

y_{2i}=x_i+\varepsilon_{2i},\quad \varepsilon_{2i} \mid x_i \sim N(0,(1.75+0.08x_i)^2)

x_i\sim Uniform[20-100]

for i=1,\ldots,100 and the number of repeated measurements for each subject i from the reference standard was n_{2i} \sim Uniform[10,20] and n_{1i} \sim Uniform[10,20] for the new measurement method.


MethodCompare documentation built on Sept. 11, 2024, 5:07 p.m.