Learn R Programming

smoothic

For more information, check out the smoothic website.

Implementation of the SIC epsilon-telescope method, either using single or multi-parameter regression. Includes classical regression with normally distributed errors and robust regression, where the errors are from the Laplace distribution. The "smooth generalized normal distribution" is used, where the estimation of an additional shape parameter allows the user to move smoothly between both types of regression. See O'Neill and Burke (2022) "Robust Distributional Regression with Automatic Variable Selection" for more details on arXiv. This package also contains the data analyses from O'Neill and Burke (2023). "Variable selection using a smooth information criterion for distributional regression models" in Statistics & Computing.

Installation

CRAN

You can install the released version of smoothic from CRAN with:

install.packages("smoothic")

Github

Install the development version from GitHub:

# install.packages("devtools")
devtools::install_github("meadhbh-oneill/smoothic")

smoothic()

The smoothic() function performs automatic variable selection with distributional regression.

library(smoothic)
fit <- smoothic(
  formula = y ~ .,
  data = dataset
)

A summary table that includes the estimated coefficients, estimated standard errors (SEE) and the value of the penalized likelihood function is returned with:

summary(fit)

Further information and examples of implementation (including plotting of the coefficient paths - vignette("sgnd-boston")) are available in the function documentation and vignettes.

Copy Link

Version

Install

install.packages('smoothic')

Monthly Downloads

270

Version

1.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Meadhbh O'Neill

Last Published

August 22nd, 2023

Functions in smoothic (1.2.0)

bostonhouseprice

Boston House Price Data (Original)
plot_paths

Plot the \(\epsilon\)-telescope coefficient paths
bostonhouseprice2

Boston House Price Data (Corrected Version)
citycrime

City Crime Data
predict.smoothic

Predict smoothic
diabetes

Diabetes Data
summary.smoothic

Summarising Smooth Information Criterion (SIC) Fits
smoothic

Variable Selection Using a Smooth Information Criterion (SIC)
sniffer

Sniffer Data
pcancer

Prostate Cancer Data
plot_effects

Plot conditional density curves