input_logreg: Input of Simulation Study PART II (logreg)

Description Usage Format Examples

Description

A dataset containing the 23 scenarios that are used to input the simulation study. The data generating mechanisms used in this study are:
age ~ U(18, 80)
na|age ~ N(4 + γ age, 1)
na_star|na ~ N(na, τ^2)
hypertension|na,age ~ Bin(1, 1/(1+exp(-p))), where p = -7 + β na + φ age

Usage

1

Format

A data frame with 23 rows and 10 variables:

scen_no

scenario no.

nobs

number of observations (sample size)

gamma

γ

nrep

number of replicates

tau_sq

τ^2

phi

φ

beta

estimand (0.1)

reliability

Var(na) / Var(na_star)

attenuation

Var(na|age) / Var(na_star|age)

Examples

1
data("input_logreg", package = "simexvsmecor")

LindaNab/simexvsmecor documentation built on Dec. 17, 2021, 1:09 a.m.