Learn R Programming

neuralGAM (version 2.0.1)

weight: Weights

Description

Computes the weights for the Local Scoring Algorithm.

Usage

weight(w, muhat, family)

Value

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

Arguments

w

weights

muhat

fitted values

family

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

Author

Ines Ortega-Fernandez, Marta Sestelo.

Ines Ortega-Fernandez, Marta Sestelo