trace: trace data

traceR Documentation

trace data

Description

These data are from screening to the TRACE study, a comparison between the angiotensin converting enzyme inhibitor trandolapril and placebo ford large myocardial infarctions. A total of 6676 patients were screened for the study. Survival has been followed for the screened population for 16 years. The current data has been prepared for a poisson regression to examine survival. The data has been "split" in 0.5 year intervals (plitLexis function from Epi package) and then collapsed on all variables (aggregate function).

Format

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

Time

Time after myocardial infarction, in 6 months intervals

smoking

Smoking status. A factor with levels (Never, Current, Previous)

sex

A factor with levels (Female, Male)

age

Age in years at the time of myocardial infarction

ObsTime

Cumulative risk time in each split

dead

Count of deaths

References

Kober et al 1995 Am. J. Cardiol 76,1-5

Examples


data(trace)
Units(trace,list("age"="years"))
fit <- glm(dead ~ smoking+sex+age+Time+offset(log(ObsTime)), family="poisson",data=trace)
rtf <- regressionTable(fit,factor.reference = "inline")
summary(rtf)
publish(fit)


Publish documentation built on Jan. 18, 2023, 1:08 a.m.