Re: [R] question for Logic Regression

2008-05-19 Thread coldeyes
thanks for you response, i try predict command, it is doesn't work. i list a simulate code below: X <- matrix(as.numeric(runif(400) < 0.5), 50,8) colnames(X) <- paste("X", 1:ncol(X), sep="") rownames(X) <- paste("case", 1:nrow(X), sep="") # Define expected result: Y = (NOT X2) AND X6 Y <- as.

[R] How to get confidence interval and coefficient in Logic Regression

2008-05-19 Thread coldeyes Liao
sorry to bother everyone. i have question to get the coefficient and confidence interval in Logic Regression with Logistic model. below i list the R code X <- matrix(as.numeric(runif(400) < 0.5), 50,8) colnames(X) <- paste("X", 1:ncol(X), sep="") rownames(X) <- paste("case", 1:nrow(X), sep="") #

[R] how to reset slogic.f file

2008-03-18 Thread coldeyes Liao
Hi there: recently i try to use LogicReg package for a tree model(logistics fit ) . i list my code and error below: > dim(model.dat) [1] 48000 745 > fit1 <- logreg(resp = model.dat[,745], bin=model.dat[, 9:700], type = 3, select = 3, ntrees = c(1,2), nleaves=c(1,7), ) Insufficient declaratio