[R] Getting Odds ratios for tree branches-CART model

Frank E Harrell Jr f.harrell at vanderbilt.edu
Thu Dec 4 14:50:12 CET 2008


jestinah mahachie wrote:
> Dear all,
> 
> 
> 
>> I have been using rpart to get trees. May someone help me with how I can do
>> some logistic regression modelling to derive odds ratios on the branches.
>> Also help on how to derive estimates on prediction error.
>>
>> --
>> Kind Regards,
>>
>> Jestinah

The odds ratios from rpart will be badly biased away from 1.0. 
Unbiasing them will be tricky.

Frank

>>
>>
>>
>> Home Address:
>> Brusselsepoortstraat 85
>> 9000
>> Gent
>> Belgium
>>
> 
> 
> 


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



More information about the R-help mailing list