Parameter Estimation Evaluation.

Description

A function to evaluate the parameter estimation function.

Usage

1
2
eval.estimation(rdist, edist, n = 20, rep.num = 1000, params,
  method = "numerical.MLE")

Arguments

rdist

Random variable generating function.

edist

Parameter estimation function.

n

Sample size.

rep.num

Number of replicates.

params

True parameters of the distribution.

method

Estimation method.

Value

A list containing the mean and sd of the estimated parameters.

na.cont returns the number of "na"s that appeared in the parameter estimation.

Author(s)

Haizhen Wu and A. Jonathan R. Godfrey.

Examples

1
2
eval.estimation(rdist=rNormal,edist=eNormal,n = 100, rep.num = 50,
params = list(mean = 1,sd = 5))