d_example_me: Hypothetical data with replicate measurements

Description Usage Format Examples

Description

Hypothetical data to be used in measurement error example.

Usage

1

Format

A list with 10 elements representing 500 observations from a control group and 500 observations from a treatment group:

y1

Primary outcome for treated observations.

s1

Surrogate marker for treated observations.

s1_rep1

Replicate measurement of the surrogate marker for treated observations.

s1_rep2

Replicate measurement of the surrogate marker for treated observations.

s1_rep3

Replicate measurement of the surrogate marker for treated observations.

y0

Primary outcome for control observations.

s0

Surrogate marker for control observations.

s0_rep1

Replicate measurement of the surrogate marker for control observations.

s0_rep2

Replicate measurement of the surrogate marker for control observations.

s0_rep3

Replicate measurement of the surrogate marker for control observations.

Examples

1
2

Rsurrogate documentation built on Nov. 14, 2021, 9:07 a.m.