get_deviance: Get the deviance for a model

View source: R/functions.R

get_devianceR Documentation

Get the deviance for a model

Description

Get the deviance for a model

Usage

get_deviance(beta, x, y, family)

Arguments

beta

The vector of coefficients

y

The dependent variable

family

A glm family for the distribution to use, i.e. "binomial()"

X

A matrix containing the covariates (including an intercept if one wants to use one)


jonlachmann/irls.sgd documentation built on March 11, 2023, 7:42 a.m.