correct.spls: Correct the initial SPLS coefficient estimates based on...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Correct initial SPLS coefficient estimates of the selected predictors based on bootstrapped confidence intervals and draw heatmap of original and corrected coefficient estimates.

Usage

1
correct.spls( object, plot.it=TRUE )

Arguments

object

An object obtained from the function ci.spls.

plot.it

Draw the heatmap of original coefficient estimates and corrected coefficient estimates?

Details

The set of the selected variables is updated by setting the coefficients with zero-containing confidence intervals to zero.

Value

Invisibly returns a matrix of corrected coefficient estimates.

Author(s)

Dongjun Chung, Hyonho Chun, and Sunduz Keles.

References

Chun H and Keles S (2010), "Sparse partial least squares for simultaneous dimension reduction and variable selection", Journal of the Royal Statistical Society - Series B, Vol. 72, pp. 3–25.

See Also

ci.spls.

Examples

1
2
3
4
5
6
7
8
data(mice)
# SPLS with eta=0.6 & 1 latent components
f <- spls( mice$x, mice$y, K=1, eta=0.6 )
# Calculate confidence intervals of coefficients
ci.f <- ci.spls(f)
# Corrected coefficient estimates
cf <- correct.spls( ci.f )
cf[20,1:5]

Example output

Sparse Partial Least Squares (SPLS) Regression and
Classification (version 2.2-1)

10 % completed...
20 % completed...
30 % completed...
40 % completed...
50 % completed...
60 % completed...
70 % completed...
80 % completed...
90 % completed...
100 % completed...
1415889_a_at   1415965_at   1416308_at   1417017_at   1417208_at 
  0.00000000   0.05103286   0.00000000   0.00000000   0.00000000 

spls documentation built on May 6, 2019, 1:09 a.m.