realdata_covariates: A data list of matrices containing covariates of cases and...

Description Usage Format Value Examples

Description

The list includes 10 matrices of covariates of cases and controls from different sources. Some of them need to impute the missing data, some of them need to estimate the variables even not missing to make sure the consistent format of input.

Usage

1

Format

A list of 10 matrices

Value

in the first case data which has complete cases:

  1. CASEZ_1=[1, Z_d, Z_t, Z_l]

  2. CASEZhat_1=[1, Z_d, \hat{Z}_t, Z_l]

in the second case data(CTR) which has missing lifestyle covariates:

  1. CASEZ_2=[1, Z_d, Z_t]

  2. CASEZhat_2=[1, Z_d, Z_t, \hat{Z}_l]

  3. CASEZhat_22=[1, Z_d, \hat{Z}_t, \hat{Z}_l]

in the 1st control data which has complete controls:

  1. CONTZ_1=[1, Z_d, Z_t, Z_l]

  2. CONTZhat_1=[1, Z_d, Z_t, \hat{Z}_l]

in the 2nd control data which has missing traffic covariates(BRFSS):

  1. CONTZ_2=[1, Z_d, Z_l]

  2. CONTZhat_2=[1, Z_d, \hat{Z}_t, Z_l]

  3. CONTZhat_22=[1, Z_d, \hat{Z}_t, \hat{Z}_l]

Examples

1
2
3
4
# For example of each matrix, type the command in R: attributes(realdata_covariates)
# to obtain names of 10 bulit-in matrices in the list:
# "CASEZ_1", "CASEZhat_1", "CASEZ_2", "CASEZhat_2", "CASEZhat_22", "CONTZ_1",
# "CONTZhat_1", "CONTZ_2", "CONTZhat_2", "CONTZhat_22".

SPPcomb documentation built on May 2, 2019, 3:29 p.m.