You are on page 1of 8
> brary (survival) > head(datasurv) #ATibbie: 6x3 str datasury) Classes “tb1df", ‘cb1' and "¢aca. rane” STINE seizs71iziozi Sstarus num lie. 5 eNATOKRIT: chr - > datasurv{with(datasurv,mewaroxierT—=1) ,) 4s tipple: 26 x3 TIME STATUS HEMATOKRIT able 6 oO i boo 1 48 0 1 5 4 4 i 6 2 oO i 7 1 oo 1 6 2 1 1 8 oat i wo 7 i foe with 16 more rows > datasurv[with(datasurv, HEMATOKRIT=<0),] watibble: 12 x3 FI < survFit(survCTIME, STATUS) ~ HENATOKRIT, data-datasury? > summary (Fit) Cail: survrit(Formula = Surv(TIME, STATUS) ~ HEATOKRIT, cata ~ datasurv) HewaToKRTT=0 ‘ime norisk neevent survival stderr Tower 95% Cz upper 95% cr 2a 3 g.833 01108 ‘Qe? 1-000 29 2 ol7a1 01429 0,526 1000 a7 y oleas oftaa 01402 000 5 6 201529. 1457 0.296 0.945 HERATOKRIT=1 ‘time nvrisk nevent survival stderr lower 95% Cz upper 95% cr 1 26 10.982 0.0377 0.890 1.000 2 25 2 01885 0.0027 0.770 4000 a 1 0188s 0.0715 ors 0.937 5 L olsot 0.0786 0,668 0.974 6 2 9.710 0.0935 01588 0. 7 43 2 ol6s5 oto ae Rm 4 1 04a 0.1608 0.259 0, 2 2 0 NaN NA > plot (Fit, Tey = 1:2) > Tograne’ <= SurvaiFf (Surv(TIME, STATUS) ~ HEVATOKRIT, dataadatasurv) > Jogrank cant? Survdiff(Formula = surv(TINe, STATUS) ~ HEMATOKRIT, data = datasurv) N Observed Expected (0-E)A2/E (O-E)A2/V HeNATOKRIT-0 42 3 4.26 0.1298 0.202 HENATORRETOL 26 alata loi, 01202 Chisqe 0.2 on 1 degrees of Freedom, p= 0.653 @ 5 Bite Sion Ol f Sr e 08 04 > Vbrary survival) > head(dacasury2) ble: x3 “Sebl> cers 1 ° ° 2 ° 1 3 1 i 4 o i 5 ° 3 5 1 ° > ser(datasury2) Classes ‘th1_of’, ‘tb1” and “daca. frame”: 38 obs. of 3 variables: STE: rum 861287112102 14 S starus : rum 0010010012... SS LEUKosuT: chr “oO” TA" "LL" ae > datasurv2 [with(datasury2,LeuKosIT==1) ,] fF atibbte: 10 x7 eabts dbl chr> a6 Oo i 2 a 4 i 7 88 i 4 2 0 1 er) 1 6 7 0 1 7 3 0 i e 7 0 i 9 3 4 i wo 5 O 1 J datasurv2 [with(datasurv2,LEUKOSTT=0) ,] Fa cibbte: 26x 3 ccbls edbls chr a we kewBwns with 18 nore rows > fit < survfte(survCrame, status) ~ Leurosir, data-dacasurv2) > summary (Fit) Call: Survie (Formula = Surv(TIMe, STATUS) ~ LEUKOSIT, data = datasurv2) LeukoszT-0 ine n.risk n.event survival std.err lower 95% CT upper 95% cr 128 10,964 0.0351 0.8979 11,000 2 7 4 01824 010724 ovesu1 01976 04 2 0.743 020840 0.5955 0.938 519 2 0.665 920915 0.5077 grt 6 48 2 01570. oL4001 0.4039 0,804 > 40 i ols olaast 0.3433 0.766 “3 2 O.a71 0.1439 0.0328 0.890 Leukoszr-a Tine norisk n.evert survival std.err Tower 95% CI upper 95% CI 3 1 o.99 “0.0989 0.732, 1 2 2 Zola ol32a7 ona a > plovcfit. Tey = 1:2) > Hoge ark <- Survaiff (surv(rEMe, STATUS) ~ HENATOKRET, data-datasurv) > logrank call: SurvisfF (Formula = Surv(TIME, STATUS) ~ HEWATOKRIT, data = datasury) N Observed Expected (0-E)A2/€ (0-E)*2/V ewaroxrrt=0 12 5 #26 0.1208 0,202 HeraronertoL 26 al alts Olona 0.202 yrees of Freedom, p= 0.653, > Togfank < survdifFesurv¢rame, status) — veuKosrr, daca-datasurv2) > logrank cart Survdif (Formula = Surv(TIME, STATUS) ~ LEUKOSIT, data = datasurv2) N observed expected (0-£)*2/e (0-E)A2/v Leukoszr-0 28 ea 76 0.498 3.78 Ceukaszr—t 10 2 8a aes 478 Chisq- 4.8 on 1 degrees of freedom, p- 0.181 © | Btu Sten Oe nau + © Vorary (survival) > head(éatasurv) SLeibbie: 63
cebl> chr ae 0 i 2 6 oO 2 30 4 i rrr 2 5 78 i 6 oi 4a 2 > str (eatasurv3) Classes “th1_of?, ‘tb1" and “daca. frame” 28 obs. of 2 variables: ‘STINE nim 8 6128711210218 .. S status! num OOLO010011..~ SS GULA oaRaKE Chr ML" "2" "A" "2" > surv. daeasurvs <- with@atasurv3, survcrame, staTUS)) > Surv, datasury3 Gy ee ena? ge 7. a azetoe 2 ue Te 2 4 Had 2 2 TI & 6 6 pa] $5) 03 10h 7 Se aoe Sho BY Th Gh De ESF > datasurv3[with(datasurv3 ,GULADaRét +a tiople: le x 3 dole sdb 18 1 2 ep 4 1 2 7 6 i a 7 0 i 5 a od 1 6 2 4 1 7 6 8 i 5s mo 1 os 4 1 wm 58 i uso 1 B28 1 Boos 4 i rr) i > datasurv3{with(daiasury3, cuLaDaRainn2),1 PR tibble: 24x 2 plot(rit, Wty = 1:2) > Togrank <- Survaiff (survCTIME, STATUS) ~ HEMATOKRIT, datacdatasurv) > Togrank eall? ‘Survasff (formula = Surv(TIME, STATUS) ~ HENATOKRIT, data = datasurv) N observed expected (0-£)92/e (O-Es2/v newaroxerr-o 12 5 4.26 0.1208 0.202 HEWATOKRTT=1 26 a2 aya oloara 01202 chisq- 0.2 on 4 degrees of Freedom, p= 0.653 > logranie <- survalitf(Surv(TIVE, STATUS) ~ LEUKOSIT, datasdatasurv2) > Togrank call F(Formula = surv(TIME, STATUS) ~ LEUKOSIT, data = datasurv2) N observed Expected (0-E)A2/E (O-E)A2/v Levxosr1=0 28 a in760.42e 4.79 Leukosrr1 10 2 ala Use i178 Chisq= 1.8 on 1 degrees of Freedom, p= 0.181 > TogFank <- survditFsurv¢rime, status) ~ cucaparan, data~dacasurv3) S lagranke eat Survdif (Formula = surv(Tame, STATUS) ~ GuLADaRMH, data = datasurv3) N observed expected (o-E)/2/E (0-E)A2/V GULADARAR2 24 ai allie 0100229 0.00852 cpisar © on 4 degrees of Freedom, p= 0,926 > Mbrary¢survival) > headccox) fe acibole: 6x7 eats 2 6 9 » 1 a 2 5 5 4 t 1 i 1 404 5 6 P 1 4 2 5 5 7 9 P > ° 1 6 6 1 0 t 1 ° 2 > strceox) Classes 'tb1at", ‘tb1” and ‘data-frane’: a8 obs. of 7 variables: sho Lesa ser 8910... Sime 851267112 190218... 5 staTus oo10010011 '§ HENATOKRIT cre an rn § Leunpszt vor va" "at "a" 5S GULADARAK spear oe > pshock<-surv(coxSTIME, coxSSTATUS) 5 modet ie coxph(Surv(TIVE , STATUS) -JENISKELAMIN, dataacox) S model cart: Coxph(Formuta = Surv¢TIME, STATUS) ~ 2ENISKELAMIN, data = cox) coef exp(coef) se(coet) 7p DENESKELAMENP 0,200 1.222 0,50? 0,39 0.69 Likelihood ratio test-0.26 on 2 oF, 20.694 = 38, number of events= 16 1 > moda12-<-coxph(survCTIme ,STATUS)-HENATOKRET, dat3-Cox) > model? cat: coxph(formula = SurvCTIME, STATUS) ~ HEMATOKRIT, data ~ cox) coef exp(coef) se(coet) 2p newatoxnert -0.193 0.825 0.548 -0.35 0.79 Likelihood ratio test-0.22 on 1 ef, p-0.729 ne 38, number of events= 16 5 mde13<" coxph CsurvCTiMe, STATUS) LEUKOSIT, dataecox) > model3 eall: coxph(Formula = surv(TINE, STATUS) ~ LEUKOSTT, data = cox) coef exp(coef) se(coef) zp Leukosrr: -05903 01370 "0.765 -1.3 0.19) Likelihood ratio test-2.1. on 2 df, p-0.147 fe 38, umber of events= 16 > mode ld<-coxph( Surv (TIME, STATUS)~cULADAAH, data=cox) 5 model cant: coxph(Formila = surv(TaME, STATUS) ~ GULADARAH, data = cox) coef exp(coef) se(coef) zp GULADARAH? -0.0881 -'0,9530 0.5612 -0.09 0.93 Likelihood ratio test~0.01 on 1 df, pH0.932 n= 38, number of events= 16 > mode'l<-caxph(Surv(TIME, STATUS) ~ENTSKELAVINSHENATOKRIT+LEUKOSTT=GULADARAH, data=cox) > model eal coxphCfornuta = survCTIVE, STATUS) ~ JENISKELANIN + HEMATOKRIT + LEUKOSIT + GULADARAM, ‘data = cox) coef exp(coef) se(coef) zp JENTSKELANINE 0.367 1.843 0.631 0,58 0.56 HERATORRETL 01257-1294 0,663 0.38 O.72 teueosrry 11080-01340. 01795 -2.36 0137 GULADARAH2 = “0.111 0.895. 0,580 0.19 0.85, Likelihood ratio test=2.45 on 4 df, p0.654 p= 38, number of events= 16

You might also like