Learn R Programming

ExtDist (version 0.6-3)

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")

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.

Examples

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

Run the code above in your browser using DataLab