Main Functions

fit_subgroup_2part()

Fitting subgroup identification models for semicontinuous positive outcomes

Plotting

plot(<hd2part>) plot(<cv.hd2part>)

Plot method for hd2part fitted objects

Predicting

predict(<cv.hd2part>)

Prediction function for fitted cross validation hd2part objects

predict(<hd2part>)

Prediction method for two part fitted objects

Simulating Data

sim_semicontinuous_data()

Generates data from a two part distribution with a point mass at zero and heterogeneous treatment effects

Raw functions to optimize penalized loss functions

cv.hd2part()

Cross validation for hd2part models

hd2part()

Main fitting function for group lasso and cooperative lasso penalized two part models

hdgamma()

Fitting function for lasso penalized gamma GLMs

Utilities

HDtweedie_kfold_aug()

Fit a penalized gamma augmentation model via cross fitting