Hi,

I'm trying to use "stepclass" to do a stepwise variable selection with
method=lda. I keep getting this warning message, which shows up once
for each variable added to the model during variable selection:

Warning message:
error(s) in modeling/prediction step in: cv.rate(vars = c(model,
tryvar), data = data, grouping = grouping,

I don't know how to interpret this warning. I do not have a separate
data set for cross validation. Is this important, or will "stepclass"
do leave-one-out cross-validation in the absence of other
cross-validation data?

Also, when I run "stepclass" several times with identical parameters,
it will give me a slightly different "best" model each time. It seems
to me that it should always return the same model, as long as the
dataset and call are the same. Am I missing something? Is there some
randomization going on behind the scenes that I'm unaware of?

Thanks in advance,
Neil Losin

-- 
_____
Neil Losin
UCLA Dept. of Ecology and Evolutionary Biology
[EMAIL PROTECTED]

and

Neil Losin Nature Photography
http://www.neillosin.com

______________________________________________
[email protected] 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