npsdr_x {psvmSDR}R Documentation

Reconstruct the estimated sufficient predictors for a given data matrix

Description

Returning the estimated sufficient predictors \hat{\phi}(\mathbf{x}) for a given \mathbf{x}

Usage

npsdr_x(object, newdata, d = 2)

Arguments

object

The object from function npsdr

newdata

new data \mathbf{X}

d

structural dimensionality. d=2 is default.

Value

the value of the estimated nonlinear mapping \phi(\cdot) is applied to newdata X with dimension d is returned.

Author(s)

Jungmin Shin, jungminshin@korea.ac.kr, Seung Jun Shin, sjshin@korea.ac.kr, Andreas Artemiou artemiou@uol.ac.cy

See Also

npsdr

Examples


set.seed(1)
n <- 200; n.new <- 300
p <- 5;
h <- 20;
x <- matrix(rnorm(n*p, 0, 2), n, p)
y <- 0.5*sqrt((x[,1]^2+x[,2]^2))*(log(x[,1]^2+x[,2]^2))+ 0.2*rnorm(n)
new.x <- matrix(rnorm(n.new*p, 0, 2), n.new, p)
obj_kernel <- npsdr(x, y)
npsdr_x(object=obj_kernel, newdata=new.x)


[Package psvmSDR version 1.0.2 Index]