Example SPSS syntax EN - pdmoerland/wiki-biostatistiek-bilingual GitHub Wiki

Example SPSS syntax

Deze pagina lezen in het Nederlands.

This page was translated from the Dutch-language original using AI and has not been fully reviewed. Where the two differ, the Dutch version takes precedence.

Graphically testing the proportional hazards assumption in a Cox proportional hazards model

Variables:

survt -> follow-up time per patient

status -> status (1=event, 0=censored)

treatment -> treatment (1=treatment A, 2=treatment B)

gender -> sex (m/f)

age -> age (continuous)

With the following syntax the PH assumption for the variable gender could be tested:

COXREG survt

/STATUS=status(1)

/STRATA=gender

/CONTRAST (treatment)=Indicator(1)

/METHOD=ENTER age treatment

/PLOT LML

/CRITERIA=PIN(.05) POUT(.10) ITERATE(20).


Finished reading? You can go to the Overview of all topics, or to Choosing a test for help picking a suitable test or analysis. Want to learn more about biostatistics? Then follow the AMC e-learning Practical Biostatistics. Did you find something on these pages that isn't correct? Does a link not work? Or would you like to contribute to the wiki? Then get in touch with us.

This biostatistics wiki is an initiative of the former statistics helpdesk of Amsterdam UMC, location AMC. Amsterdam UMC staff can request statistical support via intranet.