#include <genesis/utils/math/regression/helper.hpp>
Internal helper structure for GLMs to calcualte the residual degrees of freedom.
Definition at line 47 of file utils/math/regression/helper.hpp.
Public Member Functions | |
long | degrees_of_freedom (size_t rank) const |
Calculate the degrees of freedom (dfr). More... | |
Public Attributes | |
size_t | empty_strata = 0 |
Number of empty strata. More... | |
size_t | max_stratum = 1 |
Maximum stratum found (S). More... | |
size_t | valid_entries = 0 |
Number of valid priors (Nu). More... | |
|
inline |
Calculate the degrees of freedom (dfr).
Definition at line 67 of file utils/math/regression/helper.hpp.
size_t empty_strata = 0 |
Number of empty strata.
Definition at line 57 of file utils/math/regression/helper.hpp.
size_t max_stratum = 1 |
Maximum stratum found (S).
Definition at line 62 of file utils/math/regression/helper.hpp.
size_t valid_entries = 0 |
Number of valid priors (Nu).
Definition at line 52 of file utils/math/regression/helper.hpp.