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

Description Usage Arguments Value

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 July 8, 2019, 8:30 p.m.