Bumped by Community user
    Bumped by Community user
    Bumped by Community user
2 formatting, tags
source | link

I need to use survdiffthe survdiff function to statistically compare (using log-rank test) the following survival functions  : 
(1) Male (Sex=1) and Female (Sex=2) 
(2) Patients <= 65 years-old and Patients > 65 years-old 

I used the following command

Male<-survdiff(Surv(time,Status)~sex==1,data=myeloma) Female<-survdiff(Surv(time,Status)~sex==2,data=myeloma)

Male <- survdiff(Surv(time,Status)~sex==1,data=myeloma)
Female <- survdiff(Surv(time,Status)~sex==2,data=myeloma)

is that correct ?

I need to use survdiff function to statistically compare (using log-rank test) the following survival functions  : (1) Male (Sex=1) and Female (Sex=2) (2) Patients <= 65 years-old and Patients > 65 years-old

I used the following command

Male<-survdiff(Surv(time,Status)~sex==1,data=myeloma) Female<-survdiff(Surv(time,Status)~sex==2,data=myeloma)

is that correct ?

I need to use the survdiff function to statistically compare (using log-rank test) the following survival functions: 
(1) Male (Sex=1) and Female (Sex=2) 
(2) Patients <= 65 years-old and Patients > 65 years-old 

I used the following command

Male <- survdiff(Surv(time,Status)~sex==1,data=myeloma)
Female <- survdiff(Surv(time,Status)~sex==2,data=myeloma)

is that correct ?

1
source | link

log-rank test in R

I need to use survdiff function to statistically compare (using log-rank test) the following survival functions : (1) Male (Sex=1) and Female (Sex=2) (2) Patients <= 65 years-old and Patients > 65 years-old

I used the following command

Male<-survdiff(Surv(time,Status)~sex==1,data=myeloma) Female<-survdiff(Surv(time,Status)~sex==2,data=myeloma)

is that correct ?