Lab Assignment 1: Tutorial For Statgraphics Plus: Ie 355: Quality and Applied Statistics I
Lab Assignment 1: Tutorial For Statgraphics Plus: Ie 355: Quality and Applied Statistics I
LAB ASSIGNMENT 1:
TUTORIAL FOR STATGRAPHICS PLUS
Data may be input directly into spreadsheets within Statgraphics or imported from
text files or other spreadsheet programs. For example, consider a data file that contains
information about cars. The three columns are horsepower, mpg, and carmakers. The
first column gives the horsepower for 100 car models; similarly, the second gives the
miles per gallon for each car model. The third column only contains three entries and is a
list of the countries that produce the cars. Note that two of the variables are numeric and
one consists of characters. Note that two columns contain 100 entries and the third
column only 3 entries.
We store data from Statgraphics into data files whose file extension is .sf3. Data
files are readable by Statgraphics only. Statgraphics provides a few sample data files.
These data files can be found in the directory (or folder) named C:\Program
Files\Statgraphics\STATGRAPHICS Plus 5.0\Test Data (do not store your personal
data in this directory! See instructions below.). The data for the example in the above
paragraph can be found in the sample data file cardata.sf in the given Statgraphics sample
data directory.
In Statgraphics you have several objects that comprise a project, for example, a
histogram, a data file, a control chart, and a gage analysis. We can save all of these
objects together into what Statgraphics calls a “StatFolio”. StatFolio files have the
extension .sgp. When we come back to the project at another time we can restore all the
data and analyses without having to redo the analyses.
When you complete part or all of an assignment you must save your work in your
own personal directory. That can be to a floppy disk or onto your personal drive Z:. For
example, you may choose to create a directory called Z:\IE355 to store the work you do
for this class.
Note: DCLICK means double click left mouse button; RCLICK means click right
mouse button. OK means click OK button.
Logon to the computer and press Start in the lower left corner of the screen.
DCLICK My Computer icon on the pop-up menu.
DCLICK Z: drive in right pane. Your last name is in front of Z:
CLICK File > New > Folder
You will see a folder icon and the text “New Folder” highlighted. Just start
typing a name for the folder, like, IE 355, then ENTER.
To Start StatGraphics
Tutorial Exercises
Create a new data file with two numeric variables and save it.
Start StatGraphics. An EXCEL like worksheet is displayed.
CLICK Col_1. The first column has been select and it becomes shaded.
RCLICK anywhere on worksheet.
CLICK Modify Column…. Change Name to Sales. Make sure that data is
specified as numerical, i.e., select the radio button next to Numeric. OK.
Note that the column name has changed. Sales gives the dollar amount sold
in $1000.
CLICK the first cell of Sales column, then enter value 0.407. Hit return and cursor
will be positioned at next cell. Here is the rest of the data:
(.407), .293, .276, .274, .255, .253, .248, .245, .240, .239, .223, .211, .
200, .189
CLICK Col_2. The second column becomes shaded.
Edit an Existing File. Add a new character variable and create a new
numeric variable that is a function of the first two.
CLICK File > Open > Open Data File
CLICK the data filename cosmetic.sf3. Open.
DCLICK the cosmetic.sf3 taskbar button to restore the spreadsheet.
CLICK Col_3. The third column becomes shaded.
RCLICK Modify Column. Change the name to Products. Also specify that data type
is Character. OK. Note that the column name has changed.
CLICK the first cell of Products column, then enter value prod01. Hit return and
cursor will be positioned at next cell. Here is the rest of the data: prod02,
prod03, ... , prod14
CLICK Col_4. The fourth column becomes shaded.
RCLICK Modify Column. Change the name to Avgprice. Also specify that data type
is fixed decimal with 2 decimal places. OK. Note that the column name has
changed. Avgprice is the average price per unit sold.
Statgraphics allows you to save data and analyses you have already performed into
a “StatFolio.” In this section, you will open the data file Qcdata and perform a One-
Variable Analysis on the variable burgers. This variable is the weight in ounces of burgers
made at the burger factory. This analysis will include the tabular results: Summary
Add to the StatFolio with additional analyses about cereal and set up
a control chart.
So far, you have saved a StatFolio with for the burger variable. Now, you will
create the same analysis for another variable called cereal. To do this we do not have to
repeat the entire analysis, we can just make a copy of the burger analysis and use it for
cereal. Yum.
CLICK File > Open > Open StatFolio. Select Burgers.sgp from Z:\IE355 directory.
The Burgers StatFolio will appear.
CLICK Edit > Copy Analysis from the Menu bar to make the copy.
NOTE: Control charts will be introduced to you later in the term. Don’t worry if
you do not understand the concepts right now.
CLICK Special > Quality Control > Variables Control Charts > X-bar and R….
DCLICK cereal and it will appear in the Data text box just under the Observations radio
button
CLICK in the text box labled Subgroup Numbers or Size. Type 5. OK. The analysis
appears, i.e., one tabular output and one graphical output.
CLICK Graphical Options button on the Analysis Toolbar. Check both the X-bar
Chart and the Range Chart check boxes (only). OK. Only theRange control
chart appears.
Rename the StatFolio and save it as Burgers and Cereal in your Z:\IE355
directory. Close the analysis.
Statgraphics offers two features to organize your results for printing and
distribution. The StatGallery allows you to arrange several panes (tabular or graphical) on
one page. The StatGallery is good for arranging many things onto one page but could be
hard to read and it does not allow you to add your own documentation.
The StatReporter creates a rich text document from the tabular and graphical
panes that you can edit with Word or Notepad. The StatReporter is better suited for
reports that are to be given to others to read.
Here we will arrange the One-Variable Analysis of the burger variable onto one
page and print using the StatGallery feature.
Open the statfolio for Burgers from your Z:\IE355 directory. (If it is not
already, restore the One-Variable analyses on burger so you can see it.)
DCLICK StatGallery taskbar button at bottom to restore the StatGallery window. You
should see four blank panes.
RCLICK in Summary Statistics pane from the One-Variable Analysis Window. Copy.
RCLICK upper left pane in StatGallery window. Paste. Summary Statistics tabular
data appears.
RCLICK in Stem and Leaf Display pane from the One-Variable Analysis Window.
Copy.
RCLICK lower left pane in StatGallery window. Paste.
RCLICK in Frequency Histogram graphical pane from the One-Variable Analysis
Window. Copy.
RCLICK upper right pane in StatGallery window. Paste.
Repeat for the Box-and-Whisker Plot. Paste it into lower right pane of
StatGallery.
RCLICK anywhere in StatGallery. Select Print…. A dialog window appears. OK.
Save the Burgers StatFolio. A dialog window appears “Save current
StatGallery?”. Select Yes. Name the StatGallery Burgers.sgg. Save. Close
the Burgers StatFolio.
Here we will arrange the One-Variable Analysis and the Xbar and R chart analysis
for cereal onto a single report and print using the StatReporter feature.
Open the statfolio for Burgers and Cereal from your Z:\IE355 directory. (If
it is not already, restore the One-Variable analysis on cereal so you can see it.)
DCLICK StatReporter taskbar button at bottom to restore the StatReporter window.
It should be blank.
RCLICK Anywhere in the one-variable analysis window. Choose Copy Analysis to
StatReporter…. All four panes are copied to the StatReporter window.
CLICK Anywhere in StatReporter to view the report.
Minimize the One-Variable analysis on cereal and restore the X-bar and R
chart analysis so that you can see it.
RCLICK Anywhere in the X-bar and R chart analysis window. Copy Analysis to
StatReporter…. Notice the control chart analysis is appended to the end of
the one-variable analysis in the StatReporter.
CLICK the StatReporter window. Mover the cursor to the top of the report. In size
20 font, type: “Cereal Analysis and Control Charts” Enter (twice). “Your
Name”. Enter (twice).
RCLICK Print…. OK.
Save and Close Burgers and Cereal StatFolio and StatReport in Z:\IE355.
Hand in print-outs stapled together in this order: Cereal Report, Burger Gallery,
and Cosmetic tabular outputs.