Learn R Programming

ERPeq (version 0.1.0)

fitgumbel: Fitting the Gumbel distribution

Description

Fitting the Gumbel distribution

Usage

fitgumbel(starts, data)

Value

List the estimated parameters of the distribution with standard errors and goodness-of-fit statistics.

Arguments

starts

A vector defining the starting values for the Nelder-Mead algorithm.

data

A vector containing the observations

Examples

Run this code
library(VGAM)
data=rgumbel(500,2,0.5)
fitgumbel(starts =c(2,2),data=data)

Run the code above in your browser using DataLab