Learn R Programming

fGarch (version 3010.82)

stdFit: Student-t Distribution Parameter Estimation

Description

Function to fit the parameters of the Student-t distribution.

Usage

stdFit(x, ...)

Arguments

x
a numeric vector of quantiles.
...
parameters parsed to the optimization function nlm.

Value

  • stdFit returns a list with the following components:
  • parThe best set of parameters found.
  • objectiveThe value of objective corresponding to par.
  • convergenceAn integer code. 0 indicates successful convergence.
  • messageA character string giving any additional information returned by the optimizer, or NULL. For details, see PORT documentation.
  • iterationsNumber of iterations performed.
  • evaluationsNumber of objective function and gradient function evaluations.

References

Fernandez C., Steel M.F.J. (2000); On Bayesian Modelling of Fat Tails and Skewness, Preprint, 31 pages.

Examples

Run this code
## std -
   set.seed(1953)
   r = rstd(n = 1000)

       
## stdFit -
   stdFit(r)

Run the code above in your browser using DataLab