newton.raph: Newton Raphson Alogorithm

Description Usage Arguments Value Author(s)

View source: R/newton.raph.R

Description

A method for obtaining successively better approximations for the optimal value of a function. Named after Sir Isaac Newton and Joseph Raphson.

Usage

1
  newton.raph(f, d1f, d2f, start, tol = 1e-06)

Arguments

f

The function that you want to optimize.

d1f

the 1st derivative of the function.

d2f

the 2nd derivative of the function.

start

The starting value for optimization.

tol

The level of tolerance desired for convergence.

Value

Estimate Initial estimate of the optimum value.

Iterations Number of cycles used to obtain the optimum value of the function.

Liklihood Optimum value

Author(s)

Tyler Hunt tyler@psychoanalytix.com


JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.