gamboostLSS_2_MultiQR: Generate predictions from 'gamboostLSS' object

View source: R/gamboostLSS_2_MultiQR.R

gamboostLSS_2_MultiQRR Documentation

Generate predictions from gamboostLSS object

Description

Convert gamboostLSS objects to MultiQR or alternatively return predicted parameters of predictive distribution.

Note that this function may be superseded by an S3 method in future versions of ProbCast.

Ciaran Gilbert, ciaran.gilbert@strath.ac.uk

Usage

gamboostLSS_2_MultiQR(
  data,
  models,
  quantiles = seq(0.05, 0.95, by = 0.05),
  params = F
)

Arguments

data

A data.frame containing explanatory variables.

models

A Para_gamboostLSS object.

quantiles

Vector of quantiles to be calculated

params

return distribution parameters instead?

Value

A MultiQR object derived from gamlss predictive distributions. Alternatively, a matrix containing the parameters of the predictive gamboostLSS distributions.


jbrowell/ProbCast documentation built on July 20, 2024, 1:53 p.m.