All Questions
16 questions
0
votes
0
answers
43
views
Marginal structural model using PROC PHREG
I would like to fit a marginal structural model to account for treatment switching during follow-up.
I found a great paper on how to do this in R: https://www.sciencedirect.com/science/article/abs/pii/...
1
vote
0
answers
392
views
How does the "ZPH" option of PROC PHREG in SAS 9.4 works?
As I saw in SAS 9.4 documentation, the "ZPH" option in PROC PHREG statement requests diagnostics based on the weighted Schoenfeld residuals for checking ...
11
votes
1
answer
768
views
SAS and R produced different results for the same cox ph model on the same data
I have fitted a Cox ph model using both R 4.3.1 and SAS 9.4 with the same data. In SAS, I used Proc phreg, while coxph function ...
1
vote
1
answer
315
views
In SAS what is the difference of including treatment variable in model and using the strata statement for treatment variable?
Im building a Cox Regression in SAS. My code looks like this:
...
1
vote
1
answer
136
views
Reformat data problem for Cox model in SAS
I am relatively new to SAS. Currently I am taking survival analysis course, and I am really stuck on reformatting a data into 'counting process' (start, stop) form for fitting a Cox regression model ...
0
votes
1
answer
368
views
How to create KM curves with time-dependent covariate
Some patient received an treatment as treated group and some did not as control group. In order to consider "immortal time bias", I coded the treatment as a time-dependent covariate. Could ...
0
votes
0
answers
417
views
How to estimate the n-year Hazard Ratio from PROC PHREG
Dear SAS users in the CV community:
I am using the sample data publicly available at:
https://stats.idre.ucla.edu/wp-content/uploads/2016/02/whas500.sas7bdat
The tutorial is found here along with a ...
2
votes
2
answers
3k
views
Continuous vs Categorical covariate of interest in Cox Regression
I will use aliases throughout to explain my results in brief and a few questions that have propped up in the process.
Suppose I'm interested in the association of baseline measurement of blood ...
1
vote
1
answer
916
views
Survival analysis - time-dependent covariate with left truncation
I have some data on patients receiving pancreas transplants. Some of these patients have a procedure done post-transplant called enteric conversion, and I am looking at the effect of this conversion ...
1
vote
0
answers
259
views
Poor survival analysis model fit with Gronnesby and Borgan
I have been experiencing issues with model fit. In my example, I have set up a time-varying (counting method) survival analysis model (Cox regression with ...
0
votes
1
answer
817
views
Proportionality assumption test (SAS) for categorical predictors
For Cox regression with all categorical predictors, I want to model time-dependent covariates (time*cov in Proc PHREG) to ...
4
votes
1
answer
206
views
Psychometrics: Survival analysis of help seeking behaviors [closed]
Background:
I'm studying people seeking help. Participants described contacts with between 1 and 3 "responders" (e.g., friends, the police) in order- for example, a participant could have contacted ...
2
votes
0
answers
1k
views
Survival Analysis on Telecom Churn in R
I am working on Telecom Churn problem and here is my dataset.
http://www.sgi.com/tech/mlc/db/churn.data
Names - http://www.sgi.com/tech/mlc/db/churn.names
I'm new to survival analysis.Given the ...
4
votes
2
answers
5k
views
Objective test for proportionality assumption in Cox Regression Model (SAS)?
I was trying to fit Cox Regression (aka Proportional Hazard) model on some cancer data (N=2288). I got the following output from SAS proc phreg:
...
2
votes
0
answers
167
views
Survival Analysis--All variables failed the proportionality test. What next?
I am building a cox survival analysis model with a retailer's transaction data. Almost all the variables have failed the proportionality test. Can I continue with the Cox model? Should I build a ...
9
votes
2
answers
2k
views
Large scale Cox regression with R (Big Data)
I am trying to run a Cox regression on a sample 2,000,000 row dataset as follows using only R. This is a direct translation of a PHREG in SAS. The sample is representative of the structure of the ...