tspreg: tspreg

Description Usage Arguments Value

View source: R/tspreg.r

Description

tspreg

This function calculates a top-scoring pairs regression model which can be used for prediction in high-dimensional problems.

Usage

1
  tspreg(dat, outcome, npair = 10, nvars = 10000)

Arguments

dat

An input data set

outcome

The outcome that you are trying to predict (may be factor or survival)

npair

The desired number of top scoring pairs to calculate

nvars

The algorithm first screens for marginal association between outcome and dat and selects the top nvars to use to create candidate pairs

Value

An index vector for the top-scoring pairs

The test statistics for the association between each pair and the outcome


jtleek/tspreg documentation built on May 20, 2019, 3:14 a.m.