Learn R Programming

ExtDist (version 0.7-2)

eval.estimation: Parameter Estimation Evaluation.

Description

A function to evaluate the parameter estimation function.

Usage

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

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.

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.

Author

Haizhen Wu and A. Jonathan R. Godfrey.

Examples

Run this code
eval.estimation(rdist = rBeta, edist = eBeta, n = 100, rep.num = 50,
params = list(shape1 = 1, shape2 = 5))

Run the code above in your browser using DataLab