Learn R Programming

gpboost (version 1.5.6)

get_aux_pars.GPModel: Get (estimated) auxiliary (additional) parameters of the likelihood

Description

Get (estimated) auxiliary (additional) parameters of the likelihood such as the shape parameter of a gamma or a negative binomial distribution. Some likelihoods (e.g., bernoulli_logit or poisson) have no auxiliary parameters

Usage

# S3 method for GPModel
get_aux_pars(gp_model)

Value

A GPModel

Arguments

gp_model

A GPModel

Author

Fabio Sigrist

Examples

Run this code
# \donttest{
data(GPBoost_data, package = "gpboost")
X1 <- cbind(rep(1,dim(X)[1]),X) # Add intercept column
y_pos <- exp(y)
gp_model <- fitGPModel(group_data = group_data[,1], y = y_pos, X = X1, likelihood="gamma")
get_aux_pars(gp_model)
# }

Run the code above in your browser using DataLab