get_aux_pars.GPModel {gpboost} | R Documentation |
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 class 'GPModel'
get_aux_pars(gp_model)
Arguments
gp_model |
A |
Value
A GPModel
Author(s)
Fabio Sigrist
Examples
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)
[Package gpboost version 1.5.1.1 Index]