<?xml-stylesheet type="text/xsl" href="../styles/pmathml.xsl"?>
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dsi="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xml:space="preserve"><head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"/><title>G07DCF : NAG Library, Mark 22</title><link rel="stylesheet" href="../styles/libdoc.css" type="text/css"/><script type="text/javascript">
   function showLevel(_levelId){
    var thisLevel = document.getElementById(_levelId);
    var thisplus = document.getElementById( _levelId.concat('plus'));
    var thisminus = document.getElementById( _levelId.concat('minus'));
    if(thisLevel.style.display != "block"){
     thisLevel.style.display = "block";
     thisplus.style.display = "none";
     thisminus.style.display = "inline";
     }
    else{
     thisLevel.style.display = "none";
     thisminus.style.display = "none";
     thisplus.style.display = "inline";
     }
    }
  </script></head><body><hr/><div><a class="rout" href="../../pdf/G07/g07dcf.pdf">G07DCF (PDF version)</a></div><div><a class="chap" href="g07conts.xml">G07 Chapter Contents</a></div><div><a class="chapint" href="g07intro.xml">G07 Chapter Introduction</a></div>
<div><a class="htmltoc" href="../FRONTMATTER/manconts.xml">NAG Library Manual</a></div><hr/><h1 class="libdoc">NAG Library Routine Document<br/><br/>G07DCF</h1><div class="paramtext"><div class="header"><b>Note:</b>&#160; before using this routine, please read the Users' Note for your implementation to check the interpretation of <span class="bitalic">bold italicised</span> terms and other implementation-dependent details.</div></div> 
<div class="htmltoc">
<h2 class="htmltoc"><span class="htmltochead" onclick="showLevel('htmltoc');"><span class="htmltocplus" id="htmltocplus">+</span><span class="htmltocminus" id="htmltocminus">&#8722;</span></span>&#160;Contents</h2>
<div class="htmltocitem" id="htmltoc">
<div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#purpose">1&#160;&#160;<b>Purpose</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#specification">2&#160;&#160;<b>Specification</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#description">3&#160;&#160;<b>Description</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#references">4&#160;&#160;<b>References</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#parameters">5&#160;&#160;<b>Parameters</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#errors">6&#160;&#160;<b>Error Indicators and Warnings</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#accuracy">7&#160;&#160;<b>Accuracy</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#fcomments">8&#160;&#160;<b>Further Comments</b></a>
</div><div class="htmltoc">
<span class="htmltoc" onclick="showLevel('tocexample');"><span class="htmltocplus" id="tocexampleplus">+</span><span class="htmltocminus" id="tocexampleminus">&#8722;</span></span>
<a class="htmltoc" href="#example">9&#160;&#160;<b>Example</b></a>
<div class="htmltocitem" id="tocexample">
<div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#examtext">9.1&#160;&#160;<b>Program Text</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#examdata">9.2&#160;&#160;<b>Program Data</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#examresults">9.3&#160;&#160;<b>Program Results</b></a>
</div>
</div>
</div>
</div>
</div><h2 class="standard"><a class="sec" name="purpose" id="purpose"/>1&#160;&#160;Purpose</h2>
<div class="paramtext">G07DCF computes an <m:math><m:mi>M</m:mi></m:math>-estimate of location with (optional) simultaneous estimation of scale, where you provide the weight functions.</div><h2 class="standard"><a class="sec" name="specification" id="specification"/>2&#160;&#160;Specification</h2>
<table class="fspec"><tr><td class="tdfspec1">SUBROUTINE&#160;G07DCF&#160;(</td><td class="tdfspec2"><a class="arg" href="#CHI">CHI</a>, <a class="arg" href="#PSI">PSI</a>, <a class="arg" href="#ISIGMA">ISIGMA</a>, <a class="arg" href="#N">N</a>, <a class="arg" href="#X">X</a>, <a class="arg" href="#BETA">BETA</a>, <a class="arg" href="#THETA">THETA</a>, <a class="arg" href="#SIGMA">SIGMA</a>, <a class="arg" href="#MAXIT">MAXIT</a>, <a class="arg" href="#TOL">TOL</a>, <a class="arg" href="#RS">RS</a>, <a class="arg" href="#NIT">NIT</a>, <a class="arg" href="#WRK">WRK</a>, <a class="arg" href="#IFAIL">IFAIL</a>)</td></tr><tr><td class="tdfspec1">INTEGER</td><td class="tdfspec2">ISIGMA, N, MAXIT, NIT, IFAIL</td></tr><tr><td class="tdfspec1"><b><i>double&#160;precision</i></b></td><td class="tdfspec2">CHI, PSI, X(N), BETA, THETA, SIGMA, TOL, RS(N), WRK(N)</td></tr><tr><td class="tdfspec1">EXTERNAL</td><td class="tdfspec2">CHI, PSI</td></tr></table><h2 class="standard"><a class="sec" name="description" id="description"/>3&#160;&#160;Description</h2>
<div class="paramtext">The data consists of a sample of size <m:math><m:mi>n</m:mi></m:math>, denoted by <m:math><m:msub><m:mi>x</m:mi><m:mn>1</m:mn></m:msub><m:mo>,</m:mo><m:msub><m:mi>x</m:mi><m:mn>2</m:mn></m:msub><m:mo>,</m:mo><m:mo>&#8230;</m:mo><m:mo>,</m:mo><m:msub><m:mi>x</m:mi><m:mi>n</m:mi></m:msub></m:math>, drawn from a random variable <m:math><m:mi>X</m:mi></m:math>.</div><div class="paramtext">The <m:math><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub></m:math>&#160;are assumed to be independent with an unknown distribution function of the form,

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
<m:mi>F</m:mi><m:mfenced separators=""><m:mfenced separators=""><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:mi>&#952;</m:mi></m:mfenced><m:mo>/</m:mo><m:mi>&#963;</m:mi></m:mfenced>
</m:math></td><td class="formula2"/></tr></table></div>

