pnmtrem1.sim.data1: A portion of a simulated dataset, for the baseline time point...

Description Usage Format Details Examples

Description

The dataset includes randomly generated bivariate longitudinal binary responses and an associated covariate which has a standard uniform distribution, U(0,1). The assumed parameters to generate the data are: β^*=(β_0^*, β_1^*) = (-1, 1.9), λ_j=(λ_1^*, λ_2^*)=(1, 1.07) and b_{i1} \sim N(0,σ_1^2), σ_1=0.7. It is assumed that there are 500 subjects. The data include no missing value.

Usage

1

Format

A data frame with 1000 observations on the following 6 variables.

time

a numeric vector for the time information at which data is available

response

a numeric vector with the response information for which data is available

subject

a numeric vector for subject id

y

a numeric vector for bivariate longitudinal binary responses

ones

a numeric vector for which all the elements are 1

x

a numeric vector for the covariate

Details

When one carefully investigates the time, response and subject orders, s/he can easily understand the data structure which the model accepts. Baseline and later time points of the data may include different number of independent variables. Therefore, datasets for t=1 and t ≥q 2 are presented in different data objects, pnmtrem1.sim.data1 and pnmtrem1.sim.data2, respectively.

Examples

1
2
3

pnmtrem documentation built on May 1, 2019, 8:50 p.m.