gamma_fit_approximate_newton_method: gamma fit approximate newton method

View source: R/RcppExports.R

gamma_fit_approximate_newton_methodR Documentation

gamma fit approximate newton method

Description

fit gamma model with approximate newton method.

Usage

gamma_fit_approximate_newton_method(x, y, weights, beta, coef0, lambda)

Arguments

x

Input matrix, of dimension n \times p; each row is an observation vector and each column is a predictor/feature/variable.

y

The response variable, of n observations.

weights

Observation weights.

beta

Initial value of linear coefficient.

coef0

Initial value of intercept.

lambda

L2 penalty coefficient.

Value

Intercept and linear coefficient.


bbayukari/StatComp21077 documentation built on March 21, 2022, 2:03 a.m.