Learn R Programming

⚠️There's a newer version (2.0.0) of this package.Take me there.

qgam (version 1.3.4)

Smooth Additive Quantile Regression Models

Description

Smooth additive quantile regression models, fitted using the methods of Fasiolo et al. (2020) . See Fasiolo at al. (2021) for an introduction to the package. Differently from 'quantreg', the smoothing parameters are estimated automatically by marginal loss minimization, while the regression coefficients are estimated using either PIRLS or Newton algorithm. The learning rate is determined so that the Bayesian credible intervals of the estimated effects have approximately the correct coverage. The main function is qgam() which is similar to gam() in 'mgcv', but fits non-parametric quantile regression models.

Copy Link

Version

Install

install.packages('qgam')

Monthly Downloads

22,349

Version

1.3.4

License

GPL (>= 2)

Maintainer

Matteo Fasiolo

Last Published

November 22nd, 2021

Functions in qgam (1.3.4)

elflss

Extended log-F model with variable scale
UKload

UK electricity load data
cqcheckI

Interactive visual checks for additive quantile fits
AUDem

Australian electricity demand data
check

Generic checking function
check.learnFast

Visual checks for the output of tuneLearnFast()
check.qgam

Some diagnostics for a fitted qgam model
elf

Extended log-F model with fixed scale
cqcheck

Visually checking a fitted quantile model
check.learn

Visual checks for the output of tuneLearn()
qgam

Fit a smooth additive quantile regression model
tuneLearnFast

Fast learning rate calibration for the Gibbs posterior
tuneLearn

Tuning the learning rate for Gibbs posterior
sigmoid

Sigmoid function and its derivatives
qdo

Manipulating the output of mqgam
pinLoss

Pinball loss function
log1pexp

Calculating log(1+exp(x)) accurately
mqgam

Fit multiple smooth additive quantile regression models