Skip to content
Prev 284325 / 398502 Next

glht (multicomparisons) with a binomial response variable

Making sure you have the most recent version of rms, try
require(rms)
dd <- datadist(catroj, month); options(datadist='dd')
f <- lrm(catroj ~ month)
contrast(f, list(month=2:12), list(month=1), conf.type='simultaneous')

The actual coding will depend on how month is defined.  The contrast above
contrasts January with all other months, with simultaneous confidence
intervals provided by glht.
Frank

gaiarrido wrote
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/glht-multicomparisons-with-a-binomial-response-variable-tp4360898p4361171.html
Sent from the R help mailing list archive at Nabble.com.