Community
Search Options
Search Options
Log in
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
AI and Data Science
Topic areas
AI and DS Skills
Decision Optimization
Embeddable AI
Global AI and Data Science
IBM Advanced Studies
SPSS Statistics
watsonx Assistant
Watson Discovery
User groups
Events
Upcoming AI Events
IBM TechXchange Webinars
All IBM TechXchange Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Data Science Users
All IBM TechXchange Community Users
Resources
IBM TechXchange Group
AI Learning
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
TechXchange Conference
IBM TechXchange Conference 2024
Marketplace
Marketplace
AI and Data Science
Master the art of data science.
Join now
Skip main navigation (Press Enter).
Toggle navigation
Search Options
SPSS Statistics
Group Navigator
View Only
Community Home
Discussion
8.9K
Library
313
Blogs
313
Events
0
Members
3.3K
Expand all
|
Collapse all
Help! Complex samples Cox regression (multiple rows per subject)
1.
Help! Complex samples Cox regression (multiple rows per subject)
0
Like
Kate Harros
Posted Wed March 31, 2021 12:34 PM
|
view attached
Reply
Options Dropdown
I am wondering whether anyone can help me. I need to run a Cox regression but my data has multiple rows per subject and therefore I think it needs to be a complex cox regression.
I would like to see which covariates (scores on test1- test20) contribute to whether an event occurs.
Event: 0= didn't occur, 1= did occur
Time to event: For those for which the event didn't occur I put the end of the study (120 months). If the event did occur then the time to event is be 12, 24, or 48 months.
I have found information online to suggest that I need to change the format first (maybe similar to wide => long). But I am struggling to understand what exactly to do because my dataset seems different to the ones with an example (page 274 on -
http://www.sussex.ac.uk/its/pdfs/SPSS_Complex_Samples_17.0.pdf
)
I have attached the first few rows of my dataset. I would really appreciate help with how to format the data and prepare the analysis plan.
Each subject had multiple visits (but they all had a different number- minimum 2, maximum 6).
Thanks in advance!
------------------------------
Kate Harros
------------------------------
#SPSSStatistics
Attachment(s)
Example for Cox regression.xlsx
11 KB
1 version
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
IBM Community Home
Browse
Discussions
Resources
Groups
Events
IBM TechXchange Conference 2023
IBM Community Webinars
All IBM Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Blogging on the Community
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Marketplace
Marketplace
AI and Data Science
Topic areas
AI and DS Skills
Decision Optimization
Embeddable AI
Global AI and Data Science
IBM Advanced Studies
SPSS Statistics
watsonx Assistant
Watson Discovery
User groups
Events
Upcoming AI Events
IBM TechXchange Webinars
All IBM TechXchange Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Data Science Users
All IBM TechXchange Community Users
Resources
IBM TechXchange Group
AI Learning
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
TechXchange Conference
IBM TechXchange Conference 2024
Marketplace
Marketplace
Copyright © 2019 IBM Data Science Community. All rights reserved.
Powered by Higher Logic