
Last chance! 50% off unlimited learning
Sale ends in
"coef"(object, ...)
type = "continuous"
,
it is the estimation results for mean difference. For type = "binary"
,
it is for risk difference, log relative risk or log odds ration. For
type = "survival"
, it is for log hazard ratio.
Pan and Wolfe (1993), Tests for generalized problems of detecting qualitative interaction, Technical Report No. 526, Department of Statistics, The Ohio State University.
Pan and Wolfe (1997), Test for qualitative interaction of clinical significance, Statistics in Medicine, 16, 1645-1652.
print.qualint
, plot.qualint
ynorm <- rnorm(300)
trtment <- sample(c(0, 1), 300, prob = c(0.4, 0.6),
replace = TRUE)
subgrp <- sample(c(0, 1, 2), 300, prob = c(1/3, 1/3, 1/3),
replace = TRUE)
test1 <- qualint(ynorm, trtment, subgrp)
coef(test1)
Run the code above in your browser using DataLab