| gamlss.ggplots-package {gamlss.ggplots} | R Documentation |
Plotting Functions for Generalized Additive Model for Location Scale and Shape
Description
Functions for plotting Generalized Additive Models for Location Scale and Shape from the 'gamlss' package, Stasinopoulos and Rigby (2007) <doi:10.18637/jss.v023.i07>, using the graphical methods from 'ggplot2'.
Details
The DESCRIPTION file:
| Package: | gamlss.ggplots |
| Title: | Plotting Functions for Generalized Additive Model for Location Scale and Shape |
| Version: | 2.1-12 |
| Date: | 2024-04-21 |
| Authors@R: | c(person("Mikis", "Stasinopoulos", role = c("aut", "cre", "cph"), email = "d.stasinopoulos@gre.ac.uk", comment = c(ORCID = "0000-0003-2407-5704")), person("Robert", "Rigby", role = "aut", email = "r.rigby@gre.ac.uk", comment = c(ORCID = "0000-0003-3853-1707")), person("Fernanda", "De Bastiani", role = "aut", email = "fernandadebastiani@gmail.com", comment = c(ORCID = "0000-0001-8532-639X")), person("Julian", "Merder", role = "ctb") ) |
| Description: | Functions for plotting Generalized Additive Models for Location Scale and Shape from the 'gamlss' package, Stasinopoulos and Rigby (2007) <doi:10.18637/jss.v023.i07>, using the graphical methods from 'ggplot2'. |
| License: | GPL-2 | GPL-3 |
| URL: | https://www.gamlss.com/ |
| BugReports: | https://github.com/gamlss-dev/gamlss.ggplots/issues |
| Depends: | R (>= 3.5.0), gamlss.dist, gamlss (>= 4.3.3), gamlss.foreach |
| Imports: | methods, ggridges, ellipse, gamlss.inf, foreach, mgcv, ggplot2, yaImpute |
| Suggests: | glmnet, reshape2, igraph, networkD3, grid, gridExtra |
| LazyLoad: | yes |
| Author: | Mikis Stasinopoulos [aut, cre, cph] (<https://orcid.org/0000-0003-2407-5704>), Robert Rigby [aut] (<https://orcid.org/0000-0003-3853-1707>), Fernanda De Bastiani [aut] (<https://orcid.org/0000-0001-8532-639X>), Julian Merder [ctb] |
| Maintainer: | Mikis Stasinopoulos <d.stasinopoulos@gre.ac.uk> |
Index of help topics:
ACE Alternating Conditional Expectations
boot_coef Plotting Bootstrap Coefficients
centile_bucket Centile bucket plot
family_pdf Plotting Probabilities Density Functions
(pdf's) for GAMLSS
fit_PB P-spline smoother
fitted_cdf Plotting Cumulative Distribution Functions
(cdf's) for GAMLSS,
fitted_centiles Plotting centile (growth) curves
fitted_devianceIncr Plotting the deviance increment of GAMLSS
fitted_leverage Plot of the linear leverage of a GAMLSS model
fitted_terms Plotting fitted additive terms
gamlss.ggplots-package
Plotting Functions for Generalized Additive
Model for Location Scale and Shape
histSmo_plot Supporting histSmo()
model_GAIC Plotting GAIC for GAMLSS models
model_pca Plotting residuals using PCA
moment_bucket Moment bucket plot
moment_gray_half Functions to create the background for the
bucket plots
pcr_coef_path Plotting the fitted path of a PCR model.
pe_param Partial Effect of a term on the parameters and
predictors
pe_pdf Partial Effect of a term on the response
distribution
prof_term Plotting the profile deviance of one fitted
term
resid_density Density of the residuals in a GAMLLSS model
resid_dtop Detrended Transformed Owen's Plot and ECDF for
the residuals
resid_index A residual plots
resid_qqplot QQ-plot of the residuals of a GAMLSS model
resid_symmetry Symmetry plots
resid_wp Worm plot using ggplot2
resp_mu Plotting the response against quantities of the
fitted model
y_hist Histogram and density plot.
The following convention has been used to name the functions:
fitted_NAME: plots concerning fitted values from a single fitted model
resid_NAME: plots concerning residuals from a single fitted model
predict_NAME: plots concerning prediction values from a single fitted model usually having newdata option.
model_NAME: plots concerning different fitted models
where NAME refer to different characteristics.
Author(s)
Mikis Stasinopoulos [aut, cre, cph] (<https://orcid.org/0000-0003-2407-5704>), Robert Rigby [aut] (<https://orcid.org/0000-0003-3853-1707>), Fernanda De Bastiani [aut] (<https://orcid.org/0000-0001-8532-639X>), Julian Merder [ctb]
Maintainer: Mikis Stasinopoulos <d.stasinopoulos@gre.ac.uk>
References
Rigby, R. A. and Stasinopoulos D. M. (2005). Generalized additive models for location, scale and shape,(with discussion), Appl. Statist., 54, part 3, pp 507-554.
Rigby, R. A., Stasinopoulos, D. M., Heller, G. Z., and De Bastiani, F. (2019) Distributions for modeling location, scale, and shape: Using GAMLSS in R, Chapman and Hall/CRC, doi:10.1201/9780429298547. An older version can be found in https://www.gamlss.com/.
Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R. Journal of Statistical Software, Vol. 23, Issue 7, Dec 2007, doi:10.18637/jss.v023.i07.
Stasinopoulos D. M., Rigby R.A., Heller G., Voudouris V., and De Bastiani F., (2017) Flexible Regression and Smoothing: Using GAMLSS in R, Chapman and Hall/CRC. doi:10.1201/b21973
Stasinopoulos, M. D., Rigby, R. A., and De Bastiani F., (2018) GAMLSS: a distributional regression approach, Statistical Modelling, Vol. 18, pp, 248-273, SAGE Publications Sage India: New Delhi, India.
Stasinopoulos, M.D., Kneib, T., Klein, N., Mayr, A. and Heller, G.Z., (2024). Generalized Additive Models for Location, Scale and Shape: A Distributional Regression Approach, with Applications (Vol. 56). Cambridge University Press.
(see also https://www.gamlss.com/).
See Also
Examples
library(gamlss)
m1 <- gamlss(y~pb(x), data=abdom)
resid_index(m1)