Skip to Main Content

Stata Teaching Tools:  F-distribution

Purpose:  The purpose of this program is to display an
F-distribution for the number of degrees of
freedom specified by the user. 

Download:  You can download this program from within Stata by
typing search fdemo (see
How can I used the search command to search for programs and get additional
help?
for more information about using search).

Use of program:  To use this program, type fdemo df1 df2 in the
Stata command window.  This opens a Stata graph window showing an
F-distribution with degrees of freedom equal to df1 and df2. 

Examples:  The following shows the output from issuing the fdemo
command with degrees of freedom 3 and 10.  

. fdemo 3 10

Image fdemocrw1

The next example adds an alpha of .01.

. fdemo 3 10 .01

Image fdemocrw2