SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

template<domain D :shared3p >
D float32 GLMAIC (D int32[[1]] dependent, GLMResult< D, float32 > glm)
 
template<domain D :shared3p >
D float64 GLMAIC (D int64[[1]] dependent, GLMResult< D, float64 > glm)
 
template<domain D :shared3p >
D float32 GLMAIC (D float32[[1]] dependent, GLMResult< D, float32 > glm)
 
template<domain D :shared3p >
D float64 GLMAIC (D float64[[1]] dependent, GLMResult< D, float64 > glm)
 

Detailed Description

Compute the Akaike information criterion of a generalized linear model.

Note
D - shared3p protection domain
Supported types - int32 / int64 / float32 / float64
Parameters
dependent- dependent variable
glm- structure returned by the model fitting function
Returns
Akaike information criterion
Leakage
None

Function Documentation

◆ GLMAIC() [1/4]

D float32 GLMAIC ( D float32[[1]]  dependent,
GLMResult< D, float32 >  glm 
)

◆ GLMAIC() [2/4]

D float64 GLMAIC ( D float64[[1]]  dependent,
GLMResult< D, float64 >  glm 
)

◆ GLMAIC() [3/4]

D float32 GLMAIC ( D int32[[1]]  dependent,
GLMResult< D, float32 >  glm 
)

◆ GLMAIC() [4/4]

D float64 GLMAIC ( D int64[[1]]  dependent,
GLMResult< D, float64 >  glm 
)