Difference between revisions of "Assignment 4 - 2013"
Kevin Dunn (talk | contribs) (Created page with "{{OtherSidebar | due_dates = 27 February 2013 | dates_alt_text = Due date(s) | questions_PDF = 4C3-2013-Assignment-4.pdf | questions_text_alt = Assignment questions | question...") |
Kevin Dunn (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
| questions_text_alt = Assignment questions | | questions_text_alt = Assignment questions | ||
| questions_link = | | questions_link = | ||
| solutions_PDF = | | solutions_PDF = 4C3-2013-Assignment-4-Solutions.pdf | ||
| solutions_text_alt = Assignment solutions | | solutions_text_alt = Assignment solutions | ||
| solutions_link = | | solutions_link = | ||
Line 35: | Line 35: | ||
.. question:: | .. question:: | ||
:grading: 12 | |||
The Kappa number is a widely used measurement in the pulp and paper industry. It can be measured on-line, and indicates the severity of chemical treatment that must be applied to a wood pulp to obtain a given level of whiteness (i.e. the pulp's bleachability). Data on the `website <http:// | The Kappa number is a widely used measurement in the pulp and paper industry. It can be measured on-line, and indicates the severity of chemical treatment that must be applied to a wood pulp to obtain a given level of whiteness (i.e. the pulp's bleachability). Data on the `website <http://openmv.net/info/kappa-number>`_ contain the Kappa values from a pulp mill. Use the first 2000 data points to construct a Shewhart monitoring chart for the Kappa number. In general, you may use any subgroup size you like, but please use :math:`n=5` for ease of grading. Then use the remaining data as your phase 2 (testing) data. | ||
Does the chart perform as expected, i.e. does it capture what you might consider to be unusual operation at the appropriate type-I error rate? | Does the chart perform as expected, i.e. does it capture what you might consider to be unusual operation at the appropriate type-I error rate? | ||
.. question:: | .. question:: | ||
:grading: 5 | |||
The following are real data of particle size from the most recent 20 shipments of a speciality powder, taken from the supplier's certificates of analysis: | The following are real data of particle size from the most recent 20 shipments of a speciality powder, taken from the supplier's certificates of analysis: | ||
Line 51: | Line 53: | ||
.. question:: | .. question:: | ||
:grading: 7 | |||
Plastic sheets are manufactured on your blown film line. The Cp value is 1.7. You sell the plastic sheets to your customers with specification of :math:`2\,\text{mm} \pm 0.4\,\text{mm}`. | Plastic sheets are manufactured on your blown film line. The Cp value is 1.7. You sell the plastic sheets to your customers with specification of :math:`2\,\text{mm} \pm 0.4\,\text{mm}`. | ||
Line 63: | Line 65: | ||
.. question:: | .. question:: | ||
:grading: 10 = 3 + 2 + 3 + 1 + 1 | |||
*From a previous midterm, 2010* | *From a previous midterm, 2010* | ||
Line 126: | Line 128: | ||
Multiple R-squared: 0.6508, Adjusted R-squared: 0.6159 | Multiple R-squared: 0.6508, Adjusted R-squared: 0.6159 | ||
F-statistic: 18.64 on 1 and 10 DF, p-value: 0.001519 | F-statistic: 18.64 on 1 and 10 DF, p-value: 0.001519 | ||
#. Calculate the ANOVA table entries: | |||
* RegSS | |||
* RSS | |||
* TSS | |||
#. Prove to yourself that :math:`R^2 = \dfrac{\text{RegSS}}{\text{TSS}}`. Ensure that the value agrees with the ``R`` output above. Also ensure you can reproduce the R output. | |||
#. Prove to yourself that you get the identical :math:`R^2` value *from only using the raw data* by calculating :math:`R^2 = \left[r(x,y)\right]^2`. | |||
</rst> | </rst> |
Latest revision as of 18:43, 27 January 2017
Due date(s): | 27 February 2013 |
(PDF) | Assignment questions |
(PDF) | Assignment solutions |
<rst> <rst-options: 'toc' = False/> <rst-options: 'reset-figures' = False/> .. |X| replace:: :math:`\mathbf{X}` .. |-| replace:: :math:`-` .. |+| replace:: :math:`+` .. |A| replace:: **A** .. |B| replace:: **B** .. |X| replace:: :math:`\mathbf{X}` .. |-| replace:: :math:`-` .. |+| replace:: :math:`+` .. |A| replace:: **A** .. |B| replace:: **B**
Assignment objectives
=========
.. note:: **Assignment objectives**
* Demonstrate ability to perform phase 1 and phase 2 for monitoring charts * Understand and interpret Cp and Cpk values * Build and use least squares models in R
.. question:: :grading: 12
The Kappa number is a widely used measurement in the pulp and paper industry. It can be measured on-line, and indicates the severity of chemical treatment that must be applied to a wood pulp to obtain a given level of whiteness (i.e. the pulp's bleachability). Data on the `website <http://openmv.net/info/kappa-number>`_ contain the Kappa values from a pulp mill. Use the first 2000 data points to construct a Shewhart monitoring chart for the Kappa number. In general, you may use any subgroup size you like, but please use :math:`n=5` for ease of grading. Then use the remaining data as your phase 2 (testing) data.
Does the chart perform as expected, i.e. does it capture what you might consider to be unusual operation at the appropriate type-I error rate?
.. question:: :grading: 5
The following are real data of particle size from the most recent 20 shipments of a speciality powder, taken from the supplier's certificates of analysis:
``50.9, 52.9, 51.6, 50.8, 54.6, 52.9, 53.1, 48.4, 51.6, 53.1, 53.8, 52.4, 53.1, 50.8,54.6, 52.9, 50.0, 53.8, 54.6, 52.2``
Calculate the supplier's capability, given their lower specification limit of :math:`45\,\mu\text{m}` and their upper limit at :math:`59\,\mu\text{m}` . Clearly state all assumptions you make during the calculations (median = :math:`52.9\,\mu\text{m}`, sd = :math:`1.64\,\mu\text{m}`)
How would you interpret this supplier's capability? Would you purchase your raw material from them if you were making a safety-critical product from this supplier (e.g. air-bags or medication or desiccants for a breaking mask)?
.. question:: :grading: 7
Plastic sheets are manufactured on your blown film line. The Cp value is 1.7. You sell the plastic sheets to your customers with specification of :math:`2\,\text{mm} \pm 0.4\,\text{mm}`.
#. List three important assumptions you must make to interpret the Cp value. #. What is the theoretical process standard deviation, :math:`\sigma`? #. What would be the Shewhart chart limits for this system using subgroups of size :math:`n = 4`?
See the last slide in the course slides to see a visual illustration of this question.
.. question::
:grading: 10 = 3 + 2 + 3 + 1 + 1
*From a previous midterm, 2010*
The production of low density polyethylene is carried out in long, thin pipes at high temperature and pressure (1.5 kilometres long, 50mm in diameter, 500 K, 2500 atmospheres). One quality measurement of the LDPE is its melt index. Laboratory measurements of the melt index can take between 2 to 4 hours. Being able to predict this melt index, in real time, allows for faster adjustment to process upsets, reducing the product's variability. There are many variables that are predictive of the melt index, but in this example we only use a temperature measurement that is measured along the reactor's length.
These are the data of temperature (K) and melt index (units of melt index are "grams per 10 minutes").
.. Previous table ======================= ====================== Temperature = :math:`T` Melt index = :math:`m` ----------------------- ---------------------- (Kelvin) (g per 10 mins) ======================= ====================== 441 9.3 453 6.6 461 6.6 470 7.0 478 6.1 481 3.5 483 2.2 485 3.6 499 2.9 500 3.6 506 4.2 516 3.5 ======================= ======================
============================================= === === === === === === === === === === === === **Temperature** = :math:`T` [Kelvin] 441 453 461 470 478 481 483 485 499 500 506 516 --------------------------------------------- --- --- --- --- --- --- --- --- --- --- --- --- **Melt index** = :math:`m` [g per 10 mins] 9.3 6.6 6.6 7.0 6.1 3.5 2.2 3.6 2.9 3.6 4.2 3.5 ============================================= === === === === === === === === === === === ===
The following calculations have already been performed:
* Number of samples, :math:`n = 12` * Average temperature = :math:`\overline{T} = 481` K * Average melt index, :math:`\overline{m} = 4.925` g per 10 minutes. * The summed product, :math:`\sum_i{\left(T_i-\overline{T}\right)\left(m_i - \overline{m}\right)} = -422.1` * The sum of squares, :math:`\sum_i{\left(T_i-\overline{T}\right)^2} = 5469.0`
#. Use this information to build a predictive linear model for melt index from the reactor temperature. #. What is the model's standard error and how do you interpret it in the context of this model? You might find the following software software output helpful, but it is not required to answer the question.
.. code-block:: text
Call: lm(formula = Melt.Index ~ Temperature)
Residuals: Min 1Q Median 3Q Max -2.5771 -0.7372 0.1300 1.2035 1.2811
Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -------- 8.60936 4.885 0.000637 Temperature -------- 0.01788 -4.317 0.001519
Residual standard error: 1.322 on 10 degrees of freedom Multiple R-squared: 0.6508, Adjusted R-squared: 0.6159 F-statistic: 18.64 on 1 and 10 DF, p-value: 0.001519
#. Calculate the ANOVA table entries:
* RegSS * RSS * TSS #. Prove to yourself that :math:`R^2 = \dfrac{\text{RegSS}}{\text{TSS}}`. Ensure that the value agrees with the ``R`` output above. Also ensure you can reproduce the R output. #. Prove to yourself that you get the identical :math:`R^2` value *from only using the raw data* by calculating :math:`R^2 = \left[r(x,y)\right]^2`.
</rst>