A toolkit for working with phylogenetic data.
v0.24.0
GlmOutput Struct Reference

#include <genesis/utils/math/regression/glm.hpp>

Detailed Description

Definition at line 99 of file glm.hpp.

Public Attributes

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...
 

Member Data Documentation

◆ 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

bool converged = false

Definition at line 101 of file glm.hpp.

◆ deviance

double deviance = 0.0

Definition at line 156 of file glm.hpp.

◆ df_resid

size_t df_resid = 0

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

Definition at line 155 of file glm.hpp.

◆ num_iterations

size_t num_iterations = 0

Definition at line 102 of file glm.hpp.

◆ rank

size_t rank = 0

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

double scale = 1.0

Scale factor (scalar).

Definition at line 117 of file glm.hpp.

◆ tri

std::vector<double> 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

Matrix<double> 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: