search for: statusind

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

Did you mean: statusinda
2006 Feb 01
1
glm-logistic on discrete-time methods with individual and aggregated data
...hing with weights is going on, but I did not manage to clearly understand. Hope that the following example will be more clear than my explanations, Thanks in advance, Carlo Giovanni Camarda rm(list = ls()) # working one timesIND <- c(rep(1:4, 3), 1, rep(1:2,2), rep(1:3 , 2), rep(1:4, 2)) statusIND <- c(rep(0 ,12), 1, rep(0:1,2), rep(c(0,0,1), 2), rep(c(0,0,0,1),2)) datiIND <- as.data.frame(cbind(timesIND, statusIND)) datiIND$timesIND <- as.factor(datiIND$timesIND) timesAGG <- c( 1:4, 1, 1:2, 1:3, 1:4) statusAGG <- c(rep(0,4), 1, 0:1, c(0,0,1), c(0,0,0,...