Displaying 1 result from an estimated 1 matches for "gpattend".
Did you mean:
attend
2005 Jun 21
2
Problem trying to use boot and lme together
...News 2/3
December 2002
after loading the dataset I source this file
====================================================
require(boot)
require(nlme)
model.0 <- lme(tot ~ time + timepost + pct + totpat
+ (time + timepost) : single + single
+ (time + timepost) : train + train
+ time:gpattend + timepost:gpattend + gpattend,
data = common,
random = ~time + timepost | gp
)
ints.9 <- intervals(model.0, which="fixed")$fixed[9,]
#
common$fit <- fitted(model.0)
common$res <- resid(model.0, type = "response")
cats.fit <- function(data) {
mod <- lm...