get.var: 'get.var': Get indices

Description Usage Arguments Value

View source: R/utils.R

Description

Get the indices of the variables selected by the algorithm

Usage

1
get.var(candidate.index, xs, ys, family, gvif)

Arguments

candidate.index

Indices of the candidate set

xs

Standardized independent variables

ys

Standardized dependent variable

family

A description of the error distribution and link function to be used in the model. It can take the value of \code{gaussian}, \code{binomial}, \code{poisson}, and \code{cox}.

gvif

A logical operator indicating whether a generalized variance inflation factor-adjusted null bound is used. Default is FALSE.

Value

A list of following components:

out.sgpv

A vector of indices of selected variables

null.bound.p

Null bound in the SGPV screening

pe

Point estimates in the candidate set

lb

Lower bounds of effect estimates in the candidate set

ub

Upper bounds of effect estimates in the candidate set


zuoyi93/ProSGPV documentation built on Aug. 31, 2021, 1:22 a.m.