jestinah mahachie
2008-Dec-04 09:56 UTC
[R] Getting Odds ratios for tree branches-CART model
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 > > > > Home Address: > Brusselsepoortstraat 85 > 9000 > Gent > Belgium >-- Kind Regards, Jestinah Home Address: Brusselsepoortstraat 85 9000 Gent Belgium [[alternative HTML version deleted]]
Frank E Harrell Jr
2008-Dec-04 13:50 UTC
[R] Getting Odds ratios for tree branches-CART model
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, >> >> JestinahThe 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