View source: R/MARGE_package.R
stat_out_score_glm_null | R Documentation |
A function that calculates parts of the score statistic for GLMs only (it is used for the full path for forward selection).
stat_out_score_glm_null(Y, family = "gaussian", B_null, nb = FALSE, ...)
Y |
: the response variable. |
family |
: the specified "exponential" family for the GLM. The default is |
B_null |
: model matrix under the null model. |
nb |
: a logical argument, is the model a negative binomial model? The default is |
... |
: further arguments passed to or from other methods. |
stat_out_score_glm_null
returns a list of values (mainly products of matrices) that make up the final score statistic calculation (required for another function).
Jakub Stoklosa and David I. Warton.
Stoklosa, J., Gibb, H. and Warton, D.I. (2014). Fast forward selection for generalized estimating equations with a large number of predictor variables. Biometrics, 70, 110–120.
Stoklosa, J. and Warton, D.I. (2018). A generalized estimating equation approach to multivariate adaptive regression splines. Journal of Computational and Graphical Statistics, 27, 245–253.
stat_out
and stat_out_score_glm_null
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.