Areadoc2 9/20/05

Revised Programs for Probabilities for Continuous Distributions

I have just revised the programs (Minitab macros) that I developed to do probabilities for the Normal, t, Chi-squared and F distributions. I have restored the high density of points and corrected a few bugs in the graphics.

The new programs are below with their URLs. Note that the examples can only be copied with Minitab as explained on the next page.

Normal Distribution Area programs:

NormArea6A.txt ( A self-prompting program to compute areas under the Normaldistribution. Enter with %normarea6a.

NormArea6C.txt and NormArea6.txt. ( and A program that enables you to stack up a number of Normal distribution problems and run them. For an example of how to set up the inputs see Enter with %normarea6c.

t Distribution Area programs:

tArea6A.txt ( self-prompting program to compute areas under the t distribution. Enter with %tarea6a.

tArea6C.txt and tArea6.txt ( and ( program that enables you to stack up a number of t distribution problems and run them. For an example of how to set up the inputs see Enter with %tarea6c.

Chi-squared Distribution Area programs:

ChiArea6A.txt ( self-prompting program to compute areas under the chi-squared distribution. Enter with %chiarea6a.

ChiArea6C.txt and ChiArea6.txt ( and

A program that enables you to stack up a number of chi-squared distribution problems and run them. For an example of how to set up the inputs see Enter with %chiarea6c.

F Distribution area programs:

FArea6A.txt ( A self-prompting program to compute areas under the t distribution. Enter with %farea6a.

FArea6C.txt and FArea6.txt (

and A program that enables you to stack up a number of chi-squared distribution problems and run them. For an example of how to set up the inputs see Enter with %farea6c.

Use Notepad (under ‘tools’ in Minitab’) to convert their extensions from .txt back to .mac. To see how they are used, look at which was made up for the previous versions of these macros, but still works if the appropriate changes are made in the commands.

The trick that I have used to start these is to set up a data file using Minitab before I start. Then I put the Minitab macros in the same file, so that when you use a command beginning with ‘%,’ Minitab will know where to find them.

Because of the high density of the vertical lines in these graphs, you should not use the ‘copy graph’ option in the edit menu to move the graphs into a document. This produces documents that take forever to load. Instead do the following with each graph. While you are in Minitab, click on the graph and use the ‘File’ menu; choose ‘Save Graph as….’ A menu will appear. Pick a type (like ‘.jpg’ for color or ‘.png’ for black and white) under ‘Save as type …’ give the graph a name like ‘graph1.jpg’ and the graph will be placed in the same file that contains your data and macro. You can now use the ‘Insert’ menu in Word to insert a picture.

* To use these worksheets, open Minitab and use the file menu and ‘open worksheet.’ Place the entire URL in the ‘file name’ box and hit the ‘open’ button.

Word copies of these worksheets follow.

MTB > WOpen "C:\Documents and Settings\rbove\My Documents\Minitab\252PrA1d-f.MTP".

Retrieving worksheet from file: 'C:\Documents and Settings\rbove\My

Documents\Minitab\252PrA1d-f.MTP'

Worksheet was saved on Tue Sep 20 2005

Results for: 252PrA1d-f.MTP

MTB > print c1-c5

Data Display

Row C1 C2 C3 C4 C5

1 5 6 8.00 9.00 2

2 0 1 0.50 9.00 2

3 5 6 2.00 9.00 2

4 0 1 -0.50 9.00 2

5 5 6 3.00 6.00 0

6 0 1 -0.33 0.17 0

MTB > WOpen "C:\Documents and Settings\rbove\My Documents\Minitab\tEx1.MTW".

Retrieving worksheet from file: 'C:\Documents and Settings\rbove\My

Documents\Minitab\tEx1.MTW'

Worksheet was saved on Fri Jan 28 2005

Results for: tEx1.MTW

MTB > print c1-c5

Data Display

Row C1 C2 C3 C4 C5

1 41 0 -1.303 1.303 0

2 41 0 -1.303 1.303 1

3 41 0 -1.303 1.303 2

4 120 0 -0.677 0.677 0

5 4 0 -3.747 3.747 0

MTB > WOpen "C:\Documents and Settings\rbove\My Documents\Minitab\ChiEx1.MTW".

Retrieving worksheet from file: 'C:\Documents and Settings\rbove\My

Documents\Minitab\ChiEx1.MTW'

Worksheet was saved on Fri Jan 28 2005

Results for: ChiEx1.MTW

MTB > print c1-c4

Data Display

Row C1 C2 C3 C4

1 4 0 -4.0000 4.0000

2 10 0 3.2470 20.4832

3 10 0 3.2470 20.4832

4 10 0 3.2470 20.4832

5 50 0 27.9907 79.4896

MTB > WOpen "C:\Documents and Settings\rbove\My Documents\Minitab\FEx1.MTW".

Retrieving worksheet from file: 'C:\Documents and Settings\rbove\My

Documents\Minitab\FEx1.MTW'

Worksheet was saved on Sat Jan 29 2005

Results for: FEx1.MTW

MTB > print c1-c4

Data Display

Row C1 C2 C3 C4

1 3 5 1.50000 3.62

2 3 5 1.50000 3.62

3 4 5 3.62000 5.00

4 50 60 0.00000 1.56

5 50 5 6.14000 6.00

6 50 60 1.56000 6.00

7 50 50 0.69444 1.44

1