Hi Viola,
Thanks for the information. I tried this on version 29.0.0 for Windows and I could not reproduce the problem. I do however have an idea about what may be happening:
The way the field choosers for Statistics dialog boxes work is that the "Move it" buttons change their direction and enablement based upon whether the source list or one of the target lists last had the input focus. If after using a "Move it" button you find that the other "Move it" buttons are disabled, it is because the current input focus has been set to the target list.
The way to reenable the other buttons and change their direction is to place focus back onto the source variable list. That can be accomplished either by clicking on the source list with the mouse or by using the tab or shift+tab keys to use the keyboard to navigate back to the source variable list.
Statistics works this way so that a single button can be used for each target list, and so users can easily move variables in to and out of variable target lists.
Best,
------------------------------
Curtis Browning
SPSS Statistics Architect
------------------------------
Original Message:
Sent: Tue September 05, 2023 06:14 AM
From: Viola E
Subject: Cox Regression Syntax
Hello Curtis,
thanks for the answer and the help with the syntax.
I'm using version 29.0.0 on Windows. It worked well at the beginning but from one moment to another, the drop down menu didn't work properly anymore.
Do you have any idea why this happened?
Best, Viola
------------------------------
Viola E
Original Message:
Sent: Mon August 28, 2023 10:12 AM
From: Curtis Browning
Subject: Cox Regression Syntax
Hello Viola,
That is strange that you cannot get the Cox Regression UI to work. I am using version 29.0.1 on MacOS and it works well.
Some questions:
- Are you using Windows or MacOS?
- what version of SPSS Statistics are you using?
The best way to learn the correct syntax for a command is via the Command Syntax Reference, which is a guide file you can access from the Help menu in Statistics.
Here's an example Cox Regression using multiple covariates with the Employee Data sample data file:
COXREG bdate
/STATUS=educ(7)
/METHOD=ENTER salbegin
/METHOD=FSTEP(WALD) prevexp
/METHOD=FSTEP(COND) jobtime
/CRITERIA=PIN(.05) POUT(.10) ITERATE(20).
HTH,
------------------------------
Curtis Browning
SPSS Statistics Architect
Original Message:
Sent: Fri August 25, 2023 05:05 AM
From: Viola E
Subject: Cox Regression Syntax
Hello,
my drop down menu for Cox Regression doesn't work anymore (I can only enter time OR status OR covariates, after entering one thing, the arrow signs turn grey and I can't do anything anymore) but using Syntax, the commands work.
Unfortunately, I don't know the syntax for entering covariates in different blocks.
Can anybody tell me the syntax which is needed?
Thanks a lot!
------------------------------
Viola E
------------------------------