gradient: Estimation of gradient of log-likelihood function

View source: R/gradient.R

gradientR Documentation

Estimation of gradient of log-likelihood function

Description

First derivative of log-likelihood function

Usage

gradient(x, y, beta)

Arguments

x

a design matrix which is a product of inner product of basis functions and basis coefficients of functional covariate X

y

a response variable of class factor

beta

initial values for beta regression coefficients and intercepts

Value

grd

a vector of gradient values at the estimated optimum


FREG documentation built on May 9, 2022, 5:07 p.m.

Related to gradient in FREG...