contrastForCoef: Compute the contrast vector for inference of regression...

Description Usage Arguments Value

View source: R/trunc_inf.R

Description

This function computes the contrast vector ν such that

ν^T y = β^M_j.

Usage

1
contrastForCoef(j, X, outlier.det)

Arguments

j,

the index of regression coefficients.

X,

the design matrix (including the intercept).

outlier.det,

indexes of detected outliers.

Value

This function returns the contrast vector ν.


shuxiaoc/outference documentation built on Dec. 5, 2017, 3:48 a.m.