Comparing Gamma Density Functions
This applet faciliates the comparison of shapes of gamma probability density functions with different values of parameters alpha and beta. For any of the color-coded curves, change its values of alpha and beta in the text box and press the "Return" key to update the graphs. When this page loads it displays the three gamma density functions in Figure 4.16. Note that with alpha = 1, these are exponential density functions, a special case of the gamma. Change the parameters in the text boxes to explore how the parameters of the gamma density function affect its shape.
HTML and Param Tags
Below is sample code to place this applet on an html page. The codebase is specified relative to the html file and does not need to be "../../lib" as below.
<applet code="com.bolderstats.density.ExponentialCompare.class"
width="500" height="300"
codebase="../../lib" archive="bolderstats_obf.jar,jmsl_obf.jar">
</applet>
- a1, a2, and a3
- Values of the alpha parameter, respectively, of the three gamma curves. The default values are, respectively, 1, 2, and 4.
- b1, b2, and b3
- Values of the beta parameter, respectively, of the three gamma curves. The default values are, respectively, 1, 1, and 1.
