search for: statusinda

Displaying 1 result from an estimated 1 matches for "statusinda".

2006 Feb 01
1
glm-logistic on discrete-time methods with individual and aggregated data
...htAGG)) datiAGG$timesAGG <- as.factor(datiAGG$timesAGG) coef(glm(statusIND ~ timesIND, family=binomial, data=datiIND)) coef(glm(statusAGG ~ timesAGG, family=binomial, data=datiAGG, weights=weightAGG)) # not working one timesINDa <- c(rep(1:4, 4), rep(1:2,2), rep(1:3 , 2), rep(1:4, 2)) statusINDa <- c(rep(0 ,16), rep(0:1,2), rep(c(0,0,1), 2), rep(c(0,0,0,1),2)) datiINDa <- as.data.frame(cbind(timesINDa, statusINDa)) datiINDa$timesINDa <- as.factor(datiINDa$timesINDa) timesAGGa <- c( 1:4, 1:2, 1:3, 1:4) statusAGGa <- c(rep(0,4), 0:1, c(0,0,1), c(0,0,0,1...