Re: [R] Range in probabilities of a fitted lrm model (Y~X)

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Sat 16 Apr 2005 - 01:16:08 EST

Jan Verbesselt wrote:
> Dear R-list,
>
> Is there a function or technique by which the probability (or log odds)
> range of a logistic model (fit <- lrm(Y~X)) can be derived?

See documentation - type ?predict.lrm

probs <- predict(fit, type='fitted')

FH
>
> The aim is to obtain min & max of the estimated probabilities of Y.
>
> Could summary.Design() be used for that or is there another method/trick?
>
> Thanks,
> Jan
>
>
>
> _______________________________________________________________________
> ir. Jan Verbesselt
> Research Associate
> Lab of Geomatics Engineering K.U. Leuven
> Vital Decosterstraat 102. B-3000 Leuven Belgium
> Tel: +32-16-329750 Fax: +32-16-329760
> http://gloveg.kuleuven.ac.be/
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Apr 16 01:24:49 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:11 EST