forward conditional Cox and logistic regression
1
0
Entering edit mode
@katleen-de-preter-1070
Last seen 8.8 years ago
Belgium
Hi, I would like to perform Cox proportional hazard survival analysis as well as logistic regression analysis in R. At this moment I'm using the SPSS program to do these analysis (forward or backward conditional, to build a model and to obtain the hazard ratios). However, it is unclear to me which package and commands I can use to do exactly the same in R? For Cox you can used coxph: however, it is unclear how you can do it with the forward conditional method? Is there a way to do it in R? And what with logistic regression? Thanks, Best regards, Katleen De Preter -- dr. ir. Katleen De Preter Center for Medical Genetics Ghent (CMGG) Ghent University Hospital Medical Research Building (MRB), 2nd floor, room 120.038 De Pintelaan 185, B-9000 Ghent, Belgium +32 9 332 5533 (phone) | +32 9 332 6549 (fax) http://medgen.ugent.be Katleen.DePreter at UGent.be
Genetics Regression Survival Genetics Regression Survival • 2.3k views
ADD COMMENT
0
Entering edit mode
Laurent Gautier ★ 2.3k
@laurent-gautier-29
Last seen 9.6 years ago
That's more an R question than a bioconductor question, I suppose. I am not extremely familiar with SPSS but I suspect that "forward conditional" means here "forward conditional selection" (and that's variable selection). stepAIC() in MASS should work with coxph. (a quick check on the mailing list archives seems to confirm it https://stat.ethz.ch/pipermail/r-help/2003-February/030075.html ) L. Katleen De Preter wrote: > Hi, > > I would like to perform Cox proportional hazard survival analysis as > well as logistic regression analysis in R. At this moment I'm using the > SPSS program to do these analysis (forward or backward conditional, to > build a model and to obtain the hazard ratios). However, it is unclear > to me which package and commands I can use to do exactly the same in R? > For Cox you can used coxph: however, it is unclear how you can do it > with the forward conditional method? > Is there a way to do it in R? And what with logistic regression? > > Thanks, > > Best regards, > > Katleen De Preter > -- - Laurent Gautier, Ph.D. Building 301, CBS - Technical University of Denmark DK-2800 Lyngby tel: +45 45 25 61 45
ADD COMMENT

Login before adding your answer.

Traffic: 842 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6