myNRML: Newton Raphson Maximum Likelihood

Description Usage Arguments Value Examples

View source: R/myNRML.R

Description

Title

Usage

1
myNRML(x0, delta = 0.001, llik, xrange, parameter = "param")

Arguments

x0

initial x value

delta

threshold that stops iteration above y-axis

llik

log likelihood function

xrange

x-limits for curve

parameter

parameter of the log likelihood function

Value

plots the log likelihood function and newton-rapshon algorithm on the derivative

Examples

1
## Not run: myNRML(1, llik=llogpois, xrange=c(0,40), parameter="lambda")

DevinMcAfee123/MATH4753MCAFEE documentation built on April 27, 2021, 4:31 a.m.