Learn R Programming

sglg (version 0.2.6)

Fitting Semi-Parametric Generalized log-Gamma Regression Models

Description

Set of tools to fit a linear multiple or semi-parametric regression models with the possibility of non-informative random right or left censoring. Under this setup, the localization parameter of the response variable distribution is modeled by using linear multiple regression or semi-parametric functions, whose non-parametric components may be approximated by natural cubic spline or P-splines. The supported distribution for the model error is a generalized log-gamma distribution which includes the generalized extreme value and standard normal distributions as important special cases. Inference is based on likelihood, penalized likelihood and bootstrap methods. Lastly, some numerical and graphical devices for diagnostic of the fitted models are offered.

Copy Link

Version

Install

install.packages('sglg')

Monthly Downloads

548

Version

0.2.6

License

GPL-3

Maintainer

Carlos Cardozo Delgado

Last Published

January 14th, 2026

Functions in sglg (0.2.6)

plotnpc

Plotting a natural cubic splines or P-splines.
residuals.sglg

Extract Model Residuals
plotsurv.sglg

Plot simultaneously the Kaplan-Meier and parametric estimators of the survival function.
sglg

Fitting semi-parametric generalized log-gamma regression models
glg

Fitting multiple linear Generalized Log-gamma Regression Models
rglg

Random number generation for a generalized log-gamma distribution
quantile_sglg

Quantile Residuals for a Generalized Log-gamma Regression Model
ssurvglg

Fitting semi-parametric generalized log-gamma regression models under the presence of right censored data.
qglg

Quantile function for a generalized log-gamma distribution
summary.sglg

summary.sglg
pk_order_glg

Cumulative Probability Distribution of a K-th Order Statistic from a Generalized Log-gamma Distribution
t_lambda

###################### # # # Extreme value case # # # ######################
vcov.sglg

vcov.sglg
pglg

Cumulative distribution function for a generalized log-gamma variable
smoothp

smoothp
shape

shape
response_scheme

response scheme
survglg

Fitting linear generalized log-gamma regression models under the presence of right censored data.
survival_gg

Survival, Hazard, and Cumulative Hazard functions for a Generalized Gamma Distribution
dk_order_glg

Density Probability Distribution of a K-th Order Statistic from a Generalized Log-gamma Distribution
cweight_scheme

case-weight scheme
deviance_residuals

Deviance Residuals for a Generalized Log-gamma Regression Model
coef.sglg

coef.sglg
ballbearing

Ball-bearing times
deBoor2

Build the basis matrix and the penalty matrix of cubic B-spline basis.
bootglg

Bootstrap inference for a generalized log-gamma regression
Gu

Tool to build the basis matrix and the penalty matrix of natural cubic splines.
dglg

Density distribution function for a generalized log-gamma variable
claims

Personal Injury Insurance Claims
envelope.sglg

envelope.sglg
entropy

Tool to calculate the entropy for a generalized log-gamma distribution.
gnfit

gnfit
logLik.sglg

Extract Log-Likehood
order_glg

Random Sampling of K-th Order Statistics from a Generalized Log-gamma Distribution
mrl_gg

Mean Residual Lifetime Function for a Generalized Gamma Distribution
moors_lss

Measures of location, scale, and shape based on quantile measures for a generalized log-gamma distribution
lss

Measures of location, scale and shape measures for a generalized log-gamma distribution
fitted.sglg

Extract Fitted Values