Calculate_IC_Dev | R Documentation |
The function computing information criterion values and deviances.
Calculate_IC_Dev(y, w_seq, df, family)
y |
A numerical vector. Dependent variable. |
w_seq |
A numerical vector. Fitted values of the tensor regression model. |
df |
integer. Degree of freedom. |
family |
Family of generalized linear model. Provide three options for model.(see more details in Details) |
A list.
IC: The values of Akaike information criterion (AIC) and Bayesian information criterion (BIC).
DoF: The values of the residual degrees of freedom for the null model and the residual degrees of freedom.
Dev_res: The deviance values of residuals.
Dev: The deviance values for the null model and the working model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.