PSI_mu: Ausiliary function that evaluates the SVD of F_c on a...

Description Usage Arguments Value Examples

Description

Ausiliary function that evaluates the SVD of F_c on a pre-specified grid divided by the singular values to the square.

Usage

1
PSI_mu(x, N, c, K, L1)

Arguments

x

the pre-specified grid

N

number of singular values to compute

c

parameter indexing the singular values

K

ordre of the Legendre quadrature

L1

number of Legendre polynomials used in the computation of the coefficients of the singular functions;

Value

a list containing, in order:

- ipeven

- ipodd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
library(orthopolynom)
library(polynom)
library(tmvtnorm)
library(ks)
library(sfsmisc)
library(snowfall)
library(fourierin)
library(rdetools)
library(statmod)
library(RCEIM)
library(robustbase)
library(VGAM)
library(RandomCoefficients)
#### Bandwidth 1
L =15
L1 = L+1
N2 = max(L,3)
twoN = 2*N2
#### Bandwidth 1
c= 1
K1 = max(twoN+2,30)
K = K1
res2 <-  legendrequad(K)
t <- res2[[1]]
psi_even <- abs(PSI_mu(t,N2,c,K, L1)[[1]])

RandomCoefficients documentation built on June 7, 2019, 5:02 p.m.