Docsity

MINITAB Project 3: Generating and Analyzing Histograms of Probability Distributions, Study Guides, Projects, Research of Probability and Statistics

Toggle sidebar
bg1
Stat 100 MINITAB Project 3
(With amendments for Version 14)
Purpose: To use MINITAB to produce density histograms for the Bernoulli, Uniform,
Standard Normal, and Binomial probabillity distributions from randomly generated data.
Reading: Text, section 5.5 on Bernoulli Trials, 5.6 on the Binomial Distribution, 6.3 on
the Standard Normal Distribution, and page 139 on the Uniform Probability Distribution.
Turn in: A total of 15 histograms (3 Bernoulli distributions, 3 uniform distributions, 3
standard normal distributions, and 6 binomial distributions) and the answers to the
questions at the end of this assignment.
Instructions: What follows are the MINITAB commands for producing density
histograms from randomly generated data. Words in capital letters followed by the
symbol > indicate a sequence of menu items to be selected/clicked.
I. The Bernoulli Distribution. Begin by having MINITAB generate 3 columns of
randomly generated data then produce a density histogram for each. The columns will
have 10, 50, and 5000 observations in them respectively. The commands are:
CALC>RANDOM DATA>BERNOULLI then type 10 for “rows of data”, C1 in the
“Store in columns” box, and .5 in the “Probability of success” box then click OK.
MINITAB will generate a sequence of ones (success) and zeros (failure) corresponding to
the ten trials and enter them in the column C1.
To produce a density histogram: GRAPH>HISTOGRAM>OPTIONS>DENSITY enter
C1 in the “Graphs variables” box. Then ANNOTATION>TITLE, type “Bernoulli (.5)
Distribution, 10 Trials”. Print the histogram now or minimize and print it later using the
“Manage graphs” icon.
For Version 14, the commands are: GRAPHS>HISTOGRAM>SIMPLE>Y
SCALE>DENSITY>OK. Enter C1 in the “Graphs variables” box, click “Labels” and
type the title above, then OK>OK.
Next, repeat the process using C2 with 50 rows and C3 with 5000. You may have to
delete the data in C1 and C2 if MINITAB indicates that you have exceeded 5000. If so,
either “erase” the columns at the prompt or go to “Manip” on the menu bar and delete
them (or highlight them and press delete).
Title the two histograms “Bernoulli (.5) Distribution, 50 Trials” and “Bernoulli (.5)
Distribution, 5000 Trials” respectively. Delete the data in C1, C2, and C3.
II. The Uniform Distribution. Now have MINITAB generate random numbers from the
interval [0,1] using the following commands.
CALC>RANDOM DATA>UNIFORM, then 50 rows, store in C1
CALC>RANDOM DATA>UNIFORM, then 500 rows, store in C2
CALC>RANDOM DATA>UNIFORM, then 4400 rows, store in C3
Produce and print the graph for the data in C1 by
GRAPH>HISTOGRAM, enter C1 for X
ANNOTATION>TITLE, type “Uniform Distribution on [0,1], 50 Trials”
pf2

Partial preview of the text

Download MINITAB Project 3: Generating and Analyzing Histograms of Probability Distributions and more Study Guides, Projects, Research Probability and Statistics in PDF only on Docsity!

Stat 100 MINITAB Project 3

