Learn R Programming

sglg (version 0.2.5)

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

269

Version

0.2.5

License

GPL-3

Maintainer

Carlos Cardozo Delgado

Last Published

December 19th, 2025

Functions in sglg (0.2.5)

gnfit

gnfit
order_glg

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

Plotting a natural cubic splines or P-splines.
lss

Measures of location, scale and shape measures for a generalized log-gamma distribution
moors_lss

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

Mean Residual Lifetime Function for a Generalized Gamma Distribution
plotsurv.sglg

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

Cumulative distribution function for a generalized log-gamma variable
smoothp

smoothp
shape

shape
pk_order_glg

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

Fitting semi-parametric generalized log-gamma regression models
vcov.sglg

vcov.sglg
rglg

Random number generation for a generalized log-gamma distribution
t_lambda

###################### # # # Extreme value case # # # ######################
survival_gg

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

Quantile function for a generalized log-gamma distribution
quantile_sglg

Quantile Residuals for a Generalized Log-gamma Regression Model
survglg

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

Extract Model Residuals
ssurvglg

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

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

response scheme
envelope.sglg

envelope.sglg
summary.sglg

summary.sglg
dk_order_glg

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

Density distribution function for a generalized log-gamma variable
ballbearing

Ball-bearing times
Gu

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

case-weight scheme
coef.sglg

coef.sglg
bootglg

Bootstrap inference for a generalized log-gamma regression
deBoor2

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

Deviance Residuals for a Generalized Log-gamma Regression Model
claims

Personal Injury Insurance Claims
fitted.sglg

Extract Fitted Values
logLik.sglg

Extract Log-Likehood
glg

Fitting multiple linear Generalized Log-gamma Regression Models