weight: Weights

View source: R/weight.R

weightR Documentation

Weights

Description

Computes the weights for the Local Scoring Algorithm.

Usage

weight(w, muhat, family)

Arguments

w

weights

muhat

fitted values

family

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

Value

computed weights for the Local Scoring algorithm according to the "family" distribution

Author(s)

Ines Ortega-Fernandez, Marta Sestelo.


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