(With amendments for Version 14) Purpose: To use MINITAB to produce density histograms for the Bernoulli, Uniform, Standard Normal, and Binomial probabillity distributions from randomly generated data. Reading: Text, section 5.5 on Bernoulli Trials, 5.6 on the Binomial Distribution, 6.3 on the Standard Normal Distribution, and page 139 on the Uniform Probability Distribution. Turn in: A total of 15 histograms (3 Bernoulli distributions, 3 uniform distributions, 3 standard normal distributions, and 6 binomial distributions) and the answers to the questions at the end of this assignment. Instructions: What follows are the MINITAB commands for producing density histograms from randomly generated data. Words in capital letters followed by the symbol > indicate a sequence of menu items to be selected/clicked. I. The Bernoulli Distribution. Begin by having MINITAB generate 3 columns of randomly generated data then produce a density histogram for each. The columns will have 10, 50, and 5000 observations in them respectively. The commands are: CALC>RANDOM DATA>BERNOULLI then type 10 for “rows of data”, C1 in the “Store in columns” box, and .5 in the “Probability of success” box then click OK. MINITAB will generate a sequence of ones (success) and zeros (failure) corresponding to the ten trials and enter them in the column C1. To produce a density histogram: GRAPH>HISTOGRAM>OPTIONS>DENSITY enter C1 in the “Graphs variables” box. Then ANNOTATION>TITLE, type “Bernoulli (.5) Distribution, 10 Trials”. Print the histogram now or minimize and print it later using the “Manage graphs” icon. For Version 14, the commands are: GRAPHS>HISTOGRAM>SIMPLE>Y SCALE>DENSITY>OK. Enter C1 in the “Graphs variables” box, click “Labels” and type the title above, then OK>OK. Next, repeat the process using C2 with 50 rows and C3 with 5000. You may have to delete the data in C1 and C2 if MINITAB indicates that you have exceeded 5000. If so, either “erase” the columns at the prompt or go to “Manip” on the menu bar and delete them (or highlight them and press delete). Title the two histograms “Bernoulli (.5) Distribution, 50 Trials” and “Bernoulli (.5) Distribution, 5000 Trials” respectively. Delete the data in C1, C2, and C3. II. The Uniform Distribution. Now have MINITAB generate random numbers from the interval [0,1] using the following commands. CALC>RANDOM DATA>UNIFORM, then 50 rows, store in C CALC>RANDOM DATA>UNIFORM, then 500 rows, store in C CALC>RANDOM DATA>UNIFORM, then 4400 rows, store in C Produce and print the graph for the data in C1 by GRAPH>HISTOGRAM, enter C1 for X ANNOTATION>TITLE, type “Uniform Distribution on [0,1], 50 Trials”

OPTIONS>DENSITY>OK>OK>FILE>PRINT GRAPH

For Version 14, the commands are: GRAPH>HISTOGRAM>SIMPLE>OK. Type C1 in the “Graphs variables” box and click Labels and type the above title in the Title box. Then OK>SCALE>Y SCALE TYPE>DENSITY>OK>OK. Repeat this procedure for the data in C2 and C3 titling the graphs appropriately. Delete the data in C1, C2, and C3. III. The Standard Normal Distribution. Generate random data for 3 columns of 50, 500, and 4400 rows respectively and produce the corresponding density histograms. Repeat the procedure in II above replacing “UNIFORM” with “NORMAL”. Title the graphs “Standard Normal Distribution N(0,1), 50 Trials”...500 Trials” ...4400 Trials” respectively. IV-A .The Binomial Distribution with P = .5. First generate random data for 3 columns of 1000 rows each, p = .5, and n = 10, 25, and 100 respectively. The commands are: CALC>RANDOM DATA>BINOMIAL, n = 10, p = .5, 1000 rows, store in C CALC>RANDOM DATA>BINOMIAL, n = 25, p = .5, 1000 rows, store in C CALC>RANDOM DATA>BINOMIAL, n = 100, p = .5, 1000 rows, store in C Produce and print the graphs titling them “Binomial (10,.5) Distribution, 1000 Trials” (with suitable changes for n). IV-B. The Binomial Distribution with P = .05. Now repeat the procedure in IV-A above replacing p = .5 with p = .05. Produce and print the 3 graphs titling them appropriately. Questions: Answer precisely and concisely the following.

  1. What is the shape of the density histograms for the Bernoulli distributions? Why do they have this shape?
  2. What shapes do the uniform distributions have? Explain why they appear this way. What tendency do you notice as the number of trials increases?
  3. What shapes do the standard normal distributions have? Explain why they appear this way. What tendency do you notice as the number of trials increases?
  4. What shapes do the binomial distributions have for p = .5 and p = .05? Explain why they appear this way. What tendency do you notice as the number of trials increases?