gradient: Gradient

gradientR Documentation

Gradient

Description

Returns the gradient of the opposite of the log-likelihood evaluated at the passed parameters.

Usage

gradient(object, parameters)

## S4 method for signature 'diseq_basic'
gradient(object, parameters)

## S4 method for signature 'diseq_deterministic_adjustment'
gradient(object, parameters)

## S4 method for signature 'diseq_directional'
gradient(object, parameters)

## S4 method for signature 'diseq_stochastic_adjustment'
gradient(object, parameters)

## S4 method for signature 'equilibrium_model'
gradient(object, parameters)

Arguments

object

A model object.

parameters

A vector of parameters at which the gradient is to be evaluated.

Value

The opposite of the model log likelihood's gradient.


diseq documentation built on June 2, 2022, 1:10 a.m.