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

Frank E Harrell Jr f.harrell at vanderbilt.edu
Fri Apr 15 17:16:08 CEST 2005


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 at 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




More information about the R-help mailing list