Calculate_IC_Dev {TensorTest2D}R Documentation

The function computing information criterion values and deviances.

Description

The function computing information criterion values and deviances.

Usage

Calculate_IC_Dev(y, w_seq, df, family)

Arguments

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)

Value

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.


[Package TensorTest2D version 1.1.2 Index]