where <m:math><m:mi>&#952;</m:mi></m:math>&#160;is a location parameter, and <m:math><m:mi>&#963;</m:mi></m:math>&#160;is a scale parameter.  <m:math><m:mi>M</m:mi></m:math>-estimators of <m:math><m:mi>&#952;</m:mi></m:math>&#160;and <m:math><m:mi>&#963;</m:mi></m:math>&#160;are given by the solution to the following system of equations;

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
<m:mtable columnalign="left center left">
 <m:mtr>
  <m:mtd><m:munderover><m:mo>&#8721;</m:mo><m:mrow><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow><m:mi>n</m:mi></m:munderover><m:mi>&#968;</m:mi><m:mfenced separators=""><m:mfenced separators=""><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:mfenced><m:mo>/</m:mo><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:mfenced></m:mtd>
  <m:mtd><m:mo>=</m:mo></m:mtd>
  <m:mtd><m:mn>0</m:mn></m:mtd>
 </m:mtr><m:mtr>
  <m:mtd/>
  <m:mtd/>
  <m:mtd/></m:mtr><m:mtr>
  <m:mtd/>
  <m:mtd/>
  <m:mtd/></m:mtr><m:mtr>
  <m:mtd><m:munderover><m:mo>&#8721;</m:mo><m:mrow><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow><m:mi>n</m:mi></m:munderover><m:mi>&#967;</m:mi><m:mfenced separators=""><m:mfenced separators=""><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:mfenced><m:mo>/</m:mo><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:mfenced></m:mtd>
  <m:mtd><m:mo>=</m:mo></m:mtd>
  <m:mtd><m:mfenced separators=""><m:mi>n</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mfenced><m:mi>&#946;</m:mi></m:mtd>
 </m:mtr>
</m:mtable>
</m:math></td><td class="formula2"/></tr></table></div>

where <m:math><m:mi>&#968;</m:mi></m:math>&#160;and <m:math><m:mi>&#967;</m:mi></m:math>&#160;are user-supplied weight functions, and <m:math><m:mi>&#946;</m:mi></m:math>&#160;is a constant.  Optionally the second equation can be omitted and the first equation is solved for <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;using an assigned value of <m:math><m:mi>&#963;</m:mi><m:mo>=</m:mo><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>.</div><div class="paramtext">The constant <m:math><m:mi>&#946;</m:mi></m:math>&#160;should be chosen so that <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;is an unbiased estimator when <m:math><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub></m:math>, for <m:math><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mo>&#8230;</m:mo><m:mi>n</m:mi></m:math>&#160;has a Normal distribution.  To achieve this the value of <m:math><m:mi>&#946;</m:mi></m:math>&#160;is calculated as:

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
<m:mi>&#946;</m:mi><m:mo>=</m:mo><m:mi>E</m:mi><m:mfenced separators=""><m:mi>&#967;</m:mi></m:mfenced><m:mo>=</m:mo><m:munderover><m:mo>&#8747;</m:mo><m:mrow><m:mo>-</m:mo><m:mi>&#8734;</m:mi></m:mrow><m:mi>&#8734;</m:mi></m:munderover><m:mi>&#967;</m:mi><m:mfenced separators=""><m:mi>z</m:mi></m:mfenced><m:mfrac><m:mn>1</m:mn><m:msqrt><m:mn>2</m:mn><m:mi>&#960;</m:mi></m:msqrt></m:mfrac><m:mrow><m:mi>exp</m:mi><m:mfenced open="{" close="}" separators=""><m:mfrac><m:mrow><m:mo>-</m:mo><m:msup><m:mi>z</m:mi><m:mn>2</m:mn></m:msup></m:mrow><m:mn>2</m:mn></m:mfrac></m:mfenced></m:mrow><m:mrow><m:mi>d</m:mi><m:mi>z</m:mi></m:mrow></m:math></td><td class="formula2"/></tr></table></div>

