logist_bayes: Fitting the Logistic distribution with Bayesian inference

Description Usage Arguments Value Examples

View source: R/LOGSTIC.R

Description

Function to fit the 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

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 = logistic_bayes(test_data)
FlomKartShinyApp::plot4server(test_data, param = estimate$estimate, distr = 4)

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