Skip to content

abdullahbas/Survival

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SURVIVAL ANALYSIS

This is the code for survival analysis and it generates curves of survivals. -pretty ones

Scheme )

Break Into

INPUTS--This section have multiple values and they must be entered



  • Time of Survival --or follow up

  • Variable

survival(monthA,variable)



PARAMETERS--This section has 5 values and their usage is depend on demand

  • split -- default - unique --- survival(monthA,variable,'split','unique')
  • prcval-default-[25,75]-- survival(monthA,variable,'split','percentile','prcVal',[25 75])
  • znum-- default -1.96- survival(monthA,variable,'znum',1.96)
  • xlabel -- default -time-- survival(monthA,variable,'xlabel','Time')
  • ylabel -- default - survival-- survival(monthA,variable,'ylabel','Survival')

**General form -- survival(monthA,variable,'VarName','Value','VarName2','Value2')

surv1 surv2