The values of <m:math><m:mi>&#968;</m:mi>
<m:mfenced separators=""><m:mfrac other="display">
  <m:mrow><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:mrow><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:mfrac></m:mfenced>
<m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;are known as the Winsorized residuals.</div><div class="paramtext">The equations are solved by a simple iterative procedure, suggested by Huber:

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
<m:msub><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub><m:mo>=</m:mo><m:msqrt><m:mfrac><m:mn>1</m:mn><m:mrow><m:mi>&#946;</m:mi><m:mfenced separators=""><m:mi>n</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mfenced></m:mrow>
 </m:mfrac>
<m:mfenced separators=""><m:munderover><m:mo>&#8721;</m:mo><m:mrow><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow><m:mi>n</m:mi></m:munderover><m:mi>&#967;</m:mi>
<m:mfenced separators=""><m:mfrac><m:mrow><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:msub><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msub></m:mrow><m:msub><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msub></m:mfrac></m:mfenced>
</m:mfenced>
<m:msubsup><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow><m:mn>2</m:mn></m:msubsup></m:msqrt>
</m:math></td><td class="formula2"/></tr></table></div>

and

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
<m:msub><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub><m:mo>=</m:mo><m:msub><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo> <m:mn>1</m:mn></m:mrow></m:msub><m:mo>+</m:mo><m:mfrac other="small"><m:mn>1</m:mn><m:mi>n</m:mi></m:mfrac> <m:munderover><m:mo>&#8721;</m:mo><m:mrow><m:mi>i</m:mi><m:mo>=</m:mo> <m:mn>1</m:mn></m:mrow><m:mi>n</m:mi></m:munderover><m:mi>&#968;</m:mi>
<m:mfenced separators=""><m:mfrac><m:mrow><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:msub><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo> <m:mn>1</m:mn></m:mrow></m:msub></m:mrow><m:msub><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub></m:mfrac></m:mfenced>
<m:msub><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub>
</m:math></td><td class="formula2"/></tr></table></div>

or

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
<m:msub><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub><m:mo>=</m:mo><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub>
</m:math></td><td class="formula2"/></tr></table></div>

