LF_Inference: Inference for linear function in high dimensional linear...

Description Usage Arguments Value Examples

View source: R/LF_Inference_linear.R

Description

Inference for linear function in high dimensional linear regression regression

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
LF_Inference(
  X,
  y,
  loading,
  lambda = NULL,
  intercept = FALSE,
  mu = NULL,
  step = NULL,
  resol = 1.5,
  maxiter = 10
)

Arguments

X

the input matrix

y

response

loading

xnew

lambda

tuning parameter

intercept

to be fitted or not

mu

tuning parameter for projection direction

step

step

resol

resolution

maxiter

maximum number of iterations

Value

linear functional inference for linear models

Examples

1
2
3
4
5
6
7
## Not run: 
X = matrix(sample(-2:2,100*400,replace = T),nrow=100,ncol=400)
beta = (1:400)/25
y = X%*%beta + rnorm(100,0,1)
LF_Inference(X = X, y = y, loading = c(1,rep(0,399)), intercept = TRUE)

## End(Not run)

prabrishar1/logistic documentation built on Aug. 3, 2020, 1:11 a.m.