View source: R/Estimation_ROUGH.R
GetEstimate_ROUGH | R Documentation |
Returns a rough first-guess estimate of a distribution. This estimate may be poor but it solely aims at being used as a starting point for more advanced estimation approaches (e.g. max-likelihood or Bayesian). It is therefore chosen as an easy-to-compute explicit formula, robust and error-proof.
GetEstimate_ROUGH(y, dist)
y |
numeric vector, data |
dist |
character, distribution name |
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 |
y=c(9.2,9.5,11.4,9.5,9.4,9.6,10.5,11.1,10.5,10.4)
GetEstimate_ROUGH(y,'Normal')
GetEstimate_ROUGH(y,'LogNormal')
GetEstimate_ROUGH(y,'Gumbel')
GetEstimate_ROUGH(y,'GEV')
GetEstimate_ROUGH(y,'Poisson')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.