internalfunctions {ctgt}R Documentation

'Internal Functions (ctgt)'

Description

Internal functions of ctgt.

Usage

## iterative shortcut with branch and bound
actgt_it(y,Tmatrix, Cmatrix,fxs, sxs,Tf,Lamf,Cf,Ts,Lams,Cs,count=1,maxIt=1,a = 0.05)
  
## to check whether tmin is above cmax
tacmax(tmins,levels,tw, cf,lf,ls,alp )
  
## to check whether tmin is above ctrue
tactrue(tmins,hyxs,cfull,Wmatrix,alp )


Arguments

y

The response vector (numeric vector).

Tmatrix

The matrix used to calculate the test statistics.

Cmatrix

The matrix used to calculate the critical values.

fxs

The name vector of upper model (character vector).

sxs

The name vector of lower model (character vector).

Tf, Lamf, Cf

Test statistic, eigenvalues, and critical value of fxs.

Ts, Lams, Cs

Test statistic, eigenvalues, and critical value of sxs.

count

count the branches, default is 1.

maxIt

maximal number of branches chosen by user, default is 1.

a, alp

alpha level.

tmins

Minimum test statistics.

levels

levels

tw, cf, lf, ls

sorted weights, critical values and level for fxs and sxs.

hyxs

The name vector of the covariates of interest (character vector).

cfull

critical value of full model.

Wmatrix

matrix to calculate majorizing vector.

Author(s)

Ningning Xu

Maintainer: Ningning Xu <n.xu@lumc.nl; xu15263142750@gmail.com>


[Package ctgt version 2.0.1 Index]