if <m:math><m:mi>&#963;</m:mi></m:math>&#160;is fixed.</div><div class="paramtext">The initial values for <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;and <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;may be user-supplied or calculated within <a class="rout" href="../G07/g07dbf.xml">G07DBF</a> as the sample median and an estimate of <m:math><m:mi>&#963;</m:mi></m:math>&#160;based on the median absolute deviation respectively.</div><div class="paramtext">G07DCF is based upon subroutine LYHALG within the ROBETH library, see <a class="ref" href="#ref415">Marazzi (1987)</a>.</div><h2 class="standard"><a class="sec" name="references" id="references"/>4&#160;&#160;References</h2><div class="paramtext"><a name="ref397" id="ref397"/>Hampel F R, Ronchetti E M, Rousseeuw P J and Stahel W A (1986)  <i>Robust Statistics. The Approach Based on Influence Functions</i> Wiley </div>
<div class="paramtext"><a name="ref398" id="ref398"/>Huber P J (1981)  <i>Robust Statistics</i> Wiley </div>
<div class="paramtext"><a name="ref415" id="ref415"/>Marazzi A (1987)  Subroutines for robust estimation of location and scale in ROBETH <i>Cah. Rech. Doc. IUMSP, No. 3 ROB 1</i> Institut Universitaire de M&#233;decine Sociale et Pr&#233;ventive, Lausanne </div><h2 class="standard"><a class="sec" name="parameters" id="parameters"/>5&#160;&#160;Parameters</h2>
<dl><dt class="paramhead"><a name="CHI" id="CHI"/>1: &#160;&#160;&#8194; CHI &#8211; <span class="bitalic">double precision</span> FUNCTION, supplied by the user.<span class="pclass">External Procedure</span></dt><dd><div class="paramtext"><a class="arg" href="#CHI">CHI</a> must return the value of the weight function <m:math><m:mi>&#967;</m:mi></m:math>&#160;for a given value of its argument. The value of <m:math><m:mi>&#967;</m:mi></m:math>&#160;must be non-negative.</div><div class="subprog">
<div class="paramtext">The specification of <a class="arg" href="#CHI">CHI</a> is:</div><table class="fspec"><tr><td class="tdfspec1"><b><i>double&#160;precision</i></b>&#160;FUNCTION&#160;CHI&#160;(</td><td class="tdfspec2"><a class="arg" href="../G07/g07dcf.xml#CHI_T">T</a>)</td></tr><tr><td class="tdfspec1"><b><i>double&#160;precision</i></b></td><td class="tdfspec2">T</td></tr></table>
<dl><dt class="paramhead"><a name="CHI_T" id="CHI_T"/>1: &#160;&#160;&#8194; T &#8211; <span class="bitalic">double precision</span><span class="pclass">Input</span></dt><dd><div class="paramtext"><i>On entry</i>: the argument for which <a class="arg" href="#CHI">CHI</a> must be evaluated.</div></dd></dl>
</div>
<div class="paramtext"><a class="arg" href="#CHI">CHI</a> must be declared as EXTERNAL in the (sub)program from which G07DCF is called. Parameters denoted as <span class="italic">Input</span>  must <b>not</b>  be changed by this procedure.</div>
</dd><dt class="paramhead"><a name="PSI" id="PSI"/>2: &#160;&#160;&#8194; PSI &#8211; <span class="bitalic">double precision</span> FUNCTION, supplied by the user.<span class="pclass">External Procedure</span></dt><dd><div class="paramtext"><a class="arg" href="#PSI">PSI</a> must return the value of the weight function <m:math><m:mi>&#968;</m:mi></m:math>&#160;for a given value of its argument.</div><div class="subprog">
<div class="paramtext">The specification of <a class="arg" href="#PSI">PSI</a> is:</div><table class="fspec"><tr><td class="tdfspec1"><b><i>double&#160;precision</i></b>&#160;FUNCTION&#160;PSI&#160;(</td><td class="tdfspec2"><a class="arg" href="../G07/g07dcf.xml#PSI_T">T</a>)</td></tr><tr><td class="tdfspec1"><b><i>double&#160;precision</i></b></td><td class="tdfspec2">T</td></tr></table>
<dl><dt class="paramhead"><a name="PSI_T" id="PSI_T"/>1: &#160;&#160;&#8194; T &#8211; <span class="bitalic">double precision</span><span class="pclass">Input</span></dt><dd><div class="paramtext"><i>On entry</i>: the argument for which <a class="arg" href="#PSI">PSI</a> must be evaluated.</div></dd></dl>
</div>
<div class="paramtext"><a class="arg" href="#PSI">PSI</a> must be declared as EXTERNAL in the (sub)program from which G07DCF is called. Parameters denoted as <span class="italic">Input</span>  must <b>not</b>  be changed by this procedure.</div>
</dd><dt class="paramhead"><a name="ISIGMA" id="ISIGMA"/>3: &#160;&#160;&#8194; ISIGMA &#8211; INTEGER<span class="pclass">Input</span></dt><dd><div class="paramtext"><i>On entry</i>: the value assigned to <a class="arg" href="#ISIGMA">ISIGMA</a> determines whether <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;is to be simultaneously estimated. 
<dl>
<dt class="paramval"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>=</m:mo><m:mn>0</m:mn></m:math></dt>
<dd>The estimation of <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;is bypassed and <a class="arg" href="#SIGMA">SIGMA</a> is set equal to <m:math><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>.</dd>
<dt class="paramval"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>=</m:mo><m:mn>1</m:mn></m:math></dt>
<dd><m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;is estimated simultaneously.</dd></dl>
</div></dd><dt class="paramhead"><a name="N" id="N"/>4: &#160;&#160;&#8194; N &#8211; INTEGER<span class="pclass">Input</span></dt><dd>
<div class="paramtext"><i>On entry</i>: 

<m:math><m:mi>n</m:mi></m:math>, the number of observations.</div>
<div class="paramtext"><i>Constraint</i>:
  <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#N"><m:mi mathcolor="#EE0000" mathvariant="bold">N</m:mi></m:maction><m:mo>&gt;</m:mo><m:mn>1</m:mn></m:math>.
</div></dd><dt class="paramhead"><a name="X" id="X"/>5: &#160;&#160;&#8194; X(<a class="arg" href="#N">N</a>) &#8211; <span class="bitalic">double precision</span> array<span class="pclass">Input</span></dt><dd>
<div class="paramtext"><i>On entry</i>: the vector of observations, <m:math><m:msub><m:mi>x</m:mi><m:mn>1</m:mn></m:msub><m:mo>,</m:mo><m:msub><m:mi>x</m:mi><m:mn>2</m:mn></m:msub><m:mo>,</m:mo><m:mo>&#8230;</m:mo><m:mo>,</m:mo><m:msub><m:mi>x</m:mi><m:mi>n</m:mi></m:msub></m:math>.</div></dd><dt class="paramhead"><a name="BETA" id="BETA"/>6: &#160;&#160;&#8194; BETA &#8211; <span class="bitalic">double precision</span><span class="pclass">Input</span></dt><dd><div class="paramtext"><i>On entry</i>: the value of the constant <m:math><m:mi>&#946;</m:mi></m:math>&#160;of the chosen <a class="arg" href="#CHI">CHI</a> function.</div><div class="paramtext"><i>Constraint</i>:
  <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#BETA"><m:mi mathcolor="#EE0000" mathvariant="bold">BETA</m:mi></m:maction><m:mo>&gt;</m:mo><m:mn>0.0</m:mn></m:math>.
