(***********************************************************************

                    Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 4.0,
MathReader 4.0, or any compatible application. The data for the notebook 
starts with the line containing stars above.

To get the notebook into a Mathematica-compatible application, do one of 
the following:

* Save the data starting with the line of stars above into a file
  with a name ending in .nb, then open the file inside the application;

* Copy the data starting with the line of stars above to the
  clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be
sent directly in email or through ftp in text mode.  Newlines can be
CR, LF or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing the 
word CacheID, otherwise Mathematica-compatible applications may try to 
use invalid cache data.

For more information on notebooks and Mathematica-compatible 
applications, contact Wolfram Research:
  web: http://www.wolfram.com
  email: info@wolfram.com
  phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from 
Wolfram Research.
***********************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[     18094,        515]*)
(*NotebookOutlinePosition[     23977,        693]*)
(*  CellTagsIndexPosition[     23505,        670]*)
(*WindowFrame->Normal*)



Notebook[{
Cell[TextData[{
  "Statistics",
  StyleBox["`", "MB"],
  "DataSmoothing",
  StyleBox["`", "MB"]
}], "Subsection",
  CellTags->{"S5.97.1", "1.1"}],

Cell[TextData[{
  "A series of raw data ",
  Cell[BoxData[
      \(TraditionalForm\`{x\_1, x\_2, \[Ellipsis], x\_n}\)], 
    "InlineFormula"],
  " is sometimes transformed to a new series of data before it is analyzed. \
The purpose of this transformation is to smooth out local fluctuations in the \
raw data, so the transformation is called data smoothing or a smoother. One \
common type of smoother employs a linear transformation and is called a \
linear filter. A linear filter with weights ",
  Cell[BoxData[
      \(TraditionalForm\`{c\_0, c\_1, \[Ellipsis], c\_\(r - 1\)}\)], 
    "InlineFormula"],
  " transforms the given data to weighted averages ",
  Cell[BoxData[
      FormBox[
        RowBox[{
          UnderoverscriptBox["\[Sum]", \(j = 0\), \(r - 1\),
            LimitsPositioning->True], \(c\_j\), \(x\_\(t - j\)\)}], 
        TraditionalForm]], "InlineFormula"],
  " for ",
  Cell[BoxData[
      \(TraditionalForm\`t = r, r + 1, \[Ellipsis], n\)], "InlineFormula"],
  ". Notice that the new data set has length ",
  Cell[BoxData[
      \(TraditionalForm\`n - r + 1\)], "InlineFormula"],
  ". If ",
  Cell[BoxData[
      FormBox[
        RowBox[{
          UnderoverscriptBox["\[Sum]", \(j = 0\), \(r - 1\),
            LimitsPositioning->True], \(c\_j\), "=", "1"}], TraditionalForm]],
     "InlineFormula"],
  " the linear filter is also called an ",
  Cell[BoxData[
      \(TraditionalForm\`r\)], "InlineFormula"],
  "\[Hyphen]term moving average. If all the weights are equal and they sum to \
unity, the linear filter is called a simple moving average. \nIf the median \
of ",
  Cell[BoxData[
      \(TraditionalForm\`r\)], "InlineFormula"],
  " data points is substituted in place of the average, we obtain a moving \
median smoother of span ",
  Cell[BoxData[
      \(TraditionalForm\`r\)], "InlineFormula"],
  ". Repeated application of a moving median smoother can quickly lead to \
convergence for odd ",
  Cell[BoxData[
      \(TraditionalForm\`r\)], "InlineFormula"],
  ". Since the values at the ends of the data series are lost with each \
application of the smoother, we maintain the length of the series by adding \
on the end values from the original data at all the intermediate steps of \
repeated moving median smoothing. \nExponential smoothing corresponds to a \
weighted average with exponentially decreasing weights. Let ",
  Cell[BoxData[
      \(TraditionalForm\`y\_t\)], "InlineFormula"],
  " be the smoothed value at time ",
  Cell[BoxData[
      \(TraditionalForm\`t\)], "InlineFormula"],
  ", then ",
  Cell[BoxData[
      \(TraditionalForm\`y\_\(t + 1\)\)], "InlineFormula"],
  " can be obtained efficiently by using ",
  Cell[BoxData[
      \(TraditionalForm\`y\_\(t + 1\) = y\_t + a \((x\_\(t + 1\) - y\_t)\)\)],
     "InlineFormula"],
  " where ",
  Cell[BoxData[
      \(TraditionalForm\`a\)], "InlineFormula"],
  " is the smoothing constant (",
  Cell[BoxData[
      \(TraditionalForm\`0 < a < 1\)], "InlineFormula"],
  "). An initial value ",
  Cell[BoxData[
      \(TraditionalForm\`y\_0\)], "InlineFormula"],
  " is needed to start the iteration and it is commonly chosen to be ",
  Cell[BoxData[
      \(TraditionalForm\`x\_1\)], "InlineFormula"],
  ". For multivariate data the smoothing constant can be a matrix. "
}], "Text",
  CellTags->{"S5.97.1", "1.2"}],

Cell[BoxData[
    FormBox[
      StyleBox[
        FrameBox[
          StyleBox[GridBox[{
                {"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"MovingAverage[\\\\\\\"\\\"\
, \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"data\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \\!\
\\(\\*StyleBox[\\\"\\\\\\\"r\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"]\\\\\\\"\\\", \\\"MR\\\"]\\) \
\"\>", 
                  RowBox[{"\<\"smooth \"\>", 
                    StyleBox[\(d  a  t  a\),
                      "InlineFormula"], "\<\" using a simple \"\>", 
                    StyleBox["r",
                      
                      "InlineFormula"], "\<\"\[Hyphen]term moving average \
\"\>"}]},
                {"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"MovingMedian[\\\\\\\"\\\",\
 \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"data\\\\\\\"\\\", \\\"TI\\\"]\\)\
\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \
\\!\\(\\*StyleBox[\\\"\\\\\\\"r\\\\\\\"\\\", \\\"TI\\\"]\\)\\!\\(\\*StyleBox[\
\\\"\\\\\\\"]\\\\\\\"\\\", \\\"MR\\\"]\\) \"\>", 
                  RowBox[{"\<\"smooth \"\>", 
                    StyleBox[\(d  a  t  a\),
                      
                      "InlineFormula"], "\<\" using a moving median of span \
\"\>", 
                    StyleBox["r",
                      "InlineFormula"], "\<\" \"\>"}]},
                {"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"MovingMedian[\\\\\\\"\\\",\
 \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"data\\\\\\\"\\\", \\\"TI\\\"]\\)\
\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \
\\!\\(\\*StyleBox[\\\"\\\\\\\"r\\\\\\\"\\\", \\\"TI\\\"]\\)\\!\\(\\*StyleBox[\
\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \
\\!\\(\\*StyleBox[\\\"\\\\\\\"RepeatedSmoothing\\\\\\\"\\\", \\\"MR\\\"]\\) \
\\!\\(\\*StyleBox[\\\"\\\\\\\"->\\\\\\\"\\\", \\\"MR\\\"]\\) \
\\!\\(\\*StyleBox[\\\"\\\\\\\"True]\\\\\\\"\\\", \\\"MR\\\"]\\) \"\>", 
                  RowBox[{"\<\"smooth \"\>", 
                    StyleBox[\(d  a  t  a\),
                      
                      "InlineFormula"], "\<\" by repeatedly applying a moving \
median of span \"\>", 
                    StyleBox["r",
                      "InlineFormula"], "\<\" \"\>"}]},
                {
                  
                  RowBox[{"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"LinearFilter[\\\\\
\\\"\\\", \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"data\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \
\"\>", 
                    StyleBox["{",
                      "InlineFormula"], 
                    StyleBox[
                      
                      SubscriptBox["\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"c\\\\\\\
\"\\\", \\\"TI\\\"]\\)\"\>", "0"],
                      
                      "InlineFormula"], \
"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \"\>", 
                    StyleBox[
                      
                      SubscriptBox["\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"c\\\\\\\
\"\\\", \\\"TI\\\"]\\)\"\>", "1"],
                      
                      "InlineFormula"], \
"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \[Ellipsis] \
\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \"\>", 
                    StyleBox[
                      
                      SubscriptBox["\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"c\\\\\\\
\"\\\", \\\"TI\\\"]\\)\"\>", \(r - 1\)],
                      "InlineFormula"], 
                    StyleBox["}",
                      
                      "InlineFormula"], \
"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"]\\\\\\\"\\\", \\\"MR\\\"]\\) \"\>"}], 
                  RowBox[{"\<\"pass the data \"\>", 
                    StyleBox[\(x\_1, x\_2, \[Ellipsis], x\_n\),
                      
                      "InlineFormula"], "\<\" through the linear filter and \
give \"\>", 
                    StyleBox[
                      RowBox[{
                        UnderoverscriptBox["\[Sum]", \(j = 0\), \(r - 1\),
                          LimitsPositioning->
                            True], \(c\_j\), \(x\_\(t - j\)\)}],
                      "InlineFormula"], "\<\" for \"\>", 
                    StyleBox[\(t = r, r + 1, \[Ellipsis], n\),
                      "InlineFormula"], "\<\" \"\>"}]},
                {"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"ExponentialSmoothing[\\\\\
\\\"\\\", \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"data\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \\!\
\\(\\*StyleBox[\\\"\\\\\\\"a\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\"]\\\\\\\"\\\", \\\"MR\\\"]\\) \
\"\>", 
                  RowBox[{"\<\"smooth \"\>", 
                    StyleBox[\(d  a  t  a\),
                      
                      "InlineFormula"], "\<\" using an exponentially weighted \
average with a smoothing constant \"\>", 
                    StyleBox["a",
                      
                      "InlineFormula"], "\<\" and a starting value set to the \
first entry in \"\>", 
                    StyleBox[\(d  a  t  a\),
                      "InlineFormula"], "\<\" \"\>"}]},
                {
                  
                  RowBox[{"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"\
ExponentialSmoothing[\\\\\\\"\\\", \\\"MR\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\
\"data\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \\!\
\\(\\*StyleBox[\\\"\\\\\\\"a\\\\\\\"\\\", \
\\\"TI\\\"]\\)\\!\\(\\*StyleBox[\\\"\\\\\\\",\\\\\\\"\\\", \\\"MR\\\"]\\) \
\"\>", 
                    StyleBox[
                      
                      SubscriptBox["\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"y\\\\\\\
\"\\\", \\\"TI\\\"]\\)\"\>", "0"],
                      
                      "InlineFormula"], \
"\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"]\\\\\\\"\\\", \\\"MR\\\"]\\) \"\>"}], 
                  RowBox[{"\<\"smooth \"\>", 
                    StyleBox[\(d  a  t  a\),
                      
                      "InlineFormula"], "\<\" using an exponentially weighted \
average with a smoothing constant \"\>", 
                    StyleBox["a",
                      "InlineFormula"], "\<\" and a starting value \"\>", 
                    StyleBox[\(y\_0\),
                      "InlineFormula"], "\<\" \"\>"}]}
                },
              ColumnAlignments->{Right, Left}],
            GridBoxOptions->{RowLines->False}]],
        "2ColumnBox"], TraditionalForm]], "Text",
  CellTags->{"S5.97.1", "1.3"}],

Cell["Data smoothing functions. ", "Caption",
  CellTags->"S5.97.1"],

Cell[TextData[{
  "The functions in this package work for both univariate and multivariate \
data. Data should be entered as a list in the univariate case, and a list of \
length\[Hyphen]",
  Cell[BoxData[
      \(TraditionalForm\`m\)], "InlineFormula"],
  " lists in the ",
  Cell[BoxData[
      \(TraditionalForm\`m\)], "InlineFormula"],
  "\[Hyphen]variate case. "
}], "Text",
  CellTags->{"S5.97.1", "1.4"}],

Cell["This loads the package. ", "MathCaption",
  CellTags->{"S5.97.1", "1.5"}],

Cell["<<Statistics`DataSmoothing`", "Input",
  CellLabel->"In[1]:= ",
  CellTags->"S5.97.1"],

Cell["Data must be entered as a list. ", "MathCaption",
  CellTags->{"S5.97.1", "1.6"}],

Cell["data1 = {7.,4.,5.,3.,8.,5.,2.,3.,6.,8.};", "Input",
  CellLabel->"In[2]:= ",
  CellTags->"S5.97.1"],

Cell["Here is a simple 2\[Hyphen]term moving average. ", "MathCaption",
  CellTags->{"S5.97.1", "1.7"}],

Cell[CellGroupData[{

Cell["MovingAverage[data1, 2]", "Input",
  CellLabel->"In[3]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({5.5`, 4.5`, 4.`, 5.5`, 6.5`, 3.5`, 2.5`, 4.5`, 7.`}\)], "Output",
  CellLabel->"Out[3]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
In the case of multivariate data, each entry in a data list is \
itself a list. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.8"}],

Cell["data2 = {{a,b}, {c,d}, {e,f}, {g,h}};", "Input",
  CellLabel->"In[4]:= ",
  CellTags->"S5.97.1"],

Cell["\<\
This gives a simple 3\[Hyphen]term moving average of the two\
\[Hyphen]dimensional data. The moving average is done for each dimension (or \
column) of the data separately. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.9"}],

Cell[CellGroupData[{

Cell["MovingAverage[data2, 3]", "Input",
  CellLabel->"In[5]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({{1\/3\ \((a + c + e)\), 
        1\/3\ \((b + d + f)\)}, {1\/3\ \((c + e + g)\), 
        1\/3\ \((d + f + h)\)}}\)], "Output",
  CellLabel->"Out[5]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
A moving median is an example of nonlinear smoothing. It is often \
used to preserve edges while eliminating noisy spikes in the data. This \
smooths the data using a moving median of span 3. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.10"}],

Cell[CellGroupData[{

Cell["MovingMedian[data1, 3]", "Input",
  CellLabel->"In[6]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({5.`, 4.`, 5.`, 5.`, 5.`, 3.`, 3.`, 6.`}\)], "Output",
  CellLabel->"Out[6]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
Here smoothing is repeated until the result no longer changes. Only \
odd\[Hyphen]numbered spans are allowed in repeated smoothing to ensure \
convergence. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.11"}],

Cell[CellGroupData[{

Cell["MovingMedian[data1, 3, RepeatedSmoothing->True]", "Input",
  CellLabel->"In[7]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({5.`, 5.`, 5.`, 5.`, 5.`, 3.`, 3.`, 6.`}\)], "Output",
  CellLabel->"Out[7]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
Here is an example of smoothing multivariate data by a moving \
median. The moving median is done for each dimension (or column) of the data \
separately. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.12"}],

Cell[CellGroupData[{

Cell["MovingMedian[{{3,4},{9,2},{1,5},{2,6},{2,3}}, 4]", "Input",
  CellLabel->"In[8]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({{5\/2, 9\/2}, {2, 4}}\)], "Output",
  CellLabel->"Out[8]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
A simple moving average is a special case of a linear filter where \
all the weights are equal and their sum is unity. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.13"}],

Cell[CellGroupData[{

Cell["LinearFilter[data1, {1/2, 1/2}]", "Input",
  CellLabel->"In[9]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({5.5`, 4.5`, 4.`, 5.5`, 6.5`, 3.5`, 2.5`, 4.5`, 7.`}\)], "Output",
  CellLabel->"Out[9]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell[TextData[{
  "This linear filter has weights ",
  Cell[BoxData[
      \(TraditionalForm\`c\_0 = 1, c\_1 = 2, c\_2 = 3\)], "InlineFormula"],
  " and gives ",
  Cell[BoxData[
      \(TraditionalForm\`x\_t + 2  x\_\(t - 1\) + 3  x\_\(t - 2\)\)], 
    "InlineFormula"],
  ". Notice the order in which the weights are entered. "
}], "MathCaption",
  CellTags->{"S5.97.1", "1.14"}],

Cell[CellGroupData[{

Cell["LinearFilter[data1, {1, 2, 3}]", "Input",
  CellLabel->"In[10]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({34.`, 25.`, 29.`, 30.`, 36.`, 22.`, 18.`, 29.`}\)], "Output",
  CellLabel->"Out[10]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell[TextData[{
  "For multivariate data you can include matrix weights for the linear \
filter. Here the weights are ",
  Cell[BoxData[
      \(TraditionalForm\`c\_0 = {{1, 0.5}, {0.5, 1}}\)], "InlineFormula"],
  ", and ",
  Cell[BoxData[
      \(TraditionalForm\`c\_1 = {{1, 0}, {0, 1}}\)], "InlineFormula"],
  ". "
}], "MathCaption",
  CellTags->{"S5.97.1", "1.15"}],

Cell[CellGroupData[{

Cell["LinearFilter[data2, {{{1,0.5},{0.5,1}},{{1,0},{0,1}}}]", "Input",
  CellLabel->"In[11]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({{a + c + 0.5`\ d, b + 0.5`\ c + d}, {c + e + 0.5`\ f, 
        d + 0.5`\ e + f}, {e + g + 0.5`\ h, f + 0.5`\ g + h}}\)], "Output",
  CellLabel->"Out[11]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
Here exponential smoothing is done with the smoothing constant 0.8 \
and starting value 0.5. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.16"}],

Cell[CellGroupData[{

Cell["ExponentialSmoothing[data1, 0.8, 0.5]", "Input",
  CellLabel->"In[12]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({5.7`, 4.34`, 4.868`, 3.3735999999999997`, 7.07472`, 5.414944`, 
      2.6829888`, 2.93659776`, 5.387319552`, 7.4774639104`}\)], "Output",
  CellLabel->"Out[12]= ",
  CellTags->"S5.97.1"]
}, Open  ]],

Cell["\<\
This time the starting value is taken to be the first entry in the \
data list, which is 7. \
\>", "MathCaption",
  CellTags->{"S5.97.1", "1.17"}],

Cell[CellGroupData[{

Cell["ExponentialSmoothing[data1, 0.8]", "Input",
  CellLabel->"In[13]:= ",
  CellTags->"S5.97.1"],

Cell[BoxData[
    \({7.`, 4.6`, 4.92`, 3.384`, 7.0768`, 5.41536`, 2.6830719999999997`, 
      2.9366144`, 5.38732288`, 7.477464576`}\)], "Output",
  CellLabel->"Out[13]= ",
  CellTags->"S5.97.1"]
}, Open  ]]
},
FrontEndVersion->"4.0 for X",
ScreenRectangle->{{0, 800}, {0, 600}},
WindowSize->{520, 455},
WindowMargins->{{140, Automatic}, {Automatic, 72}},
StyleDefinitions -> "HelpBrowser.nb"
]


(***********************************************************************
Cached data follows.  If you edit this Notebook file directly, not using
Mathematica, you must remove the line containing CacheID at the top of 
the file.  The cache data will then be recreated when you save this file 
from within Mathematica.
***********************************************************************)

(*CellTagsOutline
CellTagsIndex->{
  "S5.97.1"->{
    Cell[1717, 49, 145, 6, 70, "Subsection",
      CellTags->{"S5.97.1", "1.1"}],
    Cell[1865, 57, 3321, 80, 70, "Text",
      CellTags->{"S5.97.1", "1.2"}],
    Cell[5189, 139, 6535, 136, 70, "Text",
      CellTags->{"S5.97.1", "1.3"}],
    Cell[11727, 277, 68, 1, 70, "Caption",
      CellTags->"S5.97.1"],
    Cell[11798, 280, 411, 11, 70, "Text",
      CellTags->{"S5.97.1", "1.4"}],
    Cell[12212, 293, 79, 1, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.5"}],
    Cell[12294, 296, 92, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[12389, 300, 87, 1, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.6"}],
    Cell[12479, 303, 105, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[12587, 307, 103, 1, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.7"}],
    Cell[12715, 312, 88, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[12806, 316, 134, 3, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[12955, 322, 143, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.8"}],
    Cell[13101, 328, 102, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[13206, 332, 236, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.9"}],
    Cell[13467, 341, 88, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[13558, 345, 196, 5, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[13769, 353, 256, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.10"}],
    Cell[14050, 362, 87, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[14140, 366, 122, 3, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[14277, 372, 220, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.11"}],
    Cell[14522, 381, 112, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[14637, 385, 122, 3, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[14774, 391, 219, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.12"}],
    Cell[15018, 400, 113, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[15134, 404, 104, 3, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[15253, 410, 183, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.13"}],
    Cell[15461, 418, 96, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[15560, 422, 134, 3, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[15709, 428, 380, 10, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.14"}],
    Cell[16114, 442, 96, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[16213, 446, 131, 3, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[16359, 452, 369, 10, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.15"}],
    Cell[16753, 466, 120, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[16876, 470, 200, 4, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[17091, 477, 157, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.16"}],
    Cell[17273, 485, 103, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[17379, 489, 207, 4, 70, "Output",
      CellTags->"S5.97.1"],
    Cell[17601, 496, 156, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.17"}],
    Cell[17782, 504, 98, 2, 70, "Input",
      CellTags->"S5.97.1"],
    Cell[17883, 508, 195, 4, 70, "Output",
      CellTags->"S5.97.1"]},
  "1.1"->{
    Cell[1717, 49, 145, 6, 70, "Subsection",
      CellTags->{"S5.97.1", "1.1"}]},
  "1.2"->{
    Cell[1865, 57, 3321, 80, 70, "Text",
      CellTags->{"S5.97.1", "1.2"}]},
  "1.3"->{
    Cell[5189, 139, 6535, 136, 70, "Text",
      CellTags->{"S5.97.1", "1.3"}]},
  "1.4"->{
    Cell[11798, 280, 411, 11, 70, "Text",
      CellTags->{"S5.97.1", "1.4"}]},
  "1.5"->{
    Cell[12212, 293, 79, 1, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.5"}]},
  "1.6"->{
    Cell[12389, 300, 87, 1, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.6"}]},
  "1.7"->{
    Cell[12587, 307, 103, 1, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.7"}]},
  "1.8"->{
    Cell[12955, 322, 143, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.8"}]},
  "1.9"->{
    Cell[13206, 332, 236, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.9"}]},
  "1.10"->{
    Cell[13769, 353, 256, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.10"}]},
  "1.11"->{
    Cell[14277, 372, 220, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.11"}]},
  "1.12"->{
    Cell[14774, 391, 219, 5, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.12"}]},
  "1.13"->{
    Cell[15253, 410, 183, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.13"}]},
  "1.14"->{
    Cell[15709, 428, 380, 10, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.14"}]},
  "1.15"->{
    Cell[16359, 452, 369, 10, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.15"}]},
  "1.16"->{
    Cell[17091, 477, 157, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.16"}]},
  "1.17"->{
    Cell[17601, 496, 156, 4, 70, "MathCaption",
      CellTags->{"S5.97.1", "1.17"}]}
  }
*)

(*CellTagsIndex
CellTagsIndex->{
  {"S5.97.1", 18719, 532},
  {"1.1", 21847, 615},
  {"1.2", 21941, 618},
  {"1.3", 22031, 621},
  {"1.4", 22123, 624},
  {"1.5", 22214, 627},
  {"1.6", 22310, 630},
  {"1.7", 22406, 633},
  {"1.8", 22503, 636},
  {"1.9", 22600, 639},
  {"1.10", 22698, 642},
  {"1.11", 22797, 645},
  {"1.12", 22896, 648},
  {"1.13", 22995, 651},
  {"1.14", 23094, 654},
  {"1.15", 23194, 657},
  {"1.16", 23294, 660},
  {"1.17", 23393, 663}
  }
*)

(*NotebookFileOutline
Notebook[{
Cell[1717, 49, 145, 6, 70, "Subsection",
  CellTags->{"S5.97.1", "1.1"}],
Cell[1865, 57, 3321, 80, 70, "Text",
  CellTags->{"S5.97.1", "1.2"}],
Cell[5189, 139, 6535, 136, 70, "Text",
  CellTags->{"S5.97.1", "1.3"}],
Cell[11727, 277, 68, 1, 70, "Caption",
  CellTags->"S5.97.1"],
Cell[11798, 280, 411, 11, 70, "Text",
  CellTags->{"S5.97.1", "1.4"}],
Cell[12212, 293, 79, 1, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.5"}],
Cell[12294, 296, 92, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[12389, 300, 87, 1, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.6"}],
Cell[12479, 303, 105, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[12587, 307, 103, 1, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.7"}],

Cell[CellGroupData[{
Cell[12715, 312, 88, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[12806, 316, 134, 3, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[12955, 322, 143, 4, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.8"}],
Cell[13101, 328, 102, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[13206, 332, 236, 5, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.9"}],

Cell[CellGroupData[{
Cell[13467, 341, 88, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[13558, 345, 196, 5, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[13769, 353, 256, 5, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.10"}],

Cell[CellGroupData[{
Cell[14050, 362, 87, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[14140, 366, 122, 3, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[14277, 372, 220, 5, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.11"}],

Cell[CellGroupData[{
Cell[14522, 381, 112, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[14637, 385, 122, 3, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[14774, 391, 219, 5, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.12"}],

Cell[CellGroupData[{
Cell[15018, 400, 113, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[15134, 404, 104, 3, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[15253, 410, 183, 4, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.13"}],

Cell[CellGroupData[{
Cell[15461, 418, 96, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[15560, 422, 134, 3, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[15709, 428, 380, 10, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.14"}],

Cell[CellGroupData[{
Cell[16114, 442, 96, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[16213, 446, 131, 3, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[16359, 452, 369, 10, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.15"}],

Cell[CellGroupData[{
Cell[16753, 466, 120, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[16876, 470, 200, 4, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[17091, 477, 157, 4, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.16"}],

Cell[CellGroupData[{
Cell[17273, 485, 103, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[17379, 489, 207, 4, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]],
Cell[17601, 496, 156, 4, 70, "MathCaption",
  CellTags->{"S5.97.1", "1.17"}],

Cell[CellGroupData[{
Cell[17782, 504, 98, 2, 70, "Input",
  CellTags->"S5.97.1"],
Cell[17883, 508, 195, 4, 70, "Output",
  CellTags->"S5.97.1"]
}, Open  ]]
}
]
*)




(***********************************************************************
End of Mathematica Notebook file.
***********************************************************************)

