| ppd_gamlss | R Documentation | 
gamlss-type semi-parametric modelsThis function is a wrapper for the function gamlss, which
fits semi-parametric regression models for predictive distributions with up to
four parameters (location, scale, shape1, shape2).
ppd_gamlss(
  data,
  formula,
  cv_folds = NULL,
  sigma.formula = ~1,
  nu.formula = ~1,
  tau.formula = ~1,
  family = gamlss.dist::NO(),
  cores = 1,
  pckgs = NULL,
  save_models_path = NULL,
  ... = NULL
)
| data | A  | 
| formula | A formula object with the response on the left of an ~ operator, and the terms, separated by + operators, on the right. | 
| cv_folds | Control for cross-validation if not supplied in  | 
| sigma.formula | A formula object for fitting a model to the sigma parameter, as in the formula above. | 
| nu.formula | A formula object for fitting a model to the nu parameter, as in the formula above. | 
| tau.formula | A formula object for fitting a model to the tau parameter, as in the formula above. | 
| family | A gamlss.family object, which is used to define the distribution and the link functions of the various parameters. | 
| cores | the number of available cores. Defaults to one, i.e. no parallelisation, although in this case the user
must still specify  | 
| pckgs | specify additional packages required for each worker (e.g. c("data.table") if data stored as such). | 
| save_models_path | Path to save models. Model details and file extension pasted onto this string. | 
| ... | Additional arguments passed to  | 
See ?gamlss for additional details and options.
A list of gamlss models with class PPD. Each list element
corresponds to a cross-validation fold and contains a gamlss model
trained on all other folds.
Jethro Browell, jethro.browell@strath.ac.uk; Ciaran Gilbert, ciaran.gilbert@strath.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.