</div></dd><dt class="paramhead"><a name="THETA" id="THETA"/>7: &#160;&#160;&#8194; THETA &#8211; <span class="bitalic">double precision</span><span class="pclass">Input/Output</span></dt><dd><div class="paramtext"><i>On entry</i>: if <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#SIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">SIGMA</m:mi></m:maction><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:math>, then <a class="arg" href="#THETA">THETA</a> must be set to the required starting value of the estimate of the location parameter <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>. A reasonable initial value for <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;will often be the sample mean or median.</div>
<div class="paramtext"><i>On exit</i>: the <m:math><m:mi>M</m:mi></m:math>-estimate of the location parameter <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>.</div></dd><dt class="paramhead"><a name="SIGMA" id="SIGMA"/>8: &#160;&#160;&#8194; SIGMA &#8211; <span class="bitalic">double precision</span><span class="pclass">Input/Output</span></dt><dd><div class="paramtext"><i>On entry</i>: the role of <a class="arg" href="#SIGMA">SIGMA</a> depends on the value assigned to <a class="arg" href="#ISIGMA">ISIGMA</a> as follows:
<ul class="listind"><li class="listind">if <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>=</m:mo><m:mn>1</m:mn></m:math>, <a class="arg" href="#SIGMA">SIGMA</a> must be assigned a value which determines the values of the starting points for the calculation of <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;and <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>. If <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#SIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">SIGMA</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>0.0</m:mn></m:math>, then G07DCF will determine the starting points of <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>&#160;and <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>. Otherwise, the value assigned to <a class="arg" href="#SIGMA">SIGMA</a> will be taken as the starting point for <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>, and <a class="arg" href="#THETA">THETA</a> must be assigned a relevant value before entry, see above;</li><li class="listind">if <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>=</m:mo><m:mn>0</m:mn></m:math>, <a class="arg" href="#SIGMA">SIGMA</a> must be assigned a value which determines the values of <m:math><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>, which is held fixed during the iterations, and the starting value for the calculation of <m:math><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover></m:math>. If <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#SIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">SIGMA</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>0</m:mn></m:math>, then G07DCF will determine the value of <m:math><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>&#160;as the median absolute deviation adjusted to reduce bias (see <a class="rout" href="../G07/g07daf.xml">G07DAF</a>) and the starting point for <m:math><m:mi>&#952;</m:mi></m:math>. Otherwise, the value assigned to <a class="arg" href="#SIGMA">SIGMA</a> will be taken as the value of <m:math><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>&#160;and <a class="arg" href="#THETA">THETA</a> must be assigned a relevant value before entry, see above.</li></ul>
</div>
<div class="paramtext"><i>On exit</i>: the <m:math><m:mi>M</m:mi></m:math>-estimate of the scale parameter <m:math><m:mover><m:mi>&#963;</m:mi><m:mo>^</m:mo></m:mover></m:math>, if <a class="arg" href="#ISIGMA">ISIGMA</a> was assigned the value <m:math><m:mn>1</m:mn></m:math>&#160;on entry, otherwise <a class="arg" href="#SIGMA">SIGMA</a> will contain the initial fixed value <m:math><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>.</div></dd><dt class="paramhead"><a name="MAXIT" id="MAXIT"/>9: &#160;&#160;&#8194; MAXIT &#8211; INTEGER<span class="pclass">Input</span></dt><dd>
<div class="paramtext"><i>On entry</i>: the maximum number of iterations that should be used during the estimation.</div><div class="paramtext"><i>Suggested value</i>:
  <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#MAXIT"><m:mi mathcolor="#EE0000" mathvariant="bold">MAXIT</m:mi></m:maction><m:mo>=</m:mo><m:mn>50</m:mn></m:math>.

</div>
<div class="paramtext"><i>Constraint</i>:
  <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#MAXIT"><m:mi mathcolor="#EE0000" mathvariant="bold">MAXIT</m:mi></m:maction><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:math>.
</div></dd><dt class="paramhead"><a name="TOL" id="TOL"/>10: &#8194; TOL &#8211; <span class="bitalic">double precision</span><span class="pclass">Input</span></dt><dd>
<div class="paramtext"><i>On entry</i>: the relative precision for the final estimates. Convergence is assumed when the increments for <a class="arg" href="#THETA">THETA</a>, and <a class="arg" href="#SIGMA">SIGMA</a> are less than <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#TOL"><m:mi mathcolor="#EE0000" mathvariant="bold">TOL</m:mi></m:maction><m:mo>&#215;</m:mo><m:mrow><m:mi>max</m:mi><m:mspace width="0.125em"/><m:mfenced separators=""><m:mn>1.0</m:mn><m:mo>,</m:mo><m:msub><m:mi>&#963;</m:mi><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msub></m:mfenced></m:mrow></m:math>.</div>
<div class="paramtext"><i>Constraint</i>:
  <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#TOL"><m:mi mathcolor="#EE0000" mathvariant="bold">TOL</m:mi></m:maction><m:mo>&gt;</m:mo><m:mn>0.0</m:mn></m:math>.
</div></dd><dt class="paramhead"><a name="RS" id="RS"/>11: &#8194; RS(<a class="arg" href="#N">N</a>) &#8211; <span class="bitalic">double precision</span> array<span class="pclass">Output</span></dt><dd>
<div class="paramtext"><i>On exit</i>: the Winsorized residuals.</div></dd><dt class="paramhead"><a name="NIT" id="NIT"/>12: &#8194; NIT &#8211; INTEGER<span class="pclass">Output</span></dt><dd>
<div class="paramtext"><i>On exit</i>: the number of iterations that were used during the estimation.</div></dd><dt class="paramhead"><a name="WRK" id="WRK"/>13: &#8194; WRK(<a class="arg" href="#N">N</a>) &#8211; <span class="bitalic">double precision</span> array<span class="pclass">Output</span></dt><dd>
<div class="paramtext"><i>On exit</i>: if <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#SIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">SIGMA</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>0.0</m:mn></m:math>&#160;on entry, <a class="arg" href="#WRK">WRK</a> will contain the <m:math><m:mi>n</m:mi></m:math>&#160;observations in ascending order.</div></dd><dt class="paramhead"><a name="IFAIL" id="IFAIL"/>14: &#8194; IFAIL &#8211; INTEGER<span class="pclass">Input/Output</span></dt><dd>
<div class="paramtext"><i>On entry</i>: <a class="arg" href="#IFAIL">IFAIL</a> must be set to <m:math><m:mn>0</m:mn></m:math>, <m:math><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow><m:mtext>&#8203; or &#8203;</m:mtext><m:mn>1</m:mn></m:math>. If you are unfamiliar with this parameter you should refer to <a class="sec" href="../GENINT/essint.xml#library3">Section 3.3</a> in  the Essential Introduction for details.</div>
<div class="paramtext"><i>On exit</i>: <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:maction actiontype="link" dsi:type="simple" dsi:href="#errors"><m:mn mathcolor="#003399" mathvariant="bold">0</m:mn></m:maction></m:math>&#160;unless the routine detects an error (see <a class="sec" href="#errors">Section 6</a>). <div class="paramtext">For environments where it might be inappropriate to halt program execution when an error is detected, the value <m:math><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow><m:mtext>&#8203; or &#8203;</m:mtext><m:mn>1</m:mn></m:math>&#160;is recommended.  If the output of error messages is undesirable, then the value <m:math><m:mn>1</m:mn></m:math>&#160;is recommended.  Otherwise, if you are not familiar with this parameter, the recommended value is <m:math><m:mn>0</m:mn></m:math>.  <b>When the value <m:math><m:mrow><m:mo>-</m:mo><m:mn mathvariant="bold">1</m:mn></m:mrow><m:mtext>&#8203; or &#8203;</m:mtext><m:mn mathvariant="bold">1</m:mn></m:math>&#160;is used it is essential to test the value of <a class="arg" href="#IFAIL">IFAIL</a> on exit.</b></div></div></dd></dl><h2 class="standard"><a class="sec" name="errors" id="errors"/>6&#160;&#160;Error Indicators and Warnings</h2>
<div class="paramtext">If on entry <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:maction actiontype="link" dsi:type="simple" dsi:href="#errors"><m:mn mathcolor="#003399" mathvariant="bold">0</m:mn></m:maction></m:math>&#160;or <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#errors"><m:mn mathcolor="#003399" mathvariant="bold">-1</m:mn></m:maction></m:math>, explanatory error messages are output on the current error message unit (as defined by <a class="rout" href="../X04/x04aaf.xml">X04AAF</a>).</div><div class="paramtext">Errors or warnings detected by the routine:</div>
<dl class="ifail">
<dt class="errorhead"><a name="IFeq1" id="IFeq1"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>1</m:mn></m:math></dt>
<dd>
<table class="ifail"><tr><td class="ifail1">On&#160;entry,</td><td class="ifail2-90"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#N"><m:mi mathcolor="#EE0000" mathvariant="bold">N</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>1</m:mn></m:math>,</td></tr><tr><td class="ifail1">or</td><td class="ifail2-90"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#MAXIT"><m:mi mathcolor="#EE0000" mathvariant="bold">MAXIT</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>0</m:mn></m:math>,</td></tr><tr><td class="ifail1">or</td><td class="ifail2-90"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#TOL"><m:mi mathcolor="#EE0000" mathvariant="bold">TOL</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>0.0</m:mn></m:math>,</td></tr><tr><td class="ifail1">or</td><td class="ifail2-90"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>&#8800;</m:mo><m:mn>0</m:mn></m:math>&#160;or <m:math><m:mn>1</m:mn></m:math>.</td></tr></table>
</dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq2" id="IFeq2"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>2</m:mn></m:math></dt>
<dd>
<table class="ifail"><tr><td class="ifail1">On&#160;entry,</td><td class="ifail2-90"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#BETA"><m:mi mathcolor="#EE0000" mathvariant="bold">BETA</m:mi></m:maction><m:mo>&#8804;</m:mo><m:mn>0.0</m:mn></m:math>.</td></tr></table>
</dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq3" id="IFeq3"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>3</m:mn></m:math></dt>
<dd>
<table class="ifail"><tr><td class="ifail1">On&#160;entry,</td><td class="ifail2-90">all elements of the input array <a class="arg" href="#X">X</a> are equal.</td></tr></table></dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq4" id="IFeq4"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>4</m:mn></m:math></dt>
<dd>
<div class="paramtext"><a class="arg" href="#SIGMA">SIGMA</a>, the current estimate of <m:math><m:mi>&#963;</m:mi></m:math>, is zero or negative. This error exit is very unlikely, although it may be caused by too large an initial value of <a class="arg" href="#SIGMA">SIGMA</a>.</div></dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq5" id="IFeq5"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>5</m:mn></m:math></dt>
<dd>
<div class="paramtext">The number of iterations required exceeds <a class="arg" href="#MAXIT">MAXIT</a>.</div></dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq6" id="IFeq6"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>6</m:mn></m:math></dt>
<dd>
<div class="paramtext">On completion of the iterations, the Winsorized residuals were all zero.  This may occur when using the <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>=</m:mo><m:mn>0</m:mn></m:math>&#160;option with a redescending <m:math><m:mi>&#968;</m:mi></m:math>&#160;function, i.e., <m:math><m:mi>&#968;</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:math>&#160;if <m:math><m:mfenced open="|" close="|" separators=""><m:mi>t</m:mi></m:mfenced><m:mo>&gt;</m:mo><m:mi>&#964;</m:mi></m:math>, for some positive constant <m:math><m:mi>&#964;</m:mi></m:math>.</div>
<div class="paramtext">If the given value of <m:math><m:mi>&#963;</m:mi></m:math>&#160;is too small, then the standardized residuals <m:math>
 <m:mfrac other="display">
  <m:mrow><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:msub><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub></m:mrow><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:mfrac>
