covariate plot syntax in coxreg

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

covariate plot syntax in coxreg

parisec
 
 
Hi all,
 
I'm running cox regression. A neat feature is the ability to plot the survival curves for different levels of covariates. So, rather than having to use the mean age in the plot, I can tell it to plot the curve for age 30 etc. I have done this through GUI and pasted the syntax. Now i would like to rerun the analysis for age 40 but the sytax for the plots is just: /PLOT SURVIVAL without showing the age  that I selected through the GUI.
 
Anyone know if this can be done through syntax or do i have to keep going back to the GUI and changing the level?
 
Thanks
Carol
 
 
Reply | Threaded
Open this post in threaded view
|

Re: covariate plot syntax in coxreg

David Marso
Administrator
Please post the syntax generated by the GUI?
When I go in and paste syntax I get something like:
COXREG
  time_var  /STATUS=oops(1)
  /PATTERN age(30)
  /METHOD=ENTER z
  /PLOT SURVIVAL
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) .
Perhaps /PATTERN age(30) might have something to do with controlling the PLOT ;-)

parisec wrote
Hi all,

I'm running cox regression. A neat feature is the ability to plot the survival curves for different levels of covariates. So, rather than having to use the mean age in the plot, I can tell it to plot the curve for age 30 etc. I have done this through GUI and pasted the syntax. Now i would like to rerun the analysis for age 40 but the sytax for the plots is just: /PLOT SURVIVAL without showing the age  that I selected through the GUI.

Anyone know if this can be done through syntax or do i have to keep going back to the GUI and changing the level?

Thanks
Carol
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Automatic reply: covariate plot syntax in coxreg

MICHAEL J TONER

 

Hello,

 

I will be out of the office on Friday, April 6, 2012.

 

If you are a graduate applicant and have a question about the status of your submitted application, please contact the department to which you applied. They have your application file and know the status of your application.

 

If you are having an issue with the online application system, please contact our Help Desk ([hidden email]).

 

Best,

 

Michael Toner

 

Reply | Threaded
Open this post in threaded view
|

Re: covariate plot syntax in coxreg

parisec
In reply to this post by David Marso
aggh! i guess it's time for coffee. i had some strange idea that this should show up under  /PLOT since this is where i changed this in the GUI.

sorry


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of David Marso
Sent: Thursday, April 05, 2012 3:23 PM
To: [hidden email]
Subject: Re: covariate plot syntax in coxreg

Please post the syntax generated by the GUI?
When I go in and paste syntax I get something like:
COXREG
  time_var  /STATUS=oops(1)
  /PATTERN age(30)
  /METHOD=ENTER z
  /PLOT SURVIVAL
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) .
Perhaps /PATTERN age(30) might have something to do with controlling the PLOT ;-)


parisec wrote

>
> Hi all,
>
> I'm running cox regression. A neat feature is the ability to plot the
> survival curves for different levels of covariates. So, rather than
> having to use the mean age in the plot, I can tell it to plot the
> curve for age 30 etc. I have done this through GUI and pasted the
> syntax. Now i would like to rerun the analysis for age 40 but the sytax for the plots is just:
> /PLOT SURVIVAL without showing the age  that I selected through the GUI.
>
> Anyone know if this can be done through syntax or do i have to keep
> going back to the GUI and changing the level?
>
> Thanks
> Carol
>


--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/covariate-plot-syntax-in-coxreg-tp5621556p5621628.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD