[R] More Logistic Regression Tools?

Eric Rescorla ekr at rtfm.com
Mon Oct 21 15:26:46 CEST 2002


I've been using R to do logistic regresssion, and that's working
well, but there are two things I haven't figured out how to do.

(1) Is there some pre-existing function that will let you compute the
    odds ratios and confidence intervals for them for a specific fit. I know
    how to do this manually or even write a function that I can call with
    the coefficients and se, but extending the printing function was a
    little more work than I expected.

    I.e. I'm looking for something where you'd type
    odds.ratios(fit)

    and get:

    Coefficient		Odds ratio	95%	CI
    XXX			5.2		1.5	7.2
    
    etc.

(2) I'd like to compute goodness-of-fit statistics for my fit
    (Hosmer-Lemeshow, Pearson, etc.). I didn't see a package that
    did this. Have I missed one?

Thanks,
-Ekr

    
    
  

	


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list