Displaying 8 results from an estimated 8 matches for "stcox".
2011 May 25
2
stepwise selection cox model
...<linda.porz@gmail.com>
Date: 2011/5/25
Subject: combined odds ratio
To: r-help@r-project.org
Cc: r-help-request@stat.math.ethz.ch
Dear all,
I am looking for an R function which does stepwise selection cox model in r
(delta chisq likelihood ratio test) similar to the stepwise, pe (0.05) lr:
stcox in STATA.
I am very thankful for any reply.
Regards,
Linda
[[alternative HTML version deleted]]
2009 May 18
1
discrepancies between stata and r for a cox regression
...ta I used (Stata)
Here are the codes for R
library(foreign)
leukemia<-read.dta("leukemia.dta")
library(survival)
res <- coxph(Surv(TIME, STATUS)~TREAT, data=leukemia)
summary(res)
and here the codes for for stata
use "leukemia.dta",clear
stset TIME, failure(STATUS==1)
stcox TREAT
SPSS and EPIinfo give the same HR than Stata
I tried with an other database without any problem
What would be the problem??? I changed of pc and versions of R (2.81 & 2.9.0) without any change. The means are the same for the two packages.
I saw a few posts with discrepancies but with...
2011 Oct 21
1
cph/nomogram Design/RMS package hazard ratio: interquartile vs per unit
Hello,
I am constructing a nomogram using cph and nomogram commands in Dr.
Harrell's Design/RMS package. The HR that I obtain for dichotomous and
categorical variables are identical to those that I obtain using STATA
stcox. However, the inter-quartile HR I obtain for continuous variables is
obviously different, since STATA gives me HR for each unit (year,
centimeter, etc) like coxph would give. My question is if this will effect
the output of the nomogram. I'm assuming that nomogram is constructed using
hazard be...
2012 Nov 07
2
R: net reclassification index after Cox survival analysis
Dear all,
I am interested to evaluate reclassification using net
reclassification improvement and Integrated Discrimination Index IDI after
survival analysis (Cox proportional hazards using stcox). I search a R
package or a R code that specifically addresses the categorical NRI for
time-to-event data in the presence of censored observation and, if
possible, at different follow-up time points.
I know that the ?PredictABEL? Package contains functions for NRI and IDI
calculation but it is uncl...
2011 Nov 20
1
Cox proportional hazards confidence intervals
...R and CIs from
coxph).
I can report the Wald p-values instead, but I have read that the Wald
test is inferior to the score test or LR test. My questions for
survival analysis jockeys out there / TT:
1. Should I just stop here and use the wald.p.value? This appears to
be what Stata does with the stcox function (albeit Breslow method).
2. Should I calculate HR and CIs that "agree" with the LR or logrank
P? How do I do that?
Thank you,
Paul
2004 May 10
1
Explaining Survival difference between Stata and R
...----------------------------------------------------
> --
21 obs. remaining, representing
21 failures in single record/single failure data
78 total analysis time at risk, at risk from t = 0
earliest observed entry t = 0
. stcox accessin haz_wst haz_in haz_out wefgov rle rqe pol_free
tai_2001 ny_gd eio, robust
> nohr
failure _d: ratify
analysis time _t: yrs2
Iteration 0: log pseudo-likelihood = -49.054959
Iteration 1: log pseudo-likelihood = -45.021682
Iteration 2: log pseudo-likelihood...
2010 Sep 08
4
coxph and ordinal variables?
...relative to the STATA output. This is tested across the different
approximations, with consistent results. The comparison using Efron
approximation and ordinal data is is below.
Your advice is very much appreciated!
Min-Han
Apologies below for the slightly malaligned output.
STATA output
. xi:stcox i.Hist_Grade_4grp, efr
i.Hist_Grade_~p _IHist_Grad_1-4 (naturally coded; _IHist_Grad_1
omitted)
failure _d: FFR_censor
analysis time _t: FFR_month
Iteration 0: log likelihood = -1133.369
Iteration 1: log likelihood = -1129.4686
Iteration 2: log likelihood = -1129.3196
Ite...
2011 May 25
0
combined odds ratio
Dear all,
I am looking for an R function which does stepwise selection cox model in r
(delta chisq likelihood ratio test) similar to the stepwise, pe (0.05) lr:
stcox in STATA.
I am very thankful for any reply.
Regards,
Linda
[[alternative HTML version deleted]]