Model Fitting

Main functions for fitting the sail model

sail()

Fit Sparse Additive Interaction Model with Strong Heredity

cv.sail()

Cross-validation for sail

Methods for objects of class sail and cv.sail

Method functions to extract relevant information from fitted objects

predict(<sail>) coef(<sail>)

Make predictions from a sail object

predict(<cv.sail>) coef(<cv.sail>)

Make predictions from a cv.sail object

print(<sail>)

Print Method for sail object

plot(<sail>)

Plot Method for sail object

plot(<cv.sail>)

Plot the cross-validation curve produced by cv.sail

Datasets

Two datasets that ship with the package to illustrate usage

sailsim

Simulated Data Used in Bhatnagar et al. (2018+) Paper

oasis

OASIS Brain Data

Marginal Plots

Visualize the relationship between the response and main effects or interactions

plotMain()

Plot Estimated Component Smooth Functions for Main Effects

plotInter()

Plot Interaction Effects from sail object

Simulate Data

Reproduce the simulated data from the sail paper

gendata()

Simulation Scenario from Bhatnagar et al. (2018+) sail paper

gendataPaper()

Simulation Scenario from Bhatnagar et al. (2018+) sail paper

Internal Utility Functions

Functions not really meant for the user

Q_theta()

Objective function

createfolds()

Create CV Folds

cv.lspath() cvcompute() getmin() lambda.interp()

Compute cross validation error

design_sail()

Sail design matrix

SoftThreshold() l2norm() cbbPalette nonzero() check_col_0()

Internal sail functions

standardize()

Standardize Data