Displaying 2 results from an estimated 2 matches for "cat01".
Did you mean:
cat06
2007 Jun 11
1
Error using mgcv package
Hi all,
I need some solution in the following problem. The following error appears
when i use "mgcv" package for implementing GAM. But the same formula works
fine in "gam" package.
> model.gam <- gam(formula = RES ~
> CAT01+s(NUM01,5)+CAT02+CAT03+s(NUM02,5)+CAT04+
+ CAT05+s(NUM03,5)+CAT06+CAT07+s(NUM04,5)+CAT08+s(NUM05,5)+CAT09+
+ CAT10+s(NUM06,5)+CAT11+NUM07+CAT12+CAT13,
+ family = binomial(link = logit), data = train.data,na.action = na.exclude,
+ control = list(epsilon = 0.001,bf.epsilon = 0.001, maxit = 50,
+ bf....
2008 Jan 25
2
'Best penalty' in design package
Dear Users,
In case of ridge logistic regression, i want to calculate the optimum
penalty using aic and bic criteria. Here is the sample code:
fit <- lrm(RES ~CAT01+NUM01+NUM02+CAT02+CAT03+CAT04+NUM03+CAT05+CAT06+NUM04+
CAT07+CAT08+NUM05+NUM06, data = train.data, x = TRUE, y = TRUE)
pentrace(fit, penalty = list(seq(.001, 5, by=.1)))
output:
Best penalty:
penalty df
1.001 13.26012
Var1 df aic bic aic.c
1 0.001...