/*********************************************** This program generates dataset surgery, dealing with complications following surgery *******************************************/ FILENAME surgery URL "http://staff.pubhealth.ku.dk/~linearpredictors/datafiles/Surgery.csv"; PROC FORMAT; VALUE surgtypef 1 = "Orthopedic" 2 = "Gynecological" 3 = "Abdominal"; VALUE blockingf 1 = "Pancuronium" 2 = "Vecuronium" 3 = "Atracurium"; VALUE longactf 0 = "No" 1 = "Yes"; RUN; DATA surgery; INFILE surgery DLM=';' FIRSTOBS=2; INPUT age surgtype blocking longact duration tofratio complication; FORMAT surgtype surgtypef. ; FORMAT blocking blockingf. ; FORMAT longact longactf. ; LABEL surgtype = "Type of Surgery" blocking = "Blocking agent" longact="Long acting drug"; RUN;