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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to