#include <genesis/utils/math/regression/glm.hpp>
Definition at line 48 of file glm.hpp.
◆ ResidualType
| Enumerator |
|---|
| kDefault | |
| kPearsonResiduals | |
| kDevianceResiduals | |
Definition at line 59 of file glm.hpp.
◆ initial_fittings
| std::vector<double> initial_fittings |
◆ mean_deviance
| bool mean_deviance = false |
Calculate mean null_deviance and mean deviance instead of their sums.
By default, (mean_deviance = false), we calculate the null_deviance and deviance as the sum of unit deviances (see GlmFamily::unit_deviance). If we however set mean_deviance = true, we divide these values by the number of data points, that is, we calculate their mean.
Definition at line 76 of file glm.hpp.
◆ prior_weights
| std::vector<double> prior_weights |
◆ residual_type
◆ strata
| std::vector<size_t> strata |
Strata assignments coded 1...S.
Definition at line 57 of file glm.hpp.
◆ with_intercept
| bool with_intercept = true |
The documentation for this struct was generated from the following file: