glm.grad: Gradient for GLM

glm.gradR Documentation

Gradient for GLM

Description

Gradient for GLM

Usage

glm.grad(x, y, theta, idx, family)

Arguments

x

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

y

The dependent variable.

theta

The coefficient vector to use.

idx

The observation indices to use.

family

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


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