</m:math>, will be large and all the residuals may fall into the region for which <m:math><m:mi>&#968;</m:mi><m:mfenced separators=""><m:mi>t</m:mi></m:mfenced><m:mo>=</m:mo><m:mn>0</m:mn></m:math>.  This may incorrectly terminate the iterations thus making <a class="arg" href="#THETA">THETA</a> and <a class="arg" href="#SIGMA">SIGMA</a> invalid.</div>
<div class="paramtext">Re-enter the routine with a larger value of <m:math><m:msub><m:mi>&#963;</m:mi><m:mi>c</m:mi></m:msub></m:math>&#160;or with <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#ISIGMA"><m:mi mathcolor="#EE0000" mathvariant="bold">ISIGMA</m:mi></m:maction><m:mo>=</m:mo><m:mn>1</m:mn></m:math>.</div>
</dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq7" id="IFeq7"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>7</m:mn></m:math></dt>
<dd>
<div class="paramtext">The value returned by the <a class="arg" href="#CHI">CHI</a> function is negative.</div>
</dd>
</dl><h2 class="standard"><a class="sec" name="accuracy" id="accuracy"/>7&#160;&#160;Accuracy</h2>
<div class="paramtext">On successful exit the accuracy of the results is related to the value of <a class="arg" href="#TOL">TOL</a>, see <a class="sec" href="#parameters">Section 5</a>.</div><h2 class="standard"><a class="sec" name="fcomments" id="fcomments"/>8&#160;&#160;Further Comments</h2>
<div class="paramtext">Standard forms of the functions <m:math><m:mi>&#968;</m:mi></m:math>&#160;and <m:math><m:mi>&#967;</m:mi></m:math>&#160;are given in <a class="ref" href="#ref397">Hampel <span class="italic">et al.</span> (1986)</a>, <a class="ref" href="#ref398">Huber (1981)</a> and <a class="ref" href="#ref415">Marazzi (1987)</a>.  <a class="rout" href="../G07/g07dbf.xml">G07DBF</a> calculates <m:math><m:mi>M</m:mi></m:math>-estimates using some standard forms for <m:math><m:mi>&#968;</m:mi></m:math>&#160;and <m:math><m:mi>&#967;</m:mi></m:math>.</div><div class="paramtext">When you supply the initial values, care has to be taken over the choice of the initial value of <m:math><m:mi>&#963;</m:mi></m:math>.  If too small a value is chosen then initial values of the standardized residuals <m:math>
 <m:mfrac other="display">
  <m:mrow><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>-</m:mo><m:msub><m:mover><m:mi>&#952;</m:mi><m:mo>^</m:mo></m:mover><m:mi>k</m:mi></m:msub></m:mrow><m:mi>&#963;</m:mi></m:mfrac>
</m:math>&#160;will be large.  If the redescending <m:math><m:mi>&#968;</m:mi></m:math>&#160;functions are used, i.e., <m:math><m:mi>&#968;</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:math>&#160;if <m:math><m:mfenced open="|" close="|" separators=""><m:mi>t</m:mi></m:mfenced><m:mo>&gt;</m:mo><m:mi>&#964;</m:mi></m:math>, for some positive constant <m:math><m:mi>&#964;</m:mi></m:math>, then these large values are Winsorized as zero.  If a sufficient number of the residuals fall into this category then a false solution may be returned, see page 152 of <a class="ref" href="#ref397">Hampel <span class="italic">et al.</span> (1986)</a>.</div><h2 class="standard"><a class="sec" name="example" id="example"/>9&#160;&#160;Example</h2>
<div class="paramtext">The following program reads in a set of data consisting of eleven observations of a variable <m:math><m:mi>X</m:mi></m:math>.</div><div class="paramtext">The <a class="arg" href="#PSI">PSI</a> and <a class="arg" href="#CHI">CHI</a> functions used are Hampel's Piecewise Linear Function and Hubers <a class="arg" href="#CHI">CHI</a> function respectively.</div><div class="paramtext">Using the following starting values various estimates of <m:math><m:mi>&#952;</m:mi></m:math>&#160;and <m:math><m:mi>&#963;</m:mi></m:math>&#160;are calculated and printed along with the number of iterations used:
<table class="standard-100"><tr>
<td style="width:2.1em;" valign="baseline">(a)</td>
<td valign="top">G07DCF determined the starting values, <m:math><m:mi>&#963;</m:mi></m:math>&#160;is estimated simultaneously.</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline">(b)</td>
<td valign="top">You must supply the starting values, <m:math><m:mi>&#963;</m:mi></m:math>&#160;is estimated simultaneously.</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline">(c)</td>
<td valign="top">G07DCF determined the starting values, <m:math><m:mi>&#963;</m:mi></m:math>&#160;is fixed.</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline">(d)</td>
<td valign="top">You must supply the starting values, <m:math><m:mi>&#963;</m:mi></m:math>&#160;is fixed.</td>
</tr></table>
</div><h3 class="standard"><a class="sec" name="examtext" id="examtext"/>9.1&#160;&#160;Program Text</h3>
<p><a class="verbatimref" href="../../examples/source/g07dcfe.f">Program Text (g07dcfe.f)</a></p><h3 class="standard"><a class="sec" name="examdata" id="examdata"/>9.2&#160;&#160;Program Data</h3>
<p><a class="verbatimref" href="../../examples/data/g07dcfe.d">Program&#160;Data (g07dcfe.d)</a></p><h3 class="standard"><a class="sec" name="examresults" id="examresults"/>9.3&#160;&#160;Program Results</h3>
<p><a class="verbatimref" href="../../examples/baseresults/g07dcfe.r">Program Results (g07dcfe.r)</a></p>
<hr/><div><a class="rout" href="../../pdf/G07/g07dcf.pdf">G07DCF (PDF version)</a></div><div><a class="chap" href="g07conts.xml">G07 Chapter Contents</a></div><div><a class="chapint" href="g07intro.xml">G07 Chapter Introduction</a></div>
<div><a class="htmltoc" href="../FRONTMATTER/manconts.xml">NAG Library Manual</a></div>
<div><hr/><a class="genint" href="../FRONTMATTER/copyright.xml">&#169; The Numerical Algorithms Group Ltd, Oxford, UK. 2009</a></div></body></html>
