search for: dur1

Displaying 2 results from an estimated 2 matches for "dur1".

Did you mean: dur
2006 Apr 26
1
help using tapply
Dear R-mates, # Here's what I am trying to do. I have a dataset like this: id = c(rep(1,8), rep(2,8)) dur1 <- c( 17,18,19,18,24,19,24,24 ) est1 <- c( rep(1,5), rep(2,3) ) dur2 <- c(1,1,3,4,8,12,13,14) est2 <- rep(1,8) mydata = data.frame(id, estat=c(est1, est2), durat=c(dur1, dur2)) # I want to one have this: id = c(rep(1,8), rep(2,8)) dur1 <- c...
2008 Jan 16
1
exact method in coxph
I'm trying to estimate a cox proportional hazards regression for repeated events (in gap time) with time varying covariates. The dataset consists of just around 6000 observations (lines) (110 events). The (stylized) data look as follows: unit dur0 dur1 eventn event ongoing x 1 0 1 0 0 0 32.23 1 1 2 0 1 1 35.34 1 0 1 1 0 1 36.12 1 0 1 1 1 1 45.83 1 1 2 2 0 0...