Displaying 1 result from an estimated 1 matches for "geedat".
2004 Aug 18
1
Gee
...or(mode="numeric",100)
lny <- 10+2*Si-Si^2+eta
id <- vector(mode="numeric",100)
id <- (1:100)
cons <- vector(mode="numeric",100)
for(i in 1:100) {
cons[i] <- 1
}
Si2 <- vector(mode="numeric",100)
for(j in 1:100) {
Si2[j] <- Si[j]^2
}
geedat <- data.frame(Si=Si,Si2=Si2,lny=lny,id=id,cons=cons)
lnyhat <- gee(lny~cons+Si-Si2, id=id, data=geedat, na.action)
And I received the following error message:
[1] "Beginning Cgee S-function, @(#) geeformula.q 4.13
98/01/27"
Error in "[.data.frame"(structure(list(lny =...