summary.mdscore {mdscore} | R Documentation |
Summary methods for mdscore objects
Description
summary
methods for the mdscore
objects
Usage
## S3 method for class 'mdscore'
summary(object, ...)
Arguments
object |
object resulting from a run of the |
... |
not currently used |
Author(s)
Damiao N. da Silva damiao@ccet.ufrn.br
References
da Silva-Junior AHM, da Silva DN, Ferrari SLP (2014). mdscore: An R Package to Compute Improved Score Tests in Generalized Linear Models. Journal of Statistical Software, 61(2), 1-16., http://www.jstatsoft.org/v61/c02/
See Also
Examples
library(Sleuth3)
d <- transform(case1102, TLrat = Brain/Liver, Ltime = log(Time),
Lwrat = log((Weight + Loss)/Weight),
Treat = factor(Treatment == "BD",
labels=c("NS", "BD"))
)
fitf <- glm(TLrat ~ Ltime * Treat + Days + Sex + Lwrat
+ Tumor + Treat*Lwrat, data = d,
family = Gamma("log")
)
X <- model.matrix(fitf)
fit0 <- glm(TLrat ~ Ltime * Treat + Sex + Lwrat + Tumor + Days,
data=d, family=Gamma("log"))
test <- mdscore(fit0, X1=X[,9], phi=NULL)
summary(test)
[Package mdscore version 0.1-3 Index]