search for: time21

Displaying 6 results from an estimated 6 matches for "time21".

Did you mean: time2
2007 Oct 29
3
using survfit
...st11<-array(1,c(n2)) st12<-array(2,c(n2)) st21<-array(1,c(n2)) st22<-array(2,c(n2)) strata=matrix(c(st11,st12,st21,st22)) time11=array(rweibull(n2,a11,1)) time12=array(rweibull(n2,a11,1)) time21=array(rweibull(n2,a21,1)) time22=array(rweibull(n2,a22,1)) time=matrix(c(time11, time12, time21, time22)) censorTime=runif(n,0,3) m=cbind(treatgrp,strata,time,censorTime) colnames(m)=c(“treat”,”strata”,”time”,”censorTime”) act.surv.time<-pm...
2007 Oct 18
1
programming question
...st11<-array(1,c(n2)) st12<-array(2,c(n2)) st21<-array(1,c(n2)) st22<-array(2,c(n2)) strata=matrix(c(st11,st12,st21,st22)) time11=array(rweibull(n2,a11,1)) time12=array(rweibull(n2,a12,1)) time21=array(rweibull(n2,a21,1)) time22=array(rweibull(n2,a22,1)) time=matrix(c(time11, time12, time21, time22)) censorTime=runif(n,0,1) m=cbind(treatgrp,strata,time,censorTime) . colnames(m)=c(“treat”,”strata”,”time”,”censorTime”) act.surv.time<-...
2007 Oct 19
0
calculating power of log rank test
...st11<-array(1,c(n2)) st12<-array(2,c(n2)) st21<-array(1,c(n2)) st22<-array(2,c(n2)) strata=matrix(c(st11,st12,st21,st22)) time11=array(rweibull(n2,a11,1)) time12=array(rweibull(n2,a12,1)) time21=array(rweibull(n2,a21,1)) time22=array(rweibull(n2,a22,1)) time=matrix(c(time11, time12, time21, time22)) censorTime=runif(n,0,1) m=cbind(treatgrp,strata,time,censorTime) colnames(m)=c(?treat?,?strata?,?time?,?censorTime?)...
2008 Feb 14
0
help in simplyfiying programme
...1)) treatgrp=matrix(c(t1,t2)) st11<-array(1,c(n2)) st12<-array(2,c(n2)) st21<-array(1,c(n2)) st22<-array(2,c(n2)) strata=matrix(c(st11,st12,st21,st22)) time11=array(rweibull(20,1,1/12)) time12=array(rweibull(20,1,1/12)) time21=array(rweibull(30,1,0.25)) time22=array(rweibull(30,1,0.25)) time=matrix(c(time11, time12, time21, time22)) censorTime=runif(n,0,2) m=cbind(treatgrp,strata,time,censorTime) colnames(m)=c(“treat”,”strata”,”time”,”censorTime”) eventTime<-pmin(m[,"time"],m[,&qu...
2013 Jan 06
4
random effects model
Hi A.K Regarding my question on comparing normal/ obese/overweight with blood pressure change, I did finally as per the first suggestion of stacking the data and creating a normal category . This only gives me a obese not obese 14, but when I did with the wide format hoping to get a obese14,normal14,overweight 14 Vs hibp 21, i could not complete any of the models. This time I classified obese=1
2012 Dec 28
3
help with reshaping wide to long format
Hi, Sorry, but how did you bring it out? Thanks On Fri, Dec 28, 2012 at 8:48 AM, arun kirshna [via R] < ml-node+s789695n4654093h10@n4.nabble.com> wrote: > Hi, > bp.sub<- structure(list(CODEA = c(1L, 3L, 4L, 7L, 8L, 9L, 10L, 11L, 12L, > 13L, 14L, 16L, 17L), C45 = c(NA, 2L, 2L, 2L, 2L, 1L, NA, 1L, > 1L, 2L, 1L, 2L, 1L), ragek = c(3L, 3L, 3L, 4L, 4L, 3L, 3L, 3L, > 3L, 3L,