All functions

CreatePlaceboDistribution()

Run scul procedure on placebo pool to create null distribution

GraphTargetData()

Graph target data series across time

OrganizeDataAndSetup()

Set up data for SCUL procedure

PValue()

Calculate a simple bounded p-value for the treatment effect reporting the larger end of the bound

PlotActualvSCUL()

Graph output from SCUL procedure

PlotDiffOfActualvSCUL()

Graph output from SCUL procedure

PlotNullDistribution()

Plot a smoothed density plot of the null distribution

PlotShareTable()

Graph output from SCUL procedure

Preprocess()

Process and clean input data for SCUL procedure

PreprocessSubset()

Drops columns that have no variation in training subsets

SCUL()

Run SCUL procedure on target data

SmokePlot()

Make smoke plot

cigarette_sales

Cigarette sales and retail prices by state

getOptcv.scul()

Extract cross-validated lamdas

mysd()

Standardize column vector

plot(<cv>)

Plot mean square error across potential penalty paramters, highlighting three options for cross-validated lambda