Ask Your Question
3

Can you run an SPSS query to obtain HRs for a time-dependent covariate at various periods of follow-up?

asked 2023-06-06 07:56:20 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-06 07:58:02 +0000

pufferfish gravatar image

Yes, you can run an SPSS query to obtain HRs for a time-dependent covariate at various periods of follow-up using Cox regression analysis.

Here are the steps to perform this analysis:

  1. Open your dataset in SPSS and navigate to the "Analyze" tab.

  2. From the dropdown menu, select "Survival" > "Cox Regression".

  3. In the "Cox Regression" window, select the variable you want to use as the time-dependent covariate under the "Covariates" section.

  4. In the "Survival Time" section, select the variable representing the time to event (e.g., time to death, time to disease recurrence, etc.).

  5. Under the "Options" tab, select "Strata" and choose a variable that you want to stratify on, if applicable.

  6. Click "OK" to run the Cox regression analysis.

  7. The output will provide the hazard ratios (HRs) for the time-dependent covariate at various time points, as well as the overall HR.

NOTE: It is important to specify the time-dependent nature of the covariate by using the "Enter Time-dependent Covariates" option in the "Cox Regression" window. This will allow SPSS to appropriately account for changes in the covariate over time.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-06 07:56:20 +0000

Seen: 18 times

Last updated: Jun 06 '23