virocon-organization / viroconweb

A software to compute environmental contours. Django web-application package.
MIT License
2 stars 1 forks source link

Add third parameter (theta) to the Weibull equation #169

Closed ahaselsteiner closed 6 years ago

ahaselsteiner commented 6 years ago

I'm submitting a ...

Expected behavior

How should it work (with the bug fixed or the feature implemented)? We use a 3-parameter Weibull pdf, consequently the equatinon should have 3 parameters.

Screenshot

Actual behavior

How does it currently work (with the bug causing problems or without the feature)? The shown equation has 2 parameters.

Screenshot image

Steps to reproduce the problem (how to see the actual behavior)

1. 2. 3.

ahaselsteiner commented 6 years ago

The equation should be the same as in the papers by Haselsteiner (2017) and Vanem and Bitner-Gregersen (2012). Consequently, we should use alpha, beta and gamma (scale, shape and location respectively).

ahaselsteiner commented 6 years ago

New equation: image

View model: image

View pdf report: image

ahaselsteiner commented 6 years ago

Done and merged.