F-Ratio Probabilities and Quantiles

When the page loads, the applet displays Example 7.7. Change the numbers in the text boxes to obtain tail probabilities for the F-Ratio Distribution for different degrees of freedom or values x of the F-ratio statistic. You may also change the probability to find the corresponding value of x.



Slider Instead of Text Box for DF

An alternative display format, selected by a <param> tag in the html code, uses sliders for specifying degrees of freedom. Changing the sliders illustrates how the shape of the F-Ratio density function changes as the degrees of freedom change.



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.FRatio.class"
     width="400" height="400" 
     codebase="../../lib"
	 archive="bolderstats_obf.jar,jmsl_obf.jar">
     <param name="SLIDER" value="TRUE">
     <param name="DF1" value="1">
     <param name="DF2" value="35">
     <param name="PROB" value=".05">
</applet>
   
SLIDER
Controls whether the applet uses a slider (TRUE) or text box (FALSE). Possible values are TRUE and FALSE (default).
DF1
The initial value for DF1, the numeratordegrees of freedom. Possible values are integers between 1 and 10. The default value DF = 5.
DF2
The initial value for DF2, the denominator degrees of freedom. Possible values are integers between DF2 and 50, if SLIDERs are selected and between DF2 and 250 if text boxes are selected. The default value is 20.
PROB
The initial value for the tail probability. Possible values are .001 to .999. The default is .05. Note: to initialize the applet with a particular value of x, find its tail probability and specify that probability here to four or more decimal places if possible.