Re: [R] Help with PLSR with jack knife

From: Bjørn-Helge Mevik <b.h.mevik_at_usit.uio.no>
Date: Wed, 18 May 2011 09:42:59 +0200

Amit Patel <amitrhelp_at_yahoo.co.uk> writes:

> BHPLS1 <- plsr(GroupingList ~ PCIList, ncomp = 10, data = PLSdata, validation =
> "LOO")
>
> and
>
> BHPLS1 <- plsr(GroupingList ~ PCIList, ncomp = 10, data = PLSdata, validation =
> "CV")

[...]
> Now I am unsure of how to utilise these to identify the significant variables.

You can use the jackknife built into plsr to get an indication about significant variables, by adding the argument "jackknife = TRUE" to the plsr call. Use jack.test(BHPLS1) to do the test.

But _PLEASE_ do read the "Warning" section inf ?jack.test!

-- 
Regards,
Bjørn-Helge Mevik

______________________________________________
R-help_at_r-project.org 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.
Received on Wed 18 May 2011 - 07:46:00 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 18 May 2011 - 08:20:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive