dev: Deviance of the model

View source: R/dev.R

devR Documentation

Deviance of the model

Description

Computes the deviance of the model according to the distribution family specified in the "family" parameter.

Usage

dev(muhat, y, family)

Arguments

muhat

current estimation of the response variable

y

response variable

family

A description of the link function used in the model: "gaussian" or "binomial"

Value

the deviance of the model

Author(s)

Ines Ortega-Fernandez, Marta Sestelo.


neuralGAM documentation built on June 22, 2024, 6:55 p.m.