gl_bayes: Fitting the GL distribution with Bayesian inference

Description Usage Arguments Value Examples

View source: R/GL.R

Description

Function to fit the Generalized Logistics distribution with BayesianMCMC method We assume that the shape parameter only has a prior with mean zero and standard deviation 0.2 (dnorm(x[3], 0, 0.2))

Usage

1
gl_bayes(dat)

Arguments

dat

the data that needs fitting (i.e. flood data)

Value

param Estimated parameters and standard error returned as a list($estimate, $se)

Examples

1
2
3
library(FlomKartShinyApp)
estimate = gl_bayes(test_data)
FlomKartShinyApp::plot4server(test_data, param = estimate$estimate, distr = 4)

NVE/fitdistrib documentation built on May 7, 2019, 6:04 p.m.