Difference between revisions of "Assignment 2 - 2014"
Kevin Dunn (talk | contribs) |
Kevin Dunn (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 69: | Line 69: | ||
:grading: 10 | :grading: 10 | ||
Many students in the course expressed an interest in analyzing a large data set. Here's a baby-step: your manager has asked you to describe the flow rate characteristics of the overhead stream leaving the top of the `distillation column <http://en.wikipedia.org/wiki/Fractionating_column>`_ at your plant. You download one month of data, `available on the course website <http:// | Many students in the course expressed an interest in analyzing a large data set. Here's a baby-step: your manager has asked you to describe the flow rate characteristics of the overhead stream leaving the top of the `distillation column <http://en.wikipedia.org/wiki/Fractionating_column>`_ at your plant. You download one month of data, `available on the course website <http://openmv.net/info/distillate-flow>`_. | ||
The data are from 1 March to 31 March, taken at one minute intervals. | The data are from 1 March to 31 March, taken at one minute intervals. | ||
Line 102: | Line 102: | ||
:grading: 600-level: 0 points | :grading: 600-level: 0 points | ||
*The solution appears in* `Process Improvement using Data <http://learnche. | *The solution appears in* `Process Improvement using Data <http://learnche.org/pid/>`_. | ||
The paper by PJ Rousseeuw, "`Tutorial to Robust Statistics <http://dx.doi.org/10.1002/cem.1180050103>`_", *Journal of Chemometrics*, **5**, 1-20, 1991 discusses the breakdown point of a statistic. | The paper by PJ Rousseeuw, "`Tutorial to Robust Statistics <http://dx.doi.org/10.1002/cem.1180050103>`_", *Journal of Chemometrics*, **5**, 1-20, 1991 discusses the breakdown point of a statistic. |
Latest revision as of 05:36, 20 September 2018
Due date(s): | 23 January 2014, in class |
![]() |
Assignment questions |
![]() |
Assignment solutions |
<rst> <rst-options: 'toc' = False/> <rst-options: 'reset-figures' = False/> .. rubric:: Assignment objectives: interpreting data visualizations; univariate data analysis
.. question:: :grading: 5
*Similar to a question on the final exam, 2013*:
The following visualization appeared in the `Twitter feed <https://twitter.com/SBarlow_ROB>`_ of a Globe and Mail columnist, Scott Barlow.
.. image:: ../figures/visualization/sbarlow_ROB_Twitter_image.png :scale: 70
#. The article itself is behind a paywall, so it is not accessible. What might have been the message Mr Barlow was wishing to convey with this plot?
#. Referring the principles of data visualization we learned about, what might he have improved on the graph?
.. question:: :grading: 3
#. Why are robust statistics, such as the median or MAD, important in the analysis of modern data sets? Explain, using an example, if necessary.
#. What is meant by the break-down point of a robust statistic? Give an example to explain your answer.
.. question:: :grading: 8
A food production facility fills bags with potato chips with an advertised bag weight of 50.0 grams.
#. The government's *Weights and Measures Act* requires that at most 1.5% of customers may receive a bag containing less than the advertised weight. At what setting should you put the target fill weight to meet this requirement exactly? The check-weigher on the bagging system shows the long-term standard deviation for weight is about 2.8 grams.
#. Out of 100 customers, how many are lucky enough to get 55.0 grams or more of potato chips in their bags?
.. question:: :grading: 20
The following confidence interval is reported by our company for the amount of sulphur dioxide measured in parts per billion (ppb) that we send into the atmosphere.
.. math:: 123.6\, \text{ppb} \leq \mu \leq 240.2\, \text{ppb}
Only :math:`n=21` raw data points (one data point measured per day) were used to calculate that 90% confidence interval. A :math:`z`-value would have been calculated as an intermediate step to get the final confidence interval, where :math:`z = \displaystyle \frac{\overline{x} - \mu}{s / \sqrt{n}}`.
#. What assumptions were made about those 21 raw data points to compute the above confidence interval?
#. Which lower and upper critical values would have been used for :math:`z`? That is, which critical values are used before unpacking the final confidence interval as shown above.
#. What is the standard deviation, :math:`s`, of the raw data?
#. Today's sulphur dioxide reading is 460 ppb and your manager wants to know what's going on; you can quickly calculate the probability of seeing a value of 460 ppb, or greater, to help judge the severity of the pollution. How many days in a 365 calendar-day year are expected to show a sulphur dioxide value of 460 ppb or higher?
#. Explain clearly why a wide confidence interval is not desirable, from an environmental perspective.
.. question:: :grading: 10
Many students in the course expressed an interest in analyzing a large data set. Here's a baby-step: your manager has asked you to describe the flow rate characteristics of the overhead stream leaving the top of the `distillation column <http://en.wikipedia.org/wiki/Fractionating_column>`_ at your plant. You download one month of data, `available on the course website <http://openmv.net/info/distillate-flow>`_.
The data are from 1 March to 31 March, taken at one minute intervals.
.. question:: :grading: 600-level students only: 12
In the course notes on the section on comparing differences between two groups we used, without proof, the fact that:
.. math::
\mathcal{V}\left\{\bar{x}_B - \bar{x}_A\right\} = \mathcal{V}\left\{\bar{x}_B\right\} + \mathcal{V}\left\{\bar{x}_A\right\}
Using the fact that :math:`\mathcal{V}\{cx\} = c^2\mathcal{V}\{x\}`, you can show that:
.. math::
\mathcal{V}\left\{\bar{x}_B + \bar{x}_A\right\} = \mathcal{V}\left\{\bar{x}_B\right\} + \mathcal{V}\left\{\bar{x}_A\right\}
#. The first equation is only correct when an important assumption is true; what is that assumption?
#. *Based on an actual industrial problem*: A filling machine doses a drug to a canister. The patient will inhale the drug (imagine an asthma pump). The weight of the drug in the canister must be added as precisely and accurately as possible, to avoid patient over- or under-dosing.
The weight filled will fluctuate with temperature in the building and is theoretically calculated as having a standard deviation of 32mg due to typical temperature variations. The filling line has 6 machines that fill the canisters and the variability from machine-to-machine is 40mg. The operators calibrate the machines at the start of each shift, and their estimated calibration accuracy is estimated at 15mg. The wear and tear on the machine parts over the year is estimated to only add an extra 10mg of variation.
What is the expected long-term standard deviation of fill weights recorded from this process? What assumption(s) do you have to make to calculate this?
.. question::
:grading: 600-level: 0 points
*The solution appears in* `Process Improvement using Data <http://learnche.org/pid/>`_.
The paper by PJ Rousseeuw, "`Tutorial to Robust Statistics <http://dx.doi.org/10.1002/cem.1180050103>`_", *Journal of Chemometrics*, **5**, 1-20, 1991 discusses the breakdown point of a statistic.
#. Describe what the breakdown point is, and give two examples: one with a low breakdown point, and one with a high breakdown point. Use a vector of numbers to help illustrate your answer.
#. What is an advantage of using robust methods over their "classical" counterparts?
</rst>