compute.movi: Compute the mMSE gap value

Description Usage Arguments Value

View source: R/utils.R

Description

This function computes the mMSE gap value.

Usage

1
2
3
4
5
6
7
8
compute.movi(
  beta,
  Xmodel = "gaussian",
  Ydist = "gaussian",
  sigma_X.list = NULL,
  X = NULL,
  nulls.list = NULL
)

Arguments

beta

a p-dimensional vector, true regression coefficients.

Xmodel

model of the covaraites (default: "gaussian").

Ydist

the type of conditional model.

sigma_X.list

a list of length p, with each element being the variance of the conditional distribution.

X

a n by p matrix, containing all the covariates.

nulls.list

a list of length p, whose element is a (|i2|*K)-dimensional vector, which contains K set of null samples.

Value

A vector of p, with each element being the value of I for a given covariate.


LuZhangH/floodgate documentation built on Aug. 30, 2020, 2:10 a.m.