[R] question for Logic Regression

coldeyes.Rhelp coldeyes.rhelp at gmail.com
Mon May 19 05:13:12 CEST 2008


Hi All:

how to get the coefficient for logic regression using selection=2 ( fit 
multiple models) and type=3 ( logistic regression)
for example i have a fit like below :
fit<-logreg(resp = model.dat[,21], bin=model.dat[, 
2:18],sep=model.dat[,1] ,type=3,select=2,ntrees=2,nleaves=6 
,anneal.control=Annealing,tree.control=TreeControl)

i try to use  fit$coef  but i get nothing.

and i try to use eval.logreg to evaluate a validate data "model.dat2", 
but i cannot fit "model" class make below formula work
alltrees <- eval.logreg(fit$model , model.dat2)
 
could anyone enlighten me a little.
thanks
leo



More information about the R-help mailing list