Hello S-users,
I am attempting to select a model using the following:
mkt.keep<-function(object,AIC)
list(df.resid=object$df.resid,deviance=object$deviance,term=as.character
(object$formula)[3],AIC=AIC)
I then use step.gam, specifying a backward direction and keep= the above
function.
I have 28 variables specified in the initial fit and am investigating the
best model with potentially smoothed versions of each variable. When I
attempt to run the process I receive the following error:
Error in 1:ll: Result too long
I do not receive this error when I am fitting fewer variables. Are
adjustments available to avoid this error. Does anyone have a "better"
strategy?
Daniel Rainham
Pentium 2, 400, 128RAM, S2000, WINNT
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Daniel.G.C. Rainham
Climate and Health Research Program
Department of Earth and Atmospheric Sciences
University of Alberta
Office: 3-13 Tory Bldg
Fax: 780.492.7598
drainham@ualberta.ca
"The lottery is a tax on people who flunked math." --Monique Lloyd
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|