Docsity

STAT 305B Fall 2007 Homework 3: Data Analysis and Visualization, Assignments of Statics

Toggle sidebar
bg1
STAT 305B Fall 2007
Homework 3 (Due 9/13)
•Reading Assignment: Chapter 3: 3.1, 3.2 and 3.3.
•Problem 1: A sample of 15 measurements follow:
97 120 137 124 117 108 134 126 123 106 130 110 100 120 140.
Make a dot diagram, a stem-and-leaf plot, a frequency table and a histogram of these data.
In the following exercises, JMP can be used to facilitate producing boxplots. For the side-by-side boxplots,
you may need the procedure described in the JMP practice. You may use the data file in the text CD to
expedite your work.
•Problem 2: P114-3.
•Problem 3: P116-8 ignore (c) and do the following extra:
(g) Make a normal plot for the data of Compound 1. Describe the pattern of the normal plot,
does it look linear? In terms of comparing the “shape” of the data to a standard normal one,
what is the implication? You may utilize the JMP practice in Homework 2 in making the plot.
•Problem 4: P119-17 and the following extra:
(c) Show your steps, verify the 1st Quartile, Median and the 3rd Quartile of “Method A” data by
your own calculation. Are they the same with the ones produced by JMP?
•JMP Practice: Side-by-Side Boxplot.
We have showed the side-by-side box plot in class as an descriptive graph for data comparison. To
produce such side-by-side boxplots in JMP is not straightforward. This practice will illustrate a
way to produce side-by-side boxplots using JMP. The example data used is Table 3.13 on page 94
of the text book.
1. Create a two-column data file in JMP.
(a) Create a new data table. Double click the first column header and change the column
name to “Percent Waste”.
(b) Double click the second column header, change the column name to “Supplier”. Then
change the data type from “Numeric” to “Character”.
2. Fill in data.
(a) For each data point from “Supplier 1”, fill its value to column 1 and “S1” to column 2.
For example, the first data point, .37 filled in column 1 and “S1” filled in column 2.
(b) For each data point from “Supplier 2”, fill its value to column 1 and “S2” to column 2.
3. Produce side-by-side boxplot.
1
pf2

Partial preview of the text

Download STAT 305B Fall 2007 Homework 3: Data Analysis and Visualization and more Assignments Statics in PDF only on Docsity!

STAT 305B Fall 2007

Homework 3 (Due 9/13)

  • Reading Assignment: Chapter 3: 3.1, 3.2 and 3.3.
  • Problem 1: A sample of 15 measurements follow:

97 120 137 124 117 108 134 126 123 106 130 110 100 120 140.

Make a dot diagram, a stem-and-leaf plot, a frequency table and a histogram of these data.

In the following exercises, JMP can be used to facilitate producing boxplots. For the side-by-side boxplots, you may need the procedure described in the JMP practice. You may use the data file in the text CD to expedite your work.

  • Problem 2: P114-3.
  • Problem 3: P116-8 ignore (c) and do the following extra:

(g) Make a normal plot for the data of Compound 1. Describe the pattern of the normal plot, does it look linear? In terms of comparing the “shape” of the data to a standard normal one, what is the implication? You may utilize the JMP practice in Homework 2 in making the plot.

  • Problem 4: P119-17 and the following extra:

(c) Show your steps, verify the 1st Quartile, Median and the 3rd Quartile of “Method A” data by your own calculation. Are they the same with the ones produced by JMP?

  • JMP Practice: Side-by-Side Boxplot. We have showed the side-by-side box plot in class as an descriptive graph for data comparison. To produce such side-by-side boxplots in JMP is not straightforward. This practice will illustrate a way to produce side-by-side boxplots using JMP. The example data used is Table 3.13 on page 94 of the text book. 1. Create a two-column data file in JMP. (a) Create a new data table. Double click the first column header and change the column name to “Percent Waste”. (b) Double click the second column header, change the column name to “Supplier”. Then change the data type from “Numeric” to “Character”. 2. Fill in data. (a) For each data point from “Supplier 1”, fill its value to column 1 and “S1” to column 2. For example, the first data point, .37 filled in column 1 and “S1” filled in column 2. (b) For each data point from “Supplier 2”, fill its value to column 1 and “S2” to column 2. 3. Produce side-by-side boxplot.

1

STAT 305B, Fall 2007 Homework 3

(a) Click “Analysis”→“Fit Y by X”. (b) Click “Percent Waste” then “Y, Response”. (c) Click “Supplier” then “X, Factor”. Then Click “OK”. (d) Goto the top of the output and click the small red triangle, then check “Quantiles”. Now You should see a figure similar to the following. Otherwise go back and double check each step.

By the procedure of steps 1-3, you may produce side-by-side boxplots for various data.

  • Optional (Extra 2 Quiz pts): Go through a linear interpolation procedure, verify the following algorithm in obtaining quantile Q(p). Assume the data of size n are sorted in an increasing order, i.e. x 1 ≤ x 2 ≤ · · · ≤ xn.

Compute i = np + 0.5, (a) if i is an integer, then Q(p) = xi, (b) Otherwise, find j such that j and j + 1 bracket i and let a = i − j, then

Q(p) = (1 − a)xj + axj+1.