Learn R Programming

GLDreg (version 1.1.2)

Fit GLD Regression/Quantile/AFT Model to Data

Description

Owing to the rich shapes of Generalised Lambda Distributions (GLDs), GLD standard/quantile/Accelerated Failure Time (AFT) regression is a competitive flexible model compared to standard/quantile/AFT regression. The proposed method has some major advantages: 1) it provides a reference line which is very robust to outliers with the attractive property of zero mean residuals and 2) it gives a unified, elegant quantile regression model from the reference line with smooth regression coefficients across different quantiles. For AFT model, it also eliminates the needs to try several different AFT models, owing to the flexible shapes of GLD. The goodness of fit of the proposed model can be assessed via QQ plots and Kolmogorov-Smirnov tests and data driven smooth test, to ensure the appropriateness of the statistical inference under consideration. Statistical distributions of coefficients of the GLD regression line are obtained using simulation, and interval estimates are obtained directly from simulated data. References include the following: Su (2015) "Flexible Parametric Quantile Regression Model" , Su (2021) "Flexible parametric accelerated failure time model".

Copy Link

Version

Install

install.packages('GLDreg')

Monthly Downloads

186

Version

1.1.2

License

GPL (>= 3)

Maintainer

Steve Su

Last Published

July 23rd, 2025

Functions in GLDreg (1.1.2)

GLDreg-package

This package fits standard and quantile and accerlerated Failure Time regression models using RS and FMKL/FKML generalised lambda distributions via maximum likelihood estimation and L moment matching.
GLD.lm.surv

This function fits a GLD Accelerated Failure Time Model for Survival Data
GLD.lm.full.surv

This function fits a GLD Accelerated Failure Time regression linear model and conducts simulations to display the statistical properties of estimated coefficients
summaryGraphics.gld.surv.lm

Graphical display of output from GLD.lm.full.surv
summaryGraphics.gld.lm

Graphical display of output from GLD.lm.full
qqgld.default

QQ plot for GLD
GLD.lm

This function fits a GLD regression linear model
GLD.quantreg

Fit a GLD quantile regression parametrically or non parametrically
Fitting functions for GLD regression

This is a collection of functions designed to implement the fitting algorithms for GLD regression in this package.
fun.plot.q

2-D Plot for Quantile Regression lines
GLD.lm.full

This function fits a GLD regression linear model and conducts simulations to display the statistical properties of estimated coefficients
Fitting functions for GLD AFT regression

This is a collection of functions designed to implement the fitting algorithms for GLD AFT regression in this package.
actg

ACTG 320 Clinical Trial Dataset
fun.mean.convert

Convert a RS or FKML GLD into RS or FKML GLD to the desired theoretical mean by changing only the first parameter