#include <genesis/utils/math/regression/glm.hpp>
Definition at line 99 of file glm.hpp.

std::vector< double >  betaQ 
 Vector of parameter estimates (in terms of basis matrix, Xb) (size M ). More...


bool  converged = false 

double  deviance = 0.0 

size_t  df_resid = 0 
 Residual degrees of freedom. More...


std::vector< double >  fitted 
 Fitted values (size N ). More...


double  null_deviance = 0.0 

size_t  num_iterations = 0 

size_t  rank = 0 
 Rank of X after regression on strata. More...


std::vector< double >  resid 
 Working residuals (on linear predictor scale) (size N ). More...


double  scale = 1.0 
 Scale factor (scalar). More...


std::vector< double >  tri 
 Upper unit triangular transformation matrix, with Xb  tr.Xb placed in the diagonal (size (M * (M+1)) / 2 ). More...


std::vector< double >  weights 
 Weights (size N ) More...


std::vector< double >  which 
 Which columns in the X matrix were estimated (first = 0) (size M ). More...


Matrix< double >  Xb 
 Orthogonal basis for X space (N * M matrix, with N * rank being used). More...


◆ betaQ
std::vector<double> betaQ 
Vector of parameter estimates (in terms of basis matrix, Xb) (size M
).
Definition at line 147 of file glm.hpp.
◆ converged
◆ deviance
◆ df_resid
Residual degrees of freedom.
Definition at line 112 of file glm.hpp.
◆ fitted
std::vector<double> fitted 
Fitted values (size N
).
Definition at line 127 of file glm.hpp.
◆ null_deviance
double null_deviance = 0.0 
◆ num_iterations
size_t num_iterations = 0 
◆ rank
Rank of X after regression on strata.
Definition at line 107 of file glm.hpp.
◆ resid
std::vector<double> resid 
Working residuals (on linear predictor scale) (size N
).
Definition at line 132 of file glm.hpp.
◆ scale
Scale factor (scalar).
Definition at line 117 of file glm.hpp.
◆ tri
Upper unit triangular transformation matrix, with Xb  tr.Xb placed in the diagonal (size (M * (M+1)) / 2
).
Definition at line 153 of file glm.hpp.
◆ weights
std::vector<double> weights 
Weights (size N
)
Definition at line 137 of file glm.hpp.
◆ which
std::vector<double> which 
Which columns in the X matrix were estimated (first = 0) (size M
).
Definition at line 142 of file glm.hpp.
◆ Xb
Orthogonal basis for X space (N * M
matrix, with N * rank
being used).
Definition at line 122 of file glm.hpp.
The documentation for this struct was generated from the following file: