The term Cox regression model (omitting proportional hazards) is sometimes used to describe the extension of the Cox model to include time-dependent factors. However, this usage is potentially ambiguous since the Cox proportional hazards model can itself be described as a regression model.
Questions tagged [cox-regression]
476 questions
0
votes
1 answer
intcox() output without likelihood ratio test
I'm doing survival analysis with interval-cesored data and I'm using intcox() function from the intcox package in R, which is based on the coxph function.
The function returns the output without likelihood ratio test values:
>…

JMarcelino
- 904
- 4
- 13
- 30
0
votes
1 answer
Forward procedure with coxme object (R)
I'm working on heart-transplant data for which I have to build a Cox mixed model in R. As it is designed for this purpose, I chose to use the coxme package but I'm having much trouble to select my model. I want to use a forward procedure but it is…

Vincent
- 955
- 2
- 15
- 32
0
votes
2 answers
extract AIC from coxme object (R)
I'm using the package coxme and I want to extract the AIC from models, in order to select the best one.
1) I didn't found how to do this directly and I think this is not possible without changing the function coxme()'s code but I would be very happy…

Vincent
- 955
- 2
- 15
- 32
0
votes
1 answer
Time series forecasting of price of financial instrument
I am working with a financial instrument's intraday time series data. I have to predict the price of a financial instrument on the basis of some statistical parameters(Var1, Var2, Var3) and of time series intraday(Obeserv.1,…

Rathankunu
- 45
- 2
- 7
0
votes
1 answer
How to access cox.zph components
I would like to use the P value of cox.zph in a Sweave document, something like this:
<>=
campo = campos[1]
m1=coxph(Surv(TimeVar,EventVar)~Factor)
z=cox.zph(m1)
….
@
If I assign to an object print(cox.zph(m1)):
temp =…

user2310909
- 116
- 8
0
votes
1 answer
generate data table of "coxph" object in a similar way as for "survfit" object
When I use summary() for a survfit object, I get a nice data.frame with columns for
time n.risk n.event survival std.err lower 95% CI upper 95% CI
But summary() on a coxph object gives a different result. I realize functions work differently on…

Tom
- 4,860
- 7
- 43
- 55
-1
votes
1 answer
riskRegression() function: confusing examples in R package riskRegression vignette
I am having trouble interpreting the riskRegression() function in the R package riskRegression:
https://cran.r-project.org/web/packages/riskRegression/riskRegression.pdf
I looked over the examples under this function in the package vignette, but…

user167591
- 121
- 5
-1
votes
1 answer
How to calculate X-year survival probability from a cox regression of random survival forest in R
I want to build a survival model then calculate the X-year (e.g. 10-year) risk of survival.
Is there a way to do this using coxph or survreg? Is this possible using random survival forest (e.g. ranger)?
P.S. not sure if important but data is wide…

Adam Waring
- 1,158
- 8
- 20
-1
votes
1 answer
Residuals.cph error "you must specify x=TRUE in the fit"
I am trying to analyze graphs showing deviance residuals for my covariates. I have created this cox model named res.cox1 as shown in the code below and then proceed to use the residuals.cph function. Turns out, I keep getting the error:
Error in…

Hakim
- 1
- 2
-1
votes
1 answer
using an R modelled regression in python
My data was modelled with a Cox-regression, using R, however I would like to use this model into a python GUI. As my knowledge of R is very limited. This way non-coders would be able to 'predict' survival rates based on our model.
What is the best…

Laurens
- 19
- 2
-1
votes
1 answer
Coding model developed in Proc PHREG
I have developed a COX model using SAS proc phreg procedure. I know how to score using the covariate using the proc procedure. How do I translate the model to simple sas code?
thanks.

Zenvega
- 1,974
- 9
- 28
- 45