ENGR 3423 Probability & Statistics
To Create a Histogram in Excel
- Start Excel.
- Under the Tools option in the menu, choose Add-Ins.
Check Analysis Toolpak. This loads the data analysis
toolpak.
- Open the text/data file containing the data you wish to analyze.
The data should all be in one column.
- Determine the first and last bin values. Determine the number
of bins you want to use. Place the bin values in ascending
order in an adjacent column.
- Under the Tools menu, choose Data Analysis.
Then choose Histogram from the list.
- Select the data for the Input Range.
- Select the bin values for the Bin Range;
(optional, Excel can create them automatically).
- Check the Chart Output box.
- Click OK.
- Excel then creates the histogram. However, there are spaces
remaining between the bars. Right click on the bars and choose
Format Data Series. Under the Options tab, set the
gap spacing to zero.
To Create a Normal Probability Plot in Excel
- Start Excel.
- Open the text/data file containing the data you wish to analyze.
The data should all be in one column.
- Load the Analysis Toolpak as follows:
Under the Tools menu, choose Add-ins.
From the list select Analysis Toolpak.
This will allow you to perform many statistical functions within
Excel.
- Create a new column of data adjacent to the original data.
The new column can contain any values as long as it has the same
number of entries as the original data.
- Under the Tools menu, choose Data Analysis, and then
Regression. Follow the directions given in the dialog
box.
- Enter values for the Input Y Range. The Input Y Range contains
the data for which you want the probability plot.
- Enter values for the Input X Range. These are irrelevant in
this case. We are only interested in the Normal Probability
Plot option.
- Check the Normal Probability Plots option.
- Click OK. Excel creates a normal probability plot.
- Click on the newly created chart. Under Chart in the menu,
choose Add Trendline. Under the Type tab, choose
the linear option. Under the Options tab, check
Display R-squared value on chart.
The square root of the R-squared value is the correlation
value.
To Create a Histogram in Minitab
[See also the first
Minitab tutorial.]
- Start Minitab.
- Under the File option in the menu, choose Import ASCII
Data. Load the given data into column C1.
- Under the Graph option in the menu, choose Histogram.
Enter the location of the data in the Variables box.
Enter the midpoints of the first and last bin, and the bin width.
This produces a histogram.
- Under the Edit option in the menu, choose Set Patterned
Data. Generate 60 data points ranging from the first bin
to the last bin.
- Under the Calculation option in the menu, choose Probability
Distributions. Generate the appropriate number of the data
points based on the mean and standard deviation of the given data.
- Then, under the Graph option in the menu, choose Scatter
Plot. Plot the distribution curve for the data using the
input data and the associated probabilities.
[Return to your previous page]
Created 2001 10 30 and last modified 2003 08 29 by
Dr. G.H. George,
from information supplied by Paul Stuckey.