Learn R Programming

RegressionFactory (version 0.7.4)

Expander Functions for Generating Full Gradient and Hessian from Single-Slot and Multi-Slot Base Distributions

Description

The expander functions rely on the mathematics developed for the Hessian-definiteness invariance theorem for linear projection transformations of variables, described in authors' paper, to generate the full, high-dimensional gradient and Hessian from the lower-dimensional derivative objects. This greatly relieves the computational burden of generating the regression-function derivatives, which in turn can be fed into any optimization routine that utilizes such derivatives. The theorem guarantees that Hessian definiteness is preserved, meaning that reasoning about this property can be performed in the low-dimensional space of the base distribution. This is often a much easier task than its equivalent in the full, high-dimensional space. Definiteness of Hessian can be useful in selecting optimization/sampling algorithms such as Newton-Raphson optimization or its sampling equivalent, the Stochastic Newton Sampler. Finally, in addition to being a computational tool, the regression expansion framework is of conceptual value by offering new opportunities to generate novel regression problems.

Copy Link

Version

Install

install.packages('RegressionFactory')

Monthly Downloads

238

Version

0.7.4

License

GPL (>= 2)

Maintainer

Alireza Mahani

Last Published

October 26th, 2020

Functions in RegressionFactory (0.7.4)

fbase2.gaussian.identity.log

Double-Parameter Base Log-likelihood Function for Gaussian GLM
fbase2.inverse.gaussian.log.log

Double-Parameter Base Log-likelihood Function for Inverse-Gaussian GLM
fbase1.binomial.logit

Single-Parameter Base Log-likelihood Function(s) for Binomial GLM
regfac.expand.2par

Expander Function for Two-Parameter Base Distributions
regfac.expand.1par

Expander Function for Single-Parameter Base Distributions
fbase2.gamma.log.log

Double-Parameter Base Log-likelihood Function for Gamma GLM
fbase1.exponential.log

Single-Parameter Base Log-likelihood Function for Exponential GLM
fbase1.geometric.logit

Single-Parameter Base Log-likelihood Function for Exponential GLM
regfac.merge

Utility Function for Adding Two Functions and Their Derivatives
fbase1.poisson.log

Single-Parameter Base Log-likelihood Function for Poisson GLM