A library for working with phylogenetic and population genetic data.
v0.27.0
glm.hpp File Reference

Go to the source code of this file.

Classes

struct  GlmControl
 
struct  GlmExtras
 
struct  GlmOutput
 

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

GlmOutput glm_fit (Matrix< double > const &x_predictors, std::vector< double > const &y_response, GlmExtras const &extras={}, GlmControl const &control={})
 Fit a Generalized Linear Model (GLM) using a linear gaussian model. More...
 
GlmOutput glm_fit (Matrix< double > const &x_predictors, std::vector< double > const &y_response, GlmFamily const &family, GlmExtras const &extras={}, GlmControl const &control={})
 Fit a Generalized Linear Model (GLM). More...
 
GlmOutput glm_fit (Matrix< double > const &x_predictors, std::vector< double > const &y_response, GlmFamily const &family, GlmLink const &link, GlmExtras const &extras={}, GlmControl const &control={})
 Fit a Generalized Linear Model (GLM). More...