data2: Simulated dataset 2

Description Usage Format Details

Description

In the simulated dataset 2, each subject has 1 to 5 measurement values from the new method and 10 to 15 measurement values from the reference method. Compared to the reference method, the new method has differential bias of -4 and proportional bias of 1.2. Variance of the new method is smaller than that for the reference method.

Usage

1

Format

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

Details

@format A data frame with three variables:

id

identification number for subjects

y1

values from the new measurement method

y2

values from the reference measurement method

Dataset 2 was created based on the following equations:

y_1ij=-4+1.2*x_i+ε_1ij, ε_1ij | x_i ~ N(0,1+0.1*x_i)^2)

y_2ij=x_i+ε_2ij, ε_1i | x_i ~ N(0,(2+0.2x_i)^2)

x_i~Uniform[10-40]

for i = 1, 2, …, 100, j=1,2,…,n_1i or n_2i and the number of repeated measurements for each subject i from the new and reference method was n_1i ~ Uniform[1-5] and n_2i ~ Uniform[10-15] respectively.


MethodCompare documentation built on Jan. 5, 2022, 9:06 a.m.