Re: [R] Help: lda predict

2005-08-27 Thread Shengzhe Wu
Hello, I use qda (package MASS) to obtain an object. If there is any function to plot density plot of qda object with one dimension? Thank you, Shengzhe __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Help: lda predict

2005-08-27 Thread Brian D Ripley
On Sat, 27 Aug 2005, Shengzhe Wu wrote: Hello, I use qda (package MASS) to obtain an object. If there is any function to plot density plot of qda object with one dimension$B!)(B That makes no sense. qda objects do not have a density. Please do study the background material (as you have

[R] Help: lda predict

2005-08-26 Thread Shengzhe Wu
Hello, I use lda (package: MASS) to obtain a lda object, then want to employ this object to do the prediction for the new data like below: predict(object, newdata, dimen=1, method=c(plug-in, predictive, debiased)) What is the exact difference among the three methods? What is the difference of

Re: [R] Help: lda predict

2005-08-26 Thread Prof Brian Ripley
On Fri, 26 Aug 2005, Shengzhe Wu wrote: I use lda (package: MASS) to obtain a lda object, then want to employ this object to do the prediction for the new data like below: predict(object, newdata, dimen=1, method=c(plug-in, predictive, debiased)) That is not how you call it: when a

[R] Help: lda predict

2005-08-26 Thread Shengzhe Wu
Thanks for your reply. Actually I called function as below. p1 = predict(object, newdata, dimen=1) p2 = predict(object, newdata, dimen=1, method=debiased) p3 = predict(object, newdata, dimen=1, method=predictive) The MAP classification of prediction results by any method are the same. I know

Re: [R] Help: lda predict

2005-08-26 Thread Prof Brian Ripley
On Fri, 26 Aug 2005, Shengzhe Wu wrote: Thanks for your reply. Actually I called function as below. p1 = predict(object, newdata, dimen=1) p2 = predict(object, newdata, dimen=1, method=debiased) p3 = predict(object, newdata, dimen=1, method=predictive) So why did you say something

Re: [R] Help: lda predict

2005-08-26 Thread Shengzhe Wu
I compared posterior of these three prediction results, they are a little different. The book you mentioned should be Modern Applied Statistics with S. 4th edition. But this book has been borrowed out from our univeristy library by someone else, and I have checked the book Pattern Recognition and

Re: [R] Help: lda predict

2005-08-26 Thread Prof Brian Ripley
On Fri, 26 Aug 2005, Shengzhe Wu wrote: I compared posterior of these three prediction results, they are a little different. The book you mentioned should be Modern Applied Statistics with S. 4th edition. But this book has been borrowed out from our univeristy library by someone else, So