GetEstimate_HYDRO2 {HydroPortailStats}R Documentation

Hydro2 estimate of a distribution

Description

Returns an estimate of a distribution as it was computed in the old HYDRO2 software. Only available for distributions 'Normal', 'LogNormal', and 'Gumbel'.

Usage

GetEstimate_HYDRO2(y, dist)

Arguments

y

numeric vector, data

dist

character, distribution name

Value

A list with the following components:

par

numeric vector, estimated parameter vector.

obj

numeric, objective fonction (NA for this estimate)

ok

logical, did computation succeed?

err

integer, error code (0 if ok)

message

error message

Examples

y=c(9.2,9.5,11.4,9.5,9.4,9.6,10.5,11.1,10.5,10.4)
GetEstimate_HYDRO2(y,'Normal')
GetEstimate_HYDRO2(y,'LogNormal')
GetEstimate_HYDRO2(y,'Gumbel')
GetEstimate_HYDRO2(y,'GEV')
GetEstimate_HYDRO2(y,'Poisson')

[Package HydroPortailStats version 1.0.3 Index]