mymaxlik: A function to find the maximum likelihood estimate for a...

Description Usage Arguments Value Examples

View source: R/mymaxlik.R

Description

A function to find the maximum likelihood estimate for a parameter.

Usage

1
mymaxlik(lfun, x, param, ...)

Arguments

lfun

The function to apply to the generated matrix of all values.

x

The data points.

param

The parameter values to consider.

...

Extra arguments to send to plot functions.

Value

A list of all related data, and a graph representing the maximum likelihood estimate.

Examples

1
## Not run: mymaxlik(x=c(3,3,4,3,4,5,5,4), param=seq(0,1, length=1000), lfun=logbin,xlab=expression(pi),main="Binomial",cex.main=2)

ShilohBeeler/shilohMATH4753 documentation built on Nov. 21, 2020, 9:10 a.m.