simSODA: Simulate soda for selecting variable and interaction

Description Usage Arguments Value Author(s) References Examples

View source: R/simulate.R

Description

simSODA can simulate the examples in the soda paper.

Usage

1
simSODA(n, which.example, ncl = 1)

Arguments

n

The size of simulation dataset.

which.example

The id of the examples in the paper.

ncl

The cluster number used.

Value

MFP

The number of main variables which are flase positive.

MFN

The number of main variables which are flase negative.

IFP

The number of interactions which are flase positive.

IFN

The number of interactions which are flase negative.

Author(s)

weiya

References

Li Y, Liu JS. (2017). Robust Variable and Interaction Selection for Logistic Regression and Multiple Index Models. Technical Report.

Examples

1
2
3
# simulate the first example in the paper
library(sodaParallel)
simSODA(10, 1)

szcf-weiya/sodaParallel documentation built on Dec. 19, 2020, 5:46 p.m.