Skip to contents

Model construction and estimation

Functions for constructing models and performing estimation.

Other functions

Other functions

H0_matrix_eta1()
Computing expected Hessian for a vector eta
H0_matrix_eta_x()
Computing expected Hessian in eta
H_matrix_eta_diag()
Computing additional diagonal part for the real Hessian H = H0 + diag
bdiag_m()
Block diagonal matrix creation
data_stack_dirich()
Preparing the data
data_stack_dirich_formula()
Preparing the data
digamma_red()
Computing the function digamma
dirichlet_log_pos_x()
Dirichlet log posterior function
dirinla-package dirinla
dirinla
dirinlareg()
Fitting a Dirichlet regression
dirinlaregmodel()
Defining a new class
extract_fixed()
Extracting marginals fixed of an inla object
extract_linear_predictor()
Extracting posterior distributions from the linear predictor
formula_list()
Formula in to list
g0_vector_eta_1()
Computing gradient vector in eta
log_beta_mult_eta()
Calculating the log beta function in eta
look_for_mode_x()
Finding the mode of the full posterior distribution
newton_x()
Newton-Raphson algorithm
plot(<dirinlaregmodel>)
plot of dirinlaregmodel xs
predict(<dirinlaregmodel>)
Finding the mode of the full posterior distribution
summary(<dirinlaregmodel>)
Summary of dirinlaregmodel objects
summary_fast()
Summary using the packages Rfast and Rfast2 of a matrix by rows
trigamma_red()
Computing